Find Jobs
Hire Freelancers

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

$30-250 USD

已取消
已发布超过 6 年前

$30-250 USD

货到付款
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.
项目 ID: 15662531

关于此项目

6提案
远程项目
活跃6 年前

想赚点钱吗?

在Freelancer上竞价的好处

设定您的预算和时间范围
为您的工作获得报酬
简要概述您的提案
免费注册和竞标工作
6威客以平均价$80 USD来参与此工作竞价
用户头像
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 在2天之内
4.9 (202条评论)
7.3
7.3
用户头像
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 在7天之内
4.9 (37条评论)
5.4
5.4
用户头像
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 在3天之内
0.0 (0条评论)
0.0
0.0
用户头像
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 在3天之内
0.0 (0条评论)
0.0
0.0
用户头像
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 在2天之内
0.0 (0条评论)
0.0
0.0

关于客户

UNITED STATES的国旗
san diego, United States
5.0
2
付款方式已验证
会员自4月 17, 2016起

客户认证

谢谢!我们已通过电子邮件向您发送了索取免费积分的链接。
发送电子邮件时出现问题。请再试一次。
已注册用户 发布工作总数
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
加载预览
授予地理位置权限。
您的登录会话已过期而且您已经登出,请再次登录。