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

  Implementation of algorithms for process management

The Shortest Job Next (SJN) algorithm queues processes in a way that the ones that use the shortest CPU cycle will be selected for running rst.

  Develop a user mode command interpreter

Develop a user mode command interpreter which support list-short.

  Memory allocation in operating system

Analysis and implementation of algorithms for memory allocation in operating system, Explain First- t and best- t methods are used in memory allocation in operating systems.

  Stand alone child process

Forking the child process

  Write a multi-threaded program

Write a multi-threaded program to solve producer and consumer problem

  Marginal and average cost curves

n a competitive market place (pure competition) is it possible to continually sell your product at a price above the average cost of production.

  Simulating operating systems scheduling

Simulate the long-term scheduler, the short-term scheduler and the I/O scheduler of the computer using the First-Come-First-Serve algorithm.

  Issues with trusted platform module

Research paper discussing the issues with Trusted Platform Module (TPM)

  Threads

Explain a complication that concurrent processing adds to an operating system.

  Design and programming

Use the semaphore methods to control the concurrency of the solution

  Virtual machines

Virtual machines supported by a host operating system

  Discuss an application that benefits barrier synchronization

Discuss an application that would benefit from the use of barrier synchronization

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