Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask Operating System Expert

Programming Assignment

Create a server process that acts as a Memory Manager that allocates valid memory requests (your server double checks that they are valid, meaning that a process cannot ask for more memory than is available, either to the entire system, or for the current run of this set of jobs) to frames for multiple clients as in Program #2. Every time a valid memory request is made, a PCB for that client is created and enqueued to the Ready Queue. When a memory request is made that is too large for the system memory, an error message is sent back to that client, and another client will be allowed to make a request.

When the Memory Manager declines a client request for memory because there are not enough remaining frames available, the server begins to act as CPU short-term scheduler for all of the processes that are now in Ready. The server manipulates the Ready Queue using a FCFS or a round-robin scheduling algorithm, depending on the choice of the server. The degree of multiprogramming will depend on the number of clients in the Ready Queue.

Each client sends the name of its private FIFO (or just the PID, depending on who creates the private FIFO), a memory request in terms of number of bytes, and a CPU burst to the server through the common FIFO. As before, the common FIFO is created and opened once, and receives one struct input per client, and will use the private FIFO to respond to the client. The server begins at time zero. A clock (simple counter) is incremented for the current client's entire CPU burst (FCFS) or for the system time quantum (round-robin). Each client will receive its assigned frames and its completion time through its private FIFO.

When all clients are finished, the server will calculate and report throughput, average turnaround time, and average wait time (time in Ready). You may calculate turnaround times and wait times as you wish as long as it is accurate...

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

• Save your C program using Notepad, and name it with the .c extension.
• Input values and Output values with the screenshots of execution.
• Gantt charts which show results of a test run of your data. These may be hand-drawn, or computer-generated.


Attachment:- Program assignment.rar

Operating System, Computer Science

  • Category:- Operating System
  • Reference No.:- M91563359
  • Price:- $100

Guranteed 48 Hours Delivery, In Price:- $100

Have any Question?


Related Questions in Operating System

Question note apa format 250 words and three reference

Question: Note: APA format 250 words and three reference without plagarism Computerized Operating Systems (OS) are almost everywhere. We encounter them when we use out laptop or desktop computer. We use them when we use ...

State the required answer precisely and then provide proper

State the required answer precisely and then provide proper explanation. It is not enough to provide one- word or one-line answers. Briefly describe the following concepts and indicate how they are related in the context ...

Research types of operating systems that are currently

Research types of operating systems that are currently available and provide a scenario in which the operating system you chose would be appropriate to be used in this situation. Explain why you think the choice you made ...

Discussion question this research assignment will give

Discussion Question : This research assignment will give further information on the nature and workings of multi-tasking and multi-processing operating systems. All information reported in this assignment is to be in the ...

Question what do you see as the major differences between

Question : What do you see as the major differences between UNIX/Linux and other operating systems, such as Windows and Mac OS X? The response must be typed, single spaced, must be in times new roman font (size 12) and m ...

Question 1answer the following questions 10 marks a

Question 1 Answer the following questions: 10 marks a. Consider the following page reference string: 3, 1, 4, 1, 2, 3, 5, 3, 2, 1, 2,5, 4, 3, 5, 2, 4,2, 5,3 Using the above page reference string display the contents of t ...

Question state the required answer precisely and then

Question : State the required answer precisely and then provide proper explanation. It is not enough to provide one- word or one-line answers. What is the purpose of the command interpreter? Why is it usually separate fr ...

Question research hex editors available for mac os and

Question : Research hex editors available for Mac OS and Linux. Based on the documentation, how easy would validating these tools be? Select at least two hex editors for each OS, and discuss what you would do to validate ...

State the required answer precisely and then provide proper

State the required answer precisely and then provide proper explanation. It is not enough to provide one- word or one-line answers. Consider a computer embedded in the control of a manned spacecraft. Would it require an ...

Question description of lasa in this assignment you will

Question: Description of LASA: In this assignment, you will select a real-world operating system (can be for a PC, server, tablet, handheld, or embedded device). You will introduce the operating system and its components ...

  • 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