Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

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 algorithm

Explanation / 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.

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote