Outline the design of a QoS manager to enable desktop computers connected by an ATM network to support several concurrent multimedia applications. Define an API for your QoS manager, giving the main operations with their parameters and results.
What will be an ideal response?
Each multimedia application requires a resource contract for each of its multimedia streams. Whenever a new stream is to be started, a request is made to the QoS manager specifying CPU resources, memory and network connections with their Flow Specs. The QoS manager performs an analysis similar to Figure 17.6 for each end- to-end stream. If several streams are required for a single application, there is a danger of deadlock – resources are allocated for some of the streams, but the needs of the remaining streams cannot be satisfied. When this happens, the QoS negotiation should abort and restart, but if the application is already running, this is impractical, so a negotiation takes place to reduce the resources of existing streams.
API:
QoSManager.QoSRequest(FlowID, FlowSpec) –> ResourceContract
The above is the basic interface to the QoS Manager. It reserves resources as specified in the FlowSpec and returns a corresponding ResourceContract.
A FlowSpec is a multi-valued object, similar to Figure 17.8.
A ResourceContract is a token that can be submitted to each of the resource handlers (CPU scheduler, memory manager, network driver, etc.).
Application.ScaleDownCallback(FlowID, FlowSpec) -> AcceptReject
The above is a callback from the QoS Manager to an application, requesting a change in the FlowSpec for a stream. The application can return a value indicating acceptance or rejection.
You might also like to view...
Input 10 last names, first names and ages, and write them to the file.
What will be an ideal response?
When you delete a button from a navigation form, make sure the button is selected with a(n) ________ border around it
Fill in the blank(s) with correct word
Assume a Web page contains the code seen in the accompanying figure, what would be returned by document.getElementsByName("committees");?
A. a single object B. the forms[] array C. an array of 3 elements D. an array of 1 element
The ____________________ encoding scheme takes 4 bits of data, converts the 4 bits into a unique 5-bit sequence, and encodes the 5 bits using NRZI.?
Fill in the blank(s) with the appropriate word(s).