Each client requests multiple cpu and io bursts from the


Design and write the client and server programs necessary to provide a multiple client CPU scheduler that handles CPU bursts and I/O bursts. Clients represent processes that are already in the Ready state and are contending with each other for the CPU. The CPU scheduler determines the next process to get the CPU. An I/O scheduler determines the next process to do I/O. Your server will manipulate the Ready state using a Round Robin scheduler, and will manipulate the I/O queue using a FCFS scheduler.

Clients send a private FIFO name and a sequence of CPU bursts and I/O bursts to the server's FIFO. The bursts will represent how long a client needs to use the CPU and how long a client needs to do I/O, respectively. A real client's program would consist of alternating CPU instructions and I/O instructions. So, now your clients will send an array of alternating CPU and I/O bursts in the form of (CPU burst, I/O burst, CPU burst, ... CPU burst). The array always consists of an odd number of values because it always ends in a CPU burst.

Each client requests multiple CPU and I/O bursts from the keyboard. This information and the private FIFO are sent to the server through a common FIFO. The server responds to each client using private FIFOs.

Attachment:- ASSIGNMENT.rar

Solution Preview :

Prepared by a verified Expert
Data Structure & Algorithms: Each client requests multiple cpu and io bursts from the
Reference No:- TGS0664454

Now Priced at $40 (50% Discount)

Recommended (92%)

Rated (4.4/5)