Will a deadlock be possible? If yes. how to prevent the deadlock without change
ID: 3769638 • Letter: W
Question
Will a deadlock be possible? If yes. how to prevent the deadlock without change the nature of the problem Virtual Memory A computer system is in the Thrashing state: CPU utilization: 20% Virtual Memory swapping pages: 98% Other I/O: 5%. Which of the following will improve CPU utilization? Install Fast CPU. Increase virtual memory size. run more programs stop several programs that are running Install More RAM Install faster hard drive Add cache memory Increase page size Install larger hard drive Install multiple hard drive and use all of them use better page replacement algorithmExplanation / Answer
Install a faster CPU - This will likely have no effect. The limiting factor is available memory per program.
Increase the page size :-This will increase CPU utilization because spatial locality will reduce the number of page faults. This comes at the cost of more internal fragmentation. If taken too far, can reduce the number of programs that can have a working set in memory
install larger hard drive or multiple hard drive :- This will decrease the time spent waiting for pages to be brought in so it’ll increase responsiveness of the system, but since the CPU context switches to other programs anyway, this might not increase CPU utilization that much, if at all. It’s possible that the faster page retrieval limits the number of context switches but, thrashing will still be occuring.
replacing algorithm :- This is increase CPU utilization by avoiding page faults by having the pages pulled into memory before they’re needed.
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.