Find Jobs
Hire Freelancers

C programmong on a Unix platform

$30-150 USD

已关闭
已发布超过 20 年前

$30-150 USD

货到付款
Need full functionality of program. You are to compare performances of FCFS-, FCFS+, SSTF-, and SSTF+. FCFS- : First Come First Served *without* a disk cache FCFS+ : First Come First Served *with* a disk cache SSTF- : Shortest Seek Time First *without* a disk cache SSTF+ : Shortest Seek Time First *with* a disk cache The OS simulator has SSTF- and CLOOK. FCFS- can be easily implemented from any of these. And then you will equip the disk controller with a *cach*e. The cache consists of enough memory to store blocks of data N and should be parameterized so that it can be changed easily. The caching policy is as follows:Upon a *read* of a block from disk, the cache is checked if it contains the requested block. If the block is in the cache, the data is taken from there, without having to go to disk. If the block is not stored in the cache, the request is processed as if there were not cache at all, except that the block will be also stored in the cache. If no cache entry is available, one entry must be selected for replacement. The replaced entry is not written to disk. You can use any replacement policy for disk cache i.e. FCFS etc.,.In SSTFs, requests to the same track are to be processed in first-come first-served basis. You need to look at Disk::read() and Disk::write() to see how current disk schedulers work. Parameterize the scheduler types and (the size of the cache). Measure the cache hit ratios for FIFO+ and SSTF+. Measure the total seek times for the four [login to view URL] modifications will be made to disk.C and disk.H only. Clearly mark all new and/or changed lines with any marker/commentsThe program should give output to convince that solution is correct. (hit ratio and seek time) ## Deliverables 1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done. 2) Installation package that will install the software (in ready-to-run condition) on the platform(s) specified in this bid request. 3) Exclusive and complete copyrights to all work purchased. (No GPL, 3rd party components, etc. unless all copyright ramifications are explained AND AGREED TO by the buyer on the site). ## Platform Unix
项目 ID: 3029437

关于此项目

1条提案
远程项目
活跃20 年前

想赚点钱吗?

在Freelancer上竞价的好处

设定您的预算和时间范围
为您的工作获得报酬
简要概述您的提案
免费注册和竞标工作
1威客以均价$85 USD来参与此工作竞标
用户头像
See private message.
$85 USD 在2天之内
4.9 (20条评论)
2.8
2.8

关于客户

UNITED STATES的国旗
United States
0.0
0
会员自4月 27, 2002起

客户认证

这个客户的其他工作

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