Em Andamento

Virtual Memory Manager in C

Project Description:

In this project I want from you to develop a program that will translate logical and natural addresses for a space of virtual addresses with size of 2^16 = [url removed, login to view] bytes. The program should read from a file , that will contain logical addresses and using a TLB* (16 positions)and an one level page matrix, will translate each logical address to its corresponding physical address and it will export the value of the byte, which is saved in the translated physical address. The program will read from a file that will contain quiet a lot integers – logical addresses. The logical addresses are organized like this : The first 8 bits are the page number and the other 8 bits are the offset inside the page number. The program should do paging on demand. The assistive saving space is being developed from the [url removed, login to view] file , which is a binary file with size of [url removed, login to view] bytes. Whenever a page error occurs , you will read a page wit size of 256bytes from the BACKING_STORE and you will save it to a page frame in physical memory. After the frame is saved (and the TLB and page matrix will be updated) the next accesses in the page X will be handled either from TLB or from the page matrix . You have to use the [url removed, login to view] file like a random access file ! I’ll provide you the file with the addresses in it (to the freelancers with whom I ‘ll negotiate ) . The program should open this file and read every logical address , it will translate them to its corresponding physical address and finally will export the value of the signed byte in physical memory. The policy of replacement in TLB will be LRU** .

The program should print the following values :

• The logical address that is about to be translated (eg the integer that reads from the address file)

• The corresponding physical address (the address in which the program translates the logical address)

• The signed value of the byte , which is being saved in physical address

After the completion , the program should refer the following statistics :

• The rate of error per page – The percent of referred addresses that caused page errors.

• The rate of success TLB – The percent of referred addresses , which have beed arranged in TLB.

The project must be written in C and able to run in UNIX ! I want from you also to provide me the source files to compile and run it by myself ! Also the source files MUST contain detailed comments !

More explanations :

*Translation Lookaside Buffer

**Least Recently Used (algorithm)

For more information don't hesitate and contact me !

Habilidades: Programação C

Ver mais: virtual positions, virtual freelancers, statistics algorithm, project manager freelancers, binary algorithm, algorithm statistics, binary number, project manager positions, project manager description, demand freelancers, freelancers translate, freelancers statistics, freelancers demand, translation project manager, statistics freelancers, memory, files manager, binary translation, access manager, open source memory manager, read file error number, read memory, memory file, program contact manager, virtual memory

Acerca do Empregador:
( 0 comentários ) Kapolei, United States

ID do Projeto: #5118855

Premiar a:


Hired by the Employer

$100 USD em 1 dia
(11 Avaliações)