Caused recovery from deadlock process termination

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: ermination Abort all deadlocked Abort processes. processes. Abort one process at Abort a time until the deadlock cycle is eliminated. eliminated. In which order should In we choose to abort? we Deadlocks Priority of the Priority process. process. How long process has How computed, and how much longer to completion. longer Resources the process has Resources used. used. Resources process needs to Resources complete. complete. How many processes will How need to be terminated. Is process interactive or Is batch? batch? Recovery from Deadlock: Resource Recovery Preemption Preemption Rollback – return to some safe state, Rollback restart process for that state. restart Deadlocks Selecting a victim – minimize cost. Starvation – same process may always Starvation be picked as victim, include number of rollback in cost factor. rollback...
View Full Document

This document was uploaded on 10/07/2013.

Ask a homework question - tutors are online