Assgn 4 Report-2110110338
Assgn 4 Report-2110110338
Submitted By:
Muskan Kalra
2110110338
Introduction:
The Banker's Algorithm is a resource allocation and deadlock avoidance algorithm which tests
for safety by simulating the allocation for predetermined maximum possible amounts of all
resources, then makes an "s-state" check to test for possible activities before deciding whether
allocation should be allowed to continue.
Case1:
The system was tested with maximum resource requests equal to the current allocations, and no
available resources. This test was to confirm the algorithm's response in a case where all
processes have already acquired the maximum resources they require.
Case 2:
The system was evaluated with a configuration where available resources were insufficient to
satisfy any additional requests from the processes.