- Section 8.10
And… that’s it! We’re skipping 8.6 (which I would have liked to assign) and 8.9 (which is not as important).
And… that’s it! We’re skipping 8.6 (which I would have liked to assign) and 8.9 (which is not as important).
Two readings, I know. Sorry! Then again, it is a full week between the classes!
(VERY IMPORTANT note on all but 8.5: http://goo.gl/CjHH.)
Here’s the PDF of the 2015/03/27 notes.
PDF document: Assignment #7
Due Wednesday 2015/04/08 at 5PM in our submission box (#32). NOTE THE UNUSUAL DUE DATE!
This problem is based on 8.4 from the Kleinberg and Tardos textbook.
Suppose you’re consulting for a group that manages a high-performance real-time system in which asynchronous processes make use of shared resources. Thus, the system has a set of n processes and a set of m resources. Each process specifies a set of resources that it requests to use. Each resource might be requested by many processes at once, but it can only be used by a single process at a time.
Your job is to allocate resources to processes that request them. If a process is allocated all the resources it requests, then it is active; otherwise, it is blocked. You want to perform the allocation so that as many processes as possible are active.
Thus, we phrase the Resource Reservation Problem (RR) as follows: Given a set of processes and resources, the set of requested resources for each process, and a number k, is it possible to allocate resources to processes so that at least k processes will be active?