Find Jobs
Hire Freelancers

you are asked to develop a virtual memory simulation tool and do some experiments with it

$30-250 USD

Cancelled
Posted over 6 years ago

$30-250 USD

Paid on delivery
you are asked to develop a virtual memory simulation tool and do some experiments with it. Your program will read a file called data.txt. This file consists of a long series of memory references. Each line of the file has three values, delimited by a space. The first field is an integer, showing the process number. The second is also an integer, showing a memory reference (address). And the third is a char, either “R” (Read) or “W” (Write). If this char is a “W”, it means that the referenced memory address is modified. Each memory reference happens in one time unit, i.e. every line in the data file should have a unique timestamp. The page table you maintain should also have a dirty bit and a reference bit for each page. You may want to include other data as well. All addresses are 16 bits; so all processes have a virtual address space of 64KB (216). All addresses read from the file will be in the range 0 ... 65535. Each page is 512 bytes, so each process has a page table of size 128 (216/29 ). In other words, in each virtual address, the first (most significant) 7 bits determine the virtual page number, and the last 9 bits determine the offset of the address within the page frame. There are 32 addressable physical pages in the main memory, i.e. the physical memory size is 32pages*512bytes/page = 16KB. You have to keep track of three statistics, the total number of page faults, the total number of disk references and the total number of dirty page writes. Every page fault has at least one disk reference, but if the page to be replaced is dirty, then there will be two disk references, one to copy the dirty page back to the disk and one to load the new page. Each process has its own page table, so address 12340 in process 1 is different from address 12340 in process 2. You should have a global variable debug. The user should be able to set this variable via command line. If debugging is on (debug == 1 or debug = True), your program should display information about each page fault whenever a page fault occurs. It should list the line that generated the page fault, the physical page being replaced, the process number, the virtual page, and whether or not the page being replaced was dirty.
Project ID: 15662531

About the project

6 proposals
Remote project
Active 6 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
6 freelancers are bidding on average $80 USD for this job
User Avatar
I am very proficient in c and c++. I have 16 years c++ developing experience now, and have worked for more than 6 years. My work is online game developing, and mainly focus on client side, using c++ under windows environment. I used c++ to make many great projects, for example, I made the tools which can convert java files into c++ scripts, of course garbage collection included, this job is very similar to a compiler, and is very complex. I also made our own mobile game using c++, I can show you the demo of client, if you like. I am very proficient in java also. I have a very good review on Freelancer.com, I never miss a project once I accept the job, you can check my review. Trust me, please let expert help you.
$120 USD in 2 days
4.9 (202 reviews)
7.3
7.3
User Avatar
Hello, I am very interested in your project, and ready to start working on it. Relevant Skills and Experience I am very experienced with assignments like this, especially when C/C++ is required. Please check my reviews. Proposed Milestones $149 USD - Full Project Please note that I ask for milestone payments to be setup before starting work. Best Regards
$149 USD in 7 days
4.9 (37 reviews)
5.4
5.4
User Avatar
Hello, I am full-time freelancer, I have gone through your project description I can do it. I am familiar with virtual memory simulation tool & having a good experience in programming. Relevant Skills and Experience I am excellent with C, C++, C# programming, Python, Java, .Net, Software development, Software architecture. I am always happy to work and help you. So ,I can deliver work on time with good quality. Proposed Milestones $30 USD - initial Further discussion will be through chat. Thanks.
$30 USD in 3 days
0.0 (0 reviews)
0.0
0.0
User Avatar
Hello, I've reviewed your complete job description, and I perfectly develop virtual memory simulation tool I have 8 years+ experience in C programming, Software Architecture, Linux, I have completed 300+ projects in it My key Skills are: Embedded software, Matlab and Mathematical, C++, C# programming, Software Architecture, Software Development, Raspberry pi, JavaScript, .NET, PHP, SQL, HTML, Python, Perl, CSS. Platforms: Linux, Amazon Web Services (AWS), Google App Engine, Windows, Mac OS X. Looking forward to work with you on this project warm regards.
$50 USD in 3 days
0.0 (0 reviews)
0.0
0.0
User Avatar
Hey ! I'm SAYAN PROGRAMMER I've reviewed your complete job description, and I fulfill all the qualifications required for this project. I always try to provide good quality work to my clients. I have more than 15 years of experience in this field. I have completed 200 projects with clients 100% satisfaction and I am sure if you will respond me then I will be able to explain my skills as well. My key skills are: C #, C + +, C programming ,JAVA, Software Development, Software Architecture, PHP, Java script and much more. Looking forward to work with you on this project. THANKS Regards SAYAN PROGRAMMER
$30 USD in 2 days
0.0 (0 reviews)
0.0
0.0

About the client

Flag of UNITED STATES
san diego, United States
5.0
2
Payment method verified
Member since Apr 17, 2016

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.