Write server program act a memory manager

Assignment Help Computer Engineering
Reference no: EM13324523

let your server program act a memory manager, "She memory manager uses a vellOrog as sane. in which pages and frames are 4/14%7.4: 256 bytes, ( .11mts request main memory spate by mottling, to the server the total number of bytes in their lopy.:31 oro,;ccn, (liven a list of free trainees, the server allocates frames for the clients, After client-:• space has been mapped to pirysival space, the server will be prompted with a client number (mum be verified) and a logical address. The server will respond by calculating the physical address,
Example: Client' requests memory fOr its program of size 700 bytes, if free space list (the list of free frames) is 5, 3, 0, 1, 2, then Client" will be allocated frame 5 (1(rr its first 256 trite", frame 3 (firr its next 256 bytes) and frame 0 (fin its final 188 bytes), When prompted lot the physical address for logical address 400, the page table for Clientiwill be examined, We will know that the address in question is on page 1 at offset 144, which in loaded in frame 3. ldra-me begins at location 768, which is (256 * 3), The server calculates the physical address to be '168+144,

The server:
The server program accepts memory requests for each of several clients. A page table is built for each client. The frames assigned to the client are sent hack to the client. Pages are mapped to frames according to a free frame list. For the final check on your program, please use the following free frame list: 4, 6, 2, 7, 0, 5, 9, 11, 1(), 1, 6, 3. The serves will work on a static set of memory allocations as long as the operator wants to continue.

The client:

Each client program sends a memory request to the server program.

The server:
The server program accepts memory requests for each of several clients. A page table is built for each client. The frames assigned to the client are sent hack to the client. Pages arc mapped to frames according to a free frame list. For the final check on your program, please use the following free frame list: 4, 6, 2, 7, 0, 5, 9, 11, 10, 1, 6, 3. The server will work on a static set of memory allocations as long as the operator wants to continue.

The client:
Each client program sends a memory request to the server program. Each client will print its memory size and its assigned frames.

Memory Management:
A physical memory of 12 frames should be sufficient. To be displayed:

The server should print the client number, the logical address, the frame number and a representation of the physical memory.

Reference no: EM13324523

Questions Cloud

Differences between static and dynamic models : Explain the differences between static and dynamic models. How can one evolve into the other?
Selected transactions for protheroe corporation : Selected transactions for Protheroe Corporation during its first month in business are presented below.
Utilizing cost allocation methods : Decision making in companies is often facilitated by utilizing cost allocation methods.
Cultural differences between team and non-team environment : Describe the cultural differences between a team and non-team environment. What is a High Performance Team (HPT)? What are the benefits to the employees, customers and management for using such teams? Describe the conditions necessary to create a HPT..
Write server program act a memory manager : The server program accepts memory requests for each of several clients. A page table is built for each client. The frames assigned to the client are sent hack to the client.
Considered a member of the moral community : which of the following groups is not considered a member of the moral community in the US?
Research on aspects of network administration and support : Peer-to-Peer, Client/Server and Virtualization platforms can be used to setup networks for organizations small in size. Compare the three mentioned platforms and mention their associated merits in relation to administration, security and usability
Traditional subdivisions of moral philosophy : What are the 2 traditional subdivisions of moral philosophy?
Is intuition a reliable source of moral truth : which of the following would be interested in the question, Is intuition a reliable source of moral truth?

Reviews

Write a Review

Computer Engineering Questions & Answers

  Mathematics in computing

Binary search tree, and postorder and preorder traversal Determine the shortest path in Graph

  Ict governance

ICT is defined as the term of Information and communication technologies, it is diverse set of technical tools and resources used by the government agencies to communicate and produce, circulate, store, and manage all information.

  Implementation of memory management

Assignment covers the following eight topics and explore the implementation of memory management, processes and threads.

  Realize business and organizational data storage

Realize business and organizational data storage and fast access times are much more important than they have ever been. Compare and contrast magnetic tapes, magnetic disks, optical discs

  What is the protocol overhead

What are the advantages of using a compiled language over an interpreted one? Under what circumstances would you select to use an interpreted language?

  Implementation of memory management

Paper describes about memory management. How memory is used in executing programs and its critical support for applications.

  Define open and closed loop control systems

Define open and closed loop cotrol systems.Explain difference between time varying and time invariant control system wth suitable example.

  Prepare a proposal to deploy windows server

Prepare a proposal to deploy Windows Server onto an existing network based on the provided scenario.

  Security policy document project

Analyze security requirements and develop a security policy

  Write a procedure that produces independent stack objects

Write a procedure (make-stack) that produces independent stack objects, using a message-passing style, e.g.

  Define a suitable functional unit

Define a suitable functional unit for a comparative study between two different types of paint.

  Calculate yield to maturity and bond prices

Calculate yield to maturity (YTM) and bond prices

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