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

  Discussion on dns for internet operations

Discuss how do you think the DNS is important for internet operations and what would happen if the DNS of your company/orgnization or your provider or root DNS fails?

  Differences between linux and windows operating system

Write a 4 page paper that compares and contrasts the basic system differences between UNIX/Linux, Mac, and Microsoft Windows operating systems

  Demonstrate various page replacement algorithms

Demonstrate various page replacement algorithms - Calculate the number of page faults and display an output

  A system uses a page size of the 4 kbytes and a program

a system uses a page size of the 4 kbytes and a program size of 46 kbytes is allocated memory. what is the

  Describe how implementation of a raid level 2 system

Describe how implementation of a RAID Level 2 system would be beneficial to a university payroll system. In your own words, describe the disadvantages of such a system, if any, in that environment, and if appropriate, suggest an alternative RAID s..

  The master distribution center in bend

The master distribution center in Bend, Oregon, has 42 people, including nine Windows 2000 users, 22 people using Windows XP Professional, and 11 people using Windows Vista Business Edition.

  In working out your responses to the discussion question

in working out your responses to the discussion question you should choose examples from your own experience or find

  Integrity without confidentiality

Determine the difference between message confidentiality and message integrity? Can you have confidentiality without integrity?

  Organization institutionalizes policies

The answer gives the learner with an understanding of management's role in the development and enforcement of data security policies, standards, practices, precess and guidelines.

  Characteristics of atm networks

Determine the characteristics of ATM networks, as well as their advantages and limitations. Discuss the ideas of connection oriented and connectionless protocols.

  Determine the biggest advantage of implementing threads in

question 1 a system has two processes and three identical resources. each process needs a maximum of two resources. is

  Identify one reason indexes are useful

Describe what you would have to do if indexes weren't available in order to get the reason you initially stated and how the query optimizer generates and selects a query plan.

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