Login
Register
Dark Mode
Brightness
Profile
Edit Profile
Messages
My favorites
My Updates
Logout
Recent questions tagged input-output
2
votes
1
answer
31
Andrew S. Tanenbaum (OS) Edition 4 Exercise 5 Question 37 (Page No. 432)
The clock interrupt handler on a certain computer requires $2\: msec$ (including process switching overhead) per clock tick. The clock runs at $60\: Hz.$ What fraction of the CPU is devoted to the clock?
The clock interrupt handler on a certain computer requires $2\: msec$ (including process switching overhead) per clock tick. The clock runs at $60\: Hz.$ What fraction of...
admin
1.6k
views
admin
asked
Oct 28, 2019
Operating System
tanenbaum
operating-system
input-output
interrupts
descriptive
+
–
0
votes
0
answers
32
Andrew S. Tanenbaum (OS) Edition 4 Exercise 5 Question 36 (Page No. 432)
In the discussion on stable storage, a key assumption is that a CPU crash that corrupts a sector leads to an incorrect ECC. What problems might arise in the five crash-recovery scenarios shown in Figure 5-27 if this assumption does not hold?
In the discussion on stable storage, a key assumption is that a CPU crash that corrupts a sector leads to an incorrect ECC. What problems might arise in the five crash-re...
admin
289
views
admin
asked
Oct 28, 2019
Operating System
tanenbaum
operating-system
input-output
disk
descriptive
+
–
0
votes
0
answers
33
Andrew S. Tanenbaum (OS) Edition 4 Exercise 5 Question 35 (Page No. 432)
In the discussion on stable storage, it was shown that the disk can be recovered to a consistent state (a write either completes or does not take place at all) if a CPU crash occurs during a write. Does this property hold if the CPU crashes again during a recovery procedure. Explain your answer.
In the discussion on stable storage, it was shown that the disk can be recovered to a consistent state (a write either completes or does not take place at all) if a CPU c...
admin
298
views
admin
asked
Oct 28, 2019
Operating System
tanenbaum
operating-system
input-output
disk
descriptive
+
–
0
votes
0
answers
34
Andrew S. Tanenbaum (OS) Edition 4 Exercise 5 Question 34 (Page No. 432)
In the discussion of stable storage using nonvolatile RAM, the following point was glossed over. What happens if the stable write completes but a crash occurs before the operating system can write an invalid block ... in the nonvolatile RAM? Does this race condition ruin the abstraction of stable storage? Explain your answer.
In the discussion of stable storage using nonvolatile RAM, the following point was glossed over. What happens if the stable write completes but a crash occurs before the ...
admin
180
views
admin
asked
Oct 28, 2019
Operating System
tanenbaum
operating-system
input-output
disk
descriptive
+
–
0
votes
0
answers
35
Andrew S. Tanenbaum (OS) Edition 4 Exercise 5 Question 33 (Page No. 432)
A personal computer salesman visiting a university in South-West Amsterdam remarked during his sales pitch that his company had devoted substantial effort to making their version of UNIX very fast. As an example, he ... measured was identical to what would be expected from first-come, first-served. Was the salesman lying?
A personal computer salesman visiting a university in South-West Amsterdam remarked during his sales pitch that his company had devoted substantial effort to making their...
admin
527
views
admin
asked
Oct 28, 2019
Operating System
tanenbaum
operating-system
input-output
unix
disk
descriptive
+
–
0
votes
1
answer
36
Andrew S. Tanenbaum (OS) Edition 4 Exercise 5 Question 32 (Page No. 432)
A slight modification of the elevator algorithm for scheduling disk requests is to always scan in the same direction. In what respect is this modified algorithm better than the elevator algorithm?
A slight modification of the elevator algorithm for scheduling disk requests is to always scan in the same direction. In what respect is this modified algorithm better th...
admin
842
views
admin
asked
Oct 28, 2019
Operating System
tanenbaum
operating-system
input-output
disk-scheduling
descriptive
+
–
1
votes
1
answer
37
Andrew S. Tanenbaum (OS) Edition 4 Exercise 5 Question 31 (Page No. 432)
Disk requests come in to the disk driver for cylinders $10, 22, 20, 2, 40, 6,$ and $38,$ in that order. A seek takes $6\: msec$ per cylinder. How much seek time is needed for First-come, first served. Closest cylinder next. Elevator algorithm (initially moving upward). In all cases, the arm is initially at cylinder 20.
Disk requests come in to the disk driver for cylinders $10, 22, 20, 2, 40, 6,$ and $38,$ in that order. A seek takes $6\: msec$ per cylinder. How much seek time is needed...
admin
2.0k
views
admin
asked
Oct 28, 2019
Operating System
tanenbaum
operating-system
input-output
disk
disk-scheduling
descriptive
+
–
0
votes
0
answers
38
Andrew S. Tanenbaum (OS) Edition 4 Exercise 5 Question 30 (Page No. 432)
A computer manufacturer decides to redesign the partition table of a Pentium hard disk to provide more than four partitions. What are some consequences of this change?
A computer manufacturer decides to redesign the partition table of a Pentium hard disk to provide more than four partitions. What are some consequences of this change?
admin
346
views
admin
asked
Oct 28, 2019
Operating System
tanenbaum
operating-system
input-output
disk
descriptive
+
–
0
votes
0
answers
39
Andrew S. Tanenbaum (OS) Edition 4 Exercise 5 Question 29 (Page No. 432)
A disk manufacturer has two $5.25$-inch disks that each have $10,000$ cylinders. The newer one has double the linear recording density of the older one. Which disk properties are better on the newer drive and which are the same? Are any worse on the newer one?
A disk manufacturer has two $5.25$-inch disks that each have $10,000$ cylinders. The newer one has double the linear recording density of the older one. Which disk proper...
admin
214
views
admin
asked
Oct 28, 2019
Operating System
tanenbaum
operating-system
input-output
disk
cylinders
descriptive
+
–
0
votes
1
answer
40
Andrew S. Tanenbaum (OS) Edition 4 Exercise 5 Question 28 (Page No. 431)
Consider a magnetic disk consisting of $16$ heads and $400$ cylinders. This disk has four $100$-cylinder zones with the cylinders in different zones containing $160, 200, 240.$ and $280$ sectors, respectively. ... disk rotates at $7200$ RPM. Calculate the disk capacity, optimal track skew, and maximum data transfer rate.
Consider a magnetic disk consisting of $16$ heads and $400$ cylinders. This disk has four $100$-cylinder zones with the cylinders in different zones containing $160, 200,...
admin
3.0k
views
admin
asked
Oct 28, 2019
Operating System
tanenbaum
operating-system
input-output
disk
cylinders
descriptive
+
–
0
votes
1
answer
41
Andrew S. Tanenbaum (OS) Edition 4 Exercise 5 Question 27 (Page No. 431)
If a disk has double interleaving, does it also need cylinder skew in order to avoid missing data when making a track-to-track seek? Discuss your answer.
If a disk has double interleaving, does it also need cylinder skew in order to avoid missing data when making a track-to-track seek? Discuss your answer.
admin
750
views
admin
asked
Oct 28, 2019
Operating System
tanenbaum
operating-system
input-output
disk
descriptive
+
–
0
votes
1
answer
42
Andrew S. Tanenbaum (OS) Edition 4 Exercise 5 Question 26 (Page No. 431)
If a disk controller writes the bytes it receives from the disk to memory as fast as it receives them, with no internal buffering, is interleaving conceivably useful? Discuss your answer.
If a disk controller writes the bytes it receives from the disk to memory as fast as it receives them, with no internal buffering, is interleaving conceivably useful? Dis...
admin
436
views
admin
asked
Oct 28, 2019
Operating System
tanenbaum
operating-system
input-output
disk-controller
descriptive
+
–
0
votes
0
answers
43
Andrew S. Tanenbaum (OS) Edition 4 Exercise 5 Question 25 (Page No. 431)
What are the advantages and disadvantages of optical disks versus magnetic disks?
What are the advantages and disadvantages of optical disks versus magnetic disks?
admin
349
views
admin
asked
Oct 28, 2019
Operating System
tanenbaum
operating-system
input-output
disk
descriptive
+
–
0
votes
0
answers
44
Andrew S. Tanenbaum (OS) Edition 4 Exercise 5 Question 24 (Page No. 431)
Why are optical storage devices inherently capable of higher data density than magnetic storage devices? Note: This problem requires some knowledge of high-school physics and how magnetic fields are generated.
Why are optical storage devices inherently capable of higher data density than magnetic storage devices? Note: This problem requires some knowledge of high-school physics...
admin
214
views
admin
asked
Oct 28, 2019
Operating System
tanenbaum
operating-system
input-output
disk
descriptive
+
–
0
votes
1
answer
45
Andrew S. Tanenbaum (OS) Edition 4 Exercise 5 Question 23 (Page No. 431)
How many pebibytes are there in a zebibyte?
How many pebibytes are there in a zebibyte?
admin
191
views
admin
asked
Oct 28, 2019
Operating System
tanenbaum
operating-system
input-output
easy
descriptive
+
–
0
votes
0
answers
46
Andrew S. Tanenbaum (OS) Edition 4 Exercise 5 Question 22 (Page No. 431)
Compare RAID level $0$ through $5$ with respect to read performance, write performance, space overhead, and reliability.
Compare RAID level $0$ through $5$ with respect to read performance, write performance, space overhead, and reliability.
admin
308
views
admin
asked
Oct 28, 2019
Operating System
tanenbaum
operating-system
input-output
disk
descriptive
+
–
0
votes
1
answer
47
Andrew S. Tanenbaum (OS) Edition 4 Exercise 5 Question 21 (Page No. 431)
A RAID can fail if two or more of its drives crash within a short time interval. Suppose that the probability of one drive crashing in a given hour is $p.$ What is the probability of a $k$-drive RAID failing in a given hour?
A RAID can fail if two or more of its drives crash within a short time interval. Suppose that the probability of one drive crashing in a given hour is $p.$ What is the pr...
admin
1.2k
views
admin
asked
Oct 28, 2019
Operating System
tanenbaum
operating-system
input-output
disk
descriptive
+
–
0
votes
0
answers
48
Andrew S. Tanenbaum (OS) Edition 4 Exercise 5 Question 20 (Page No. 431)
RAID level $3$ is able to correct single-bit errors using only one parity drive. What is the point of RAID level $2$? After all, it also can only correct one error and takes more drives to do so.
RAID level $3$ is able to correct single-bit errors using only one parity drive. What is the point of RAID level $2$? After all, it also can only correct one error and ta...
admin
264
views
admin
asked
Oct 28, 2019
Operating System
tanenbaum
operating-system
input-output
disk
descriptive
+
–
0
votes
1
answer
49
Andrew S. Tanenbaum (OS) Edition 4 Exercise 5 Question 19 (Page No. 431)
Calculate the maximum data rate in bytes/sec for the disk described in the previous problem.
Calculate the maximum data rate in bytes/sec for the disk described in the previous problem.
admin
353
views
admin
asked
Oct 28, 2019
Operating System
tanenbaum
operating-system
input-output
disk
descriptive
+
–
0
votes
1
answer
50
Andrew S. Tanenbaum (OS) Edition 4 Exercise 5 Question 18 (Page No. 431)
A disk rotates at $7200$ RPM. It has $500$ sectors of $512$ bytes around the outer cylinder. How long does it take to read a sector?
A disk rotates at $7200$ RPM. It has $500$ sectors of $512$ bytes around the outer cylinder. How long does it take to read a sector?
admin
1.5k
views
admin
asked
Oct 28, 2019
Operating System
tanenbaum
operating-system
input-output
disk
descriptive
+
–
0
votes
1
answer
51
Andrew S. Tanenbaum (OS) Edition 4 Exercise 5 Question 17 (Page No. 431)
How much cylinder skew is needed for a $7200$-RPM disk with a track-to-track seek time of $1\: msec$? The disk has $200$ sectors of $512$ bytes each on each track.
How much cylinder skew is needed for a $7200$-RPM disk with a track-to-track seek time of $1\: msec$? The disk has $200$ sectors of $512$ bytes each on each track.
admin
2.8k
views
admin
asked
Oct 28, 2019
Operating System
tanenbaum
operating-system
input-output
disk
descriptive
+
–
0
votes
1
answer
52
Andrew S. Tanenbaum (OS) Edition 4 Exercise 5 Question 16 (Page No. 431)
Why are output files for the printer normally spooled on disk before being printed?
Why are output files for the printer normally spooled on disk before being printed?
admin
660
views
admin
asked
Oct 28, 2019
Operating System
tanenbaum
operating-system
input-output
disk
descriptive
+
–
0
votes
0
answers
53
Andrew S. Tanenbaum (OS) Edition 4 Exercise 5 Question 15 (Page No. 430 - 431)
A local area network is used as follows. The user issues a system call to write data packets to the network. The operating system then copies the data to a kernel buffer. Then it copies the data to the network ... back. For simplicity, assume that the time to get the acknowledgement back is so small it can be ignored.
A local area network is used as follows. The user issues a system call to write data packets to the network. The operating system then copies the data to a kernel buffer....
admin
231
views
admin
asked
Oct 28, 2019
Operating System
tanenbaum
operating-system
input-output
descriptive
+
–
0
votes
1
answer
54
Andrew S. Tanenbaum (OS) Edition 4 Exercise 5 Question 14 (Page No. 430)
In which of the four I/O software layers is each of the following done. Computing the track, sector, and head for a disk read. Writing commands to the device registers. Checking to see if the user is permitted to use the device. Converting binary integers to ASCII for printing.
In which of the four I/O software layers is each of the following done.Computing the track, sector, and head for a disk read.Writing commands to the device registers.Chec...
admin
1.6k
views
admin
asked
Oct 28, 2019
Operating System
tanenbaum
operating-system
input-output
disk
descriptive
+
–
0
votes
0
answers
55
Andrew S. Tanenbaum (OS) Edition 4 Exercise 5 Question 13 (Page No. 430)
Explain how an OS can facilitate installation of a new device without any need for recompiling the OS.
Explain how an OS can facilitate installation of a new device without any need for recompiling the OS.
admin
195
views
admin
asked
Oct 28, 2019
Operating System
tanenbaum
operating-system
input-output
descriptive
+
–
0
votes
0
answers
56
Andrew S. Tanenbaum (OS) Edition 4 Exercise 5 Question 12 (Page No. 430)
A typical printed page of text contains $50$ lines of $80$ characters each. Imagine that a certain printer can print $6$ pages per minute and that the time to write a character to the printer's output register is so ... -driven I/O if each character printed requires an interrupt that takes $50\: \mu sec$ all-in to service?
A typical printed page of text contains $50$ lines of $80$ characters each. Imagine that a certain printer can print $6$ pages per minute and that the time to write a cha...
admin
627
views
admin
asked
Oct 28, 2019
Operating System
tanenbaum
operating-system
input-output
interrupt-driven
descriptive
+
–
0
votes
0
answers
57
Andrew S. Tanenbaum (OS) Edition 4 Exercise 5 Question 11 (Page No. 430)
A computer has a three-stage pipeline as shown in Fig. 1-7(a). On each clock cycle, one new instruction is fetched from memory at the address pointed to by the PC and put into the pipeline and ... instruction of the interrupt handler is fetched into the pipeline. Does this machine have precise interrupts? Defend your answer.
A computer has a three-stage pipeline as shown in Fig. 1-7(a). On each clock cycle, one new instruction is fetched from memory at the address pointed to by the PC and put...
admin
850
views
admin
asked
Oct 28, 2019
CO and Architecture
tanenbaum
operating-system
input-output
pipelining
interrupts
descriptive
+
–
1
votes
0
answers
58
Andrew S. Tanenbaum (OS) Edition 4 Exercise 5 Question 10 (Page No. 430)
In Fig. 5-9(b), the interrupt is not acknowledged until after the next character has been output to the printer. Could it have equally well been acknowledged right at the start of the interrupt service procedure? If so, give one reason for doing it at the end, as in the text. If not, why not?
In Fig. 5-9(b), the interrupt is not acknowledged until after the next character has been output to the printer. Could it have equally well been acknowledged right at the...
admin
435
views
admin
asked
Oct 28, 2019
Operating System
tanenbaum
operating-system
input-output
interrupts
descriptive
+
–
2
votes
0
answers
59
Andrew S. Tanenbaum (OS) Edition 4 Exercise 5 Question 9 (Page No. 430)
CPU architects know that operating system writers hate imprecise interrupts. One way to please the OS folks is for the CPU to stop issuing new instructions when an interrupt is signaled, but allow all the ... executed to finish, then force the interrupt. Does this approach have any disadvantages? Explain your answer.
CPU architects know that operating system writers hate imprecise interrupts. One way to please the OS folks is for the CPU to stop issuing new instructions when an interr...
admin
424
views
admin
asked
Oct 28, 2019
Operating System
tanenbaum
operating-system
input-output
interrupts
descriptive
+
–
2
votes
1
answer
60
Andrew S. Tanenbaum (OS) Edition 4 Exercise 5 Question 8 (Page No. 430)
Suppose that a computer can read or write a memory word in $5 nsec.$ Also suppose that when an interrupt occurs, all $32$ CPU registers, plus the program counter and PSW are pushed onto the stack. What is the maximum number of interrupts per second this machine can process?
Suppose that a computer can read or write a memory word in $5 nsec.$ Also suppose that when an interrupt occurs, all $32$ CPU registers, plus the program counter and PSW ...
admin
431
views
admin
asked
Oct 28, 2019
Operating System
tanenbaum
operating-system
input-output
interrupts
descriptive
+
–
Page:
« prev
1
2
3
next »
Email or Username
Show
Hide
Password
I forgot my password
Remember
Log in
Register