Implement a paged memory allocation scheme

Assignment Help Operating System
Reference no: EM13849285

This programming assignment is meant to:

1. Demonstrate ability to create a memory allocation program that determines the number of frames that are needed by a requesting client and assigns pages to available frames using a client-server architecture.

2. Demonstrate understanding of address translation used in a paged memory allocation scheme.

Part One:

Implement a paged memory allocation scheme. The server receives a memory request from each of several clients through the common FIFO. Each request will consist of an integer value that represents the size of the client's program, in memory units, and the client's process id (pid). The server continues to receive requests from clients until a request is made which cannot be granted, based on the available main memory. Print a message that denies the request and indicates that memory is full. Frames are selected on the basis of a free frame list.

Other responsibilities of the server:

• Print a "representation" of main memory showing which frames are allocated to which clients after each request is granted.
• Create and display a job table that keeps track of the processes.
• Respond to the client with the frame numbers that were assigned to that client.

Part Two:

Implement memory translation capability in which the server receives a logical (virtual) address of an instruction for a selected client and responds with the corresponding physical address. Your program will simulate the address translation process in the server. Continue to receive logical addresses until the user wishes to stop. At that point, shut down the server.

Reference no: EM13849285

Questions Cloud

Reconciliation of fund financial statement : Reconciliation of Fund Financial Statement to Government-wide Financial Statement The following information is available for Candelwood City for the year ended December 31, 2017: The net change in total governmental fund balances was $(289,200)
Not-for-profit resources-inflows and outflows : The not-for-profit organization Save the Wolves Foundation is dedicated to research the state of the wolf population in the United States and Canada, educate the public about wolves, and prevent further endangerment of them. The following transact..
Teaching children with intellectual disabilities : Factors to consider when teaching children with intellectual disabilities
Identify the key inputs and outputs of this unit : Identify your selected unit (or department) in the first line of your posting. Identify the key inputs and outputs of this unit. Briefly discuss factors that should be considered when establishing the primary productivity measure for your selected un..
Implement a paged memory allocation scheme : Create a memory allocation program that determines the number of frames that are needed by a requesting client and assigns pages to available frames using a client-server architecture.
What are the key forces in the industry environments : What are the key forces in the general and industry environments that affect Build-A-Bear's choice of strategy? What internal resources and assets does Build-A-Bear have that may give it a competitve advantage?
Valuing bonds-what is the price of the bond : Yan Yan Corp. has a $5,000 par value bond outstanding with a coupon rate of 4.8 percent paid semiannually and 27 years to maturity. The yield to maturity on this bond is 4.8 percent. What is the price of the bond?
Growth rate-what is its required return : Suppose Paccar’s current stock price is $108.26 and it is likely to pay a $3.06 dividend next year. Since analysts estimate Paccar will have an 5.6 percent growth rate, what is its required return?
About the valuing bonds : Union Local School District has bonds outstanding with a coupon rate of 3.3 percent paid semiannually and 15 years to maturity. The yield to maturity on these bonds is 3.8 percent and the bonds have a par value of $10,000.

Reviews

Write a Review

Operating System Questions & Answers

  Mips instructions into machine instructions in hexadecimal

Convert the following MIPS instructions into machine instructions in hexadecimal form

  Implement a basic shell that restricts the runtime of

implement a basic shell that restricts the runtime of processes executed from within it. your shell will read input

  Creating hipo charts and decision tables

Now that you have a program design and a selected programming language for your assignment, you can start looking at the logical flow of the processes within your program and the data that is input,

  Write a brief description about the system calls

Write a brief description about the system calls used in Unix/Linux. Add information such as parameters, resources used, expected results/return values, and possible error conditions.

  Security and data protection systems

Determine what fault tolerance, security, and information protection systems and procedures do you recommend be instituted on and for the corporation's network from the hypothetical condition below?

  Frequency definition of bandwidth

In data communication we often use term "bandwidth" when we refer to capacity of a link. Strictly speaking, however, bandwidth refers to range of frequencies that can be carried on a link.

  Operating system interfaces questions

Select one of the programs that comes with Vista in which you think your classmates would be interested. Determine what does the program do?

  Solving wired versus wireless lan issues

Suppose your local hospital has decided to extend their offices to another department of the building where it is difficult to have cables installed,

  Creating an appropriate user interface

Assume you have just started a new semester and you have become friends with one of your classmates, Tomislav. Tomislav tells you he has just moved to the US from Europe

  What is the biggest advantage of blades servers and why

Read the HP article on Blade Servers at: http://h18004.www1.hp.com/products/blades/info/what-is-a-blade.html.

  What is data-processing cycle

What is data-processing cycle

  Discuss and provide examples of mutual exclusion

Discuss and provide examples of the following concurrency issues associated with an OS: 1. Mutual exclusion 2. Deadlock 3. Starvation

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd