Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask Computer Engineering Expert

Create a server process that acts as a multiple client CPU scheduler that handles CPU 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. The server will manipulate the Ready state using a Round-Robin scheduler.

Clients send a private FIFO name, a CPU burst, and an arrival time to the server's FIFO.

Each client sends the server a request consisting of a CPU burst, an arrival time that the client inputs from the keyboard, and the private FIFO name. This information is sent to the server through the common FIFO, and the server responds to each client using that client's private FIFO. (At this point, it does not matter whether the client or the server creates the private FIFO.)

Prepare your own test data. On paper, work through your data showing Gantt charts, CPU utilization, and turnaround times. Use these same values for testing your program.

The server:
After the server has received data from all of the clients, it will start the CPU scheduler that assigns the various client processes to the CPU. The server begins at time zero and can be asked for the number of clients before the process begins. The server prints out CPU utilization, average turnaround time, and average waiting time (how long the process is in the Ready state) for the set of data.

The clients:
The client programs receive a CPU burst and arrival time as integer values from the keyboard (or you may send them via command line, if you wish) and send them to the server. After the server has processed the client data, clients will read their individual time spent in the Ready Queue and turnaround time from the server. Each client will only run once. Upon completion, clients will disconnect.

What to turn in:
-Your .c files, zipped and submitted through Blackboard.
-A hardcopy of your documented source code listing that follows the Programming Guidelines.
-Gantt charts which show results of your data. These may be hand-drawn, or computer-generated.
-Input values and Output values with recorded sessions for running the programs once with a time quantum greater than or equal to the maximum CPU burst size, and once with a time quantum less than the maximum CPU burst size.
-An estimate and an actual time spent in each of the following phases: design, implementation and testing.
-Include a ReadMe that clearly shows the steps for executing your programs.

Late Programs: Programs are due at the beginning of class on the due date. They are considered late when class begins. They will be accepted up to two days late and will have 20 points deducted per day. A day is 24 hours. Turn the late programs in to me. 

Computer Engineering, Engineering

  • Category:- Computer Engineering
  • Reference No.:- M9896408
  • Price:- $50

Priced at Now at $50, Verified Solution

Have any Question?


Related Questions in Computer Engineering

Sectuon 112 build draw binary search tree with the names

Sectuon 11.2: Build draw binary search tree with the names Doc, Grumpy, Happy, Sleepy, a Bashful, Sneezy, Dopey, inserted in the order provided here. Assume that, on future searche of this tree, each name is equally like ...

Risk management software is a critical application that

Risk management software is a critical application that businesses use to gain insight on how risk drivers can impact a project and business. For this research assignment, you will do an internet search for "risk managem ...

Question suppose a computer using direct mapped cache has

Question : Suppose a computer using direct mapped cache has 2 20 words of main memory and a cache of 32 blocks, where each cache block contains 16 words. a. How many blocks of main memory are there? b. What is the format ...

Discuss why a financial services organization would benefit

Discuss why a financial services organization would benefit from using one framework over another (COSO, COBIT,) -- choose a framework or frameworks that in your opinion would be most ideally suited for such an organizat ...

An oil company determines it costs 25000 to sink a test

An oil company determines it costs $25,000 to sink a test well, an oil hit yields a net revenue of $475,000($500,000 gross-$25,000costs), and a natural gas hit yields $125,000 net revenue ($150,000 gross-$25,000 costs). ...

Answer the following question -whats the difference between

Answer the following Question : -What's the difference between Anthropomorphic design and Non anthropomorphic design -What are the speech and auditory devices ? -What's the synchronous distribution ?

What are the differences between the federal deficit and

What are the differences between the Federal deficit and Federal Debt? How does a government budget deficit affect the economy, specifically the unemployment rate and job creation? Identify two periods in recent history ...

Submit your solution as a plain-text file with a c

Submit your solution as a plain-text file with a .c extension in the name. Name timer - counts down to zero from a user supplied number. Description Displays a count down to zero from a number supplied by the user at the ...

The formulas a rarr b and c and a rarr b and a rarr c are

The formulas A → (B ∧ C) and (A → B) ∧ (A → C) are logically equivalent. For this problem, you are going to prove that they are equivalent in two different ways. Prove that A → (B ∧ C) ≡ (A → B) ∧ (A → C) by writing two ...

Is smartart graphic and table slide important for

Is Smartart graphic and Table slide important for PowerPoint Presentation? How would it benefit?

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As