Login
Register
Dark Mode
Brightness
Profile
Edit Profile
Messages
My favorites
My Updates
Logout
Recent questions tagged galvin
0
votes
1
answer
1
Abraham Silberschatz, Greg Gagne, Peter B. Galvin - Operating System Concepts-Wiley (2018), PART TWO PROCESS MANAGEMENT, Chapter 5 CPU Scheduling, Pg. 202.
Please read below passage from 10th edition Operating System Concepts, pg. 202:5.1.3 Preemptive and Nonpreemptive SchedulingCPU-scheduling decisions may take place under ...
Nam14
514
views
Nam14
asked
Apr 5, 2023
Operating System
operating-system
process-synchronization
galvin
+
–
0
votes
0
answers
2
Galvin Edition 9 Exercise 11 Question 18 (Page No. 541)
Discuss the advantages and disadvantages of associating with remote file systems (stored on file servers) a set of failure semantics different from that associated with local file systems.
Discuss the advantages and disadvantages of associating with remotefile systems (stored on file servers) a set of failure semantics differentfrom that associated with loc...
ajaysoni1924
496
views
ajaysoni1924
asked
Mar 22, 2019
Operating System
operating-system
galvin
descriptive
file-system
+
–
0
votes
0
answers
3
Galvin Edition 9 Exercise 11 Question 17 (Page No. 540)
Some systems provide file sharing by maintaining a single copy of a file. Other systems maintain several copies, one for each of the users sharing the file. Discuss the relative merits of each approach
Some systems provide file sharing by maintaining a single copy of afile. Other systems maintain several copies, one for each of the userssharing the file. Discuss the rel...
ajaysoni1924
498
views
ajaysoni1924
asked
Mar 22, 2019
Operating System
operating-system
galvin
descriptive
file-system
+
–
0
votes
0
answers
4
Galvin Edition 9 Exercise 11 Question 16 (Page No. 540)
Discuss the advantages and disadvantages of supporting links to files that cross mount points (that is, the file link refers to a file that is stored in a different volume).
Discuss the advantages and disadvantages of supporting links to filesthat cross mount points (that is, the file link refers to a file that is storedin a different volume)...
ajaysoni1924
347
views
ajaysoni1924
asked
Mar 22, 2019
Operating System
operating-system
galvin
file-system
descriptive
+
–
0
votes
0
answers
5
Galvin Edition 9 Exercise 11 Question 15 (Page No. 540)
Give an example of an application that could benefit from operatingsystem support for random access to indexed files.
Give an example of an application that could benefit from operatingsystemsupport for random access to indexed files.
ajaysoni1924
333
views
ajaysoni1924
asked
Mar 22, 2019
Operating System
operating-system
galvin
descriptive
file-system
+
–
0
votes
1
answer
6
Galvin Edition 9 Exercise 11 Question 14 (Page No. 540)
If the operating system knew that a certain application was going to access file data in a sequential manner, how could it exploit this information to improve performance?
If the operating system knew that a certain application was goingto access file data in a sequential manner, how could it exploit thisinformation to improve performance?
ajaysoni1924
1.3k
views
ajaysoni1924
asked
Mar 22, 2019
Operating System
operating-system
galvin
io-system
descriptive
+
–
0
votes
0
answers
7
Galvin Edition 9 Exercise 11 Question 13 (Page No. 540)
Some systems automatically open a file when it is referenced for the first time and close the file when the job terminates. Discuss the advantages and disadvantages of this scheme compared with the more traditional one, where the user has to open and close the file explicitly
Some systems automatically open a file when it is referenced for the firsttime and close the file when the job terminates. Discuss the advantagesand disadvantages of this...
ajaysoni1924
228
views
ajaysoni1924
asked
Mar 22, 2019
Operating System
operating-system
galvin
io-system
descriptive
+
–
0
votes
0
answers
8
Galvin Edition 9 Exercise 11 Question 12 (Page No. 540)
Provide examples of applications that typically access files according to the following methods: • Sequential • Random
Provide examples of applications that typically access files accordingto the following methods:• Sequential• Random
ajaysoni1924
329
views
ajaysoni1924
asked
Mar 22, 2019
Operating System
operating-system
galvin
descriptive
file-system
+
–
0
votes
0
answers
9
Galvin Edition 9 Exercise 10 Question 23 (Page No. 501)
Discuss the reasons why the operating system might require accurate information on how blocks are stored on a disk. How could the operating system improve file-system performance with this knowledge ?
Discuss the reasons why the operating system might require accurate information on how blocks are stored on a disk. How could the operating system improve file-system per...
akash.dinkar12
441
views
akash.dinkar12
asked
Mar 22, 2019
Operating System
galvin
operating-system
file-system
disk
+
–
0
votes
0
answers
10
Galvin Edition 9 Exercise 10 Question 15 (Page No. 499-500)
Compare the performance of $C-SCAN$ and $SCAN$ scheduling, assuming a uniform distribution of requests. Consider the average response time (the time between the arrival of a request and the completion of that request's ... and the effective bandwidth. How does performance depend on the relative sizes of seek time and rotational latency ?
Compare the performance of $C-SCAN$ and $SCAN$ scheduling, assuming a uniform distribution of requests. Consider the average response time (the time between the arrival o...
akash.dinkar12
470
views
akash.dinkar12
asked
Mar 22, 2019
Operating System
galvin
operating-system
disk-scheduling
descriptive
+
–
0
votes
1
answer
11
Galvin Edition 9 Exercise 10 Question 11 (Page No. 498-499)
Suppose that a disk drive has $5,000$ cylinders, numbered $0$ to $4,999$. The drive is currently serving a request at cylinder $2,150$, and the previous request was at cylinder $1,805$. The queue of pending requests, in $FIFO$ ... disk-scheduling algorithms ? $a. FCFS$ $b. SSTF$ $c. SCAN$ $d. LOOK$ $e. C-SCAN$ $f. C-LOOK$
Suppose that a disk drive has $5,000$ cylinders, numbered $0$ to $4,999$. The drive is currently serving a request at cylinder $2,150$, and the previous request was at cy...
akash.dinkar12
626
views
akash.dinkar12
asked
Mar 22, 2019
Operating System
galvin
operating-system
disk-scheduling
descriptive
+
–
0
votes
0
answers
12
Galvin Edition 9 Exercise 10 Question 10 (Page No. 498)
Explain why $SSDs$(Solid State Drives) often use an $FCFS$ disk-scheduling algorithm.
Explain why $SSDs$(Solid State Drives) often use an $FCFS$ disk-scheduling algorithm.
akash.dinkar12
359
views
akash.dinkar12
asked
Mar 22, 2019
Operating System
galvin
operating-system
disk-scheduling
descriptive
+
–
0
votes
1
answer
13
Galvin Edition 9 Exercise 10 Question 9 (Page No. 498)
None of the disk-scheduling disciplines, except $FCFS$, is truly fair (starvation may occur). a. Explain why this assertion is true. b. Describe a way to modify algorithms such as $SCAN$ to ensure fairness. c. Explain why ... more examples of circumstances in which it is important that the operating system be unfair in serving $I/O$ requests.
None of the disk-scheduling disciplines, except $FCFS$, is truly fair (starvation may occur).a. Explain why this assertion is true.b. Describe a way to modify algorithms ...
akash.dinkar12
5.4k
views
akash.dinkar12
asked
Mar 22, 2019
Operating System
galvin
operating-system
disk-scheduling
descriptive
+
–
0
votes
0
answers
14
Galvin Edition 9 Exercise 10 Question 7 (Page No. 497-498)
It is sometimes said that tape is a sequential-access medium, whereas a magnetic disk is a random-access medium. In fact, the suitability of a storage device for random access depends on the transfer size. The term streaming transfer rate ... and tape. $f$. When is a tape a random-access device, and when is it a sequential-access device ?
It is sometimes said that tape is a sequential-access medium, whereas a magnetic disk is a random-access medium. In fact, the suitability of a storage device for random a...
akash.dinkar12
479
views
akash.dinkar12
asked
Mar 22, 2019
Operating System
galvin
operating-system
disk
descriptive
+
–
0
votes
1
answer
15
Galvin Edition 9 Exercise 10 Question 3 (Page No. 497)
Why is rotational latency usually not considered in disk scheduling ? How would you modify $SSTF$, $SCAN$, and $C-SCAN$ to include latency optimization ?
Why is rotational latency usually not considered in disk scheduling ? How would you modify $SSTF$, $SCAN$, and $C-SCAN$ to include latency optimization ?
akash.dinkar12
1.5k
views
akash.dinkar12
asked
Mar 22, 2019
Operating System
galvin
operating-system
disk-scheduling
descriptive
+
–
0
votes
0
answers
16
Galvin Edition 9 Exercise 10 Question 2 (Page No. 497)
Explain why $SSTF$ scheduling tends to favor middle cylinders over the innermost and outermost cylinders.
Explain why $SSTF$ scheduling tends to favor middle cylinders over the innermost and outermost cylinders.
akash.dinkar12
306
views
akash.dinkar12
asked
Mar 22, 2019
Operating System
galvin
operating-system
disk-scheduling
descriptive
+
–
0
votes
1
answer
17
Galvin Edition 9 Exercise 10 Question 1 (Page No. 497)
Is disk scheduling, other than $FCFS$ scheduling, useful in a single-user environment ? Explain your answer.
Is disk scheduling, other than $FCFS$ scheduling, useful in a single-user environment ? Explain your answer.
akash.dinkar12
1.9k
views
akash.dinkar12
asked
Mar 22, 2019
Operating System
galvin
operating-system
disk-scheduling
descriptive
+
–
1
votes
0
answers
18
Galvin Edition 9 Exercise 9 Question 38 (Page No. 456)
Consider a system that allocates pages of different sizes to its processes. What are the advantages of such a paging scheme ? What modifications to the virtual memory system provide this functionality ?
Consider a system that allocates pages of different sizes to its processes. What are the advantages of such a paging scheme ? What modifications to the virtual memory sys...
akash.dinkar12
712
views
akash.dinkar12
asked
Mar 22, 2019
Operating System
galvin
operating-system
memory-management
paging
+
–
0
votes
0
answers
19
Galvin Edition 9 Exercise 9 Question 37 (Page No. 456)
The slab-allocation algorithm uses a separate cache for each different object type. Assuming there is one cache per object type, explain why this scheme doesn’t scale well with multiple CPUs. What could be done to address this scalability issue?
The slab-allocation algorithm uses a separate cache for each different object type. Assuming there is one cache per object type, explain why this scheme doesn’t scale w...
akash.dinkar12
291
views
akash.dinkar12
asked
Mar 22, 2019
Operating System
galvin
operating-system
virtual-memory
descriptive
+
–
0
votes
2
answers
20
Galvin Edition 9 Exercise 9 Question 36 (Page No. 456)
A system provides support for user-level and kernel-level threads. The mapping in this system is one to one (there is a corresponding kernel thread for each user thread). Does a multithreaded process consist of $(a)$ a working set for the entire process or $(b)$ a working set for each thread ? Explain
A system provides support for user-level and kernel-level threads. The mapping in this system is one to one (there is a corresponding kernel thread for each user thread)....
akash.dinkar12
737
views
akash.dinkar12
asked
Mar 22, 2019
Operating System
galvin
operating-system
threads
descriptive
+
–
0
votes
1
answer
21
Galvin Edition 9 Exercise 9 Question 34 (Page No. 455)
Consider the parameter$\triangle$ used to define the working-set window in the working-set model. When $\triangle$ is set to a small value, what is the effect on the page-fault frequency and the number of active (non suspended) processes currently executing in the system ? What is the effect when $\triangle$ is set to a very high value ?
Consider the parameter$\triangle$ used to define the working-set window in the working-set model. When $\triangle$ is set to a small value, what is the effect on the page...
akash.dinkar12
1.2k
views
akash.dinkar12
asked
Mar 22, 2019
Operating System
galvin
operating-system
virtual-memory
descriptive
+
–
1
votes
1
answer
22
Galvin Edition 9 Exercise 9 Question 33 (Page No. 455)
Is it possible for a process to have two working sets, one representing data and another representing code ? Explain.
Is it possible for a process to have two working sets, one representing data and another representing code ? Explain.
akash.dinkar12
1.1k
views
akash.dinkar12
asked
Mar 22, 2019
Operating System
galvin
operating-system
virtual-memory
descriptive
+
–
0
votes
1
answer
23
Galvin Edition 9 Exercise 9 Question 32 (Page No. 455)
What is the cause of thrashing ? How does the system detect thrashing ? Once it detects thrashing, what can the system do to eliminate this problem ?
What is the cause of thrashing ? How does the system detect thrashing ? Once it detects thrashing, what can the system do to eliminate this problem ?
akash.dinkar12
4.9k
views
akash.dinkar12
asked
Mar 22, 2019
Operating System
galvin
operating-system
virtual-memory
descriptive
+
–
0
votes
0
answers
24
Galvin Edition 9 Exercise 9 Question 31 (Page No. 455)
Consider a demand-paging system with a paging disk that has an average access and transfer time of $20$ milliseconds. Addresses are translated through a page table in main memory, with an access time of $1$ microsecond per memory access. ... $10$ percent (or $2$ percent of the total) cause page faults. What is the effective memory access time?
Consider a demand-paging system with a paging disk that has an average access and transfer time of $20$ milliseconds. Addresses are translated through a page table in mai...
akash.dinkar12
507
views
akash.dinkar12
asked
Mar 22, 2019
Operating System
galvin
operating-system
virtual-memory
descriptive
+
–
1
votes
0
answers
25
Galvin Edition 9 Exercise 9 Question 30 (Page No. 455)
A page-replacement algorithm should minimize the number of page faults. We can achieve this minimization by distributing heavily used pages evenly over all of memory, rather than having them compete for a small number of page frames. ... faults for an optimal page replacement strategy for the reference string in part $b$ with four page frames?
A page-replacement algorithm should minimize the number of page faults. We can achieve this minimization by distributing heavily used pages evenly over all of memory, rat...
akash.dinkar12
842
views
akash.dinkar12
asked
Mar 22, 2019
Operating System
galvin
operating-system
virtual-memory
descriptive
+
–
0
votes
0
answers
26
Galvin Edition 9 Exercise 11 Question 11 (Page No. 540)
What are the advantages and disadvantages of providing mandatory locks instead of advisory locks whose use is left to users’ discretion?
What are the advantages and disadvantages of providing mandatorylocks instead of advisory locks whose use is left to users’ discretion?
ajaysoni1924
417
views
ajaysoni1924
asked
Mar 22, 2019
Operating System
operating-system
galvin
descriptive
file-system
+
–
0
votes
0
answers
27
Galvin Edition 9 Exercise 11 Question 10 (Page No. 540)
The open-file table is used to maintain information about files that are currently open. Should the operating system maintain a separate table for each user or maintain just one table that contains references to files that are ... accessed by two different programs or users, should there be separate entries in the open-file table? Explain.
The open-file table is used to maintain information about files that arecurrently open. Should the operating system maintain a separate tablefor each user or maintain jus...
ajaysoni1924
367
views
ajaysoni1924
asked
Mar 22, 2019
Operating System
operating-system
galvin
descriptive
file-system
+
–
0
votes
0
answers
28
Galvin Edition 9 Exercise 11 Question 9 (Page No. 540)
Consider a file system in which a file can be deleted and its disk space reclaimed while links to that file still exist.What problems may occur if a new file is created in the same storage area or with the same absolute path name? How can these problems be avoided?
Consider a file system in which a file can be deleted and its disk spacereclaimed while links to that file still exist.What problems may occur ifa new file is created in ...
ajaysoni1924
459
views
ajaysoni1924
asked
Mar 22, 2019
Operating System
operating-system
galvin
descriptive
file-system
+
–
0
votes
0
answers
29
Galvin Edition 9 Exercise 11 Question 8 (Page No. 539)
Researchers have suggested that, instead of having an access list associated with each file (specifying which users can access the file, and how), we should have a user control list associated with each user (specifying which files a user can access, and how). Discuss the relative merits of these two schemes.
Researchers have suggested that, instead of having an access listassociated with each file (specifying which users can access the file,and how), we should have a user con...
ajaysoni1924
345
views
ajaysoni1924
asked
Mar 22, 2019
Operating System
operating-system
galvin
descriptive
file-system
+
–
0
votes
0
answers
30
Galvin Edition 9 Exercise 11 Question 7 (Page No. 539)
Consider a system that supports 5,000 users. Suppose that you want to allow 4,990 of these users to be able to access one file. a. How would you specify this protection scheme in UNIX? b. Can you suggest another protection scheme that can be used more effectively for this purpose than the scheme provided by UNIX?
Consider a system that supports 5,000 users. Suppose that you want toallow 4,990 of these users to be able to access one file.a. How would you specify this protection sch...
ajaysoni1924
299
views
ajaysoni1924
asked
Mar 22, 2019
Operating System
operating-system
galvin
descriptive
file-system
+
–
Page:
1
2
3
4
5
6
...
10
next »
Email or Username
Show
Hide
Password
I forgot my password
Remember
Log in
Register