国产人妻人伦精品_欧美一区二区三区图_亚洲欧洲久久_日韩美女av在线免费观看

合肥生活安徽新聞合肥交通合肥房產(chǎn)生活服務(wù)合肥教育合肥招聘合肥旅游文化藝術(shù)合肥美食合肥地圖合肥社保合肥醫(yī)院企業(yè)服務(wù)合肥法律

代做SCI 3004、c++/Python程序設(shè)計(jì)代寫
代做SCI 3004、c++/Python程序設(shè)計(jì)代寫

時(shí)間:2024-09-19  來(lái)源:合肥網(wǎng)hfw.cc  作者:hfw.cc 我要糾錯(cuò)



COMP SCI 3004/7064 Operating Systems 
Practical 2 – Virtual Memory Simulation 
Aim 
By doing this practical work, you will learn how to implement page replacement algorithms, gain 
experience in creating and evaluating a simple simulator, and develop your skills in scientific 
writing. 
You should work in groups of size 2 or 3. Each group will submit one simulator and one report. 
Deadlines: Code is due Tuesday 5th September 2023. 
 Report due end of week 8 - Friday 15th September. 
 
Introduction 
In chapter 22, we explore a variety of page replacement algorithms for managing virtual memory. 
The choice of a page replacement algorithm is actually quite a complex matter. To make the 
proper choice, we must know something about real applications. How do they access memory? Do 
they generate many page accesses in order? Do they skip around memory randomly? The only 
way to answer these questions is to see what real applications do. 
In this practical, you will evaluate how real applications respond to a variety of page replacement 
algorithms. Of course, modifying a real operating system to use different page replacement 
algorithms is quite difficult, so we will simulate it instead. You will write a program that emulates 
the behaviour of a memory system using a variety of page replacement algorithms. 
Then, you will use memory traces from real applications to evaluate your algorithms properly. A 
main outcome of your work will be a report. The report itself counts for 60% of this assignment. 
Memory Traces 
We provide you with four memory traces to use with your simulator. Each trace is a real recording 
of a running program, taken from the SPEC benchmarks. Real traces are enormously big: billions 
and billions of memory accesses. However, a relatively small trace will be more than enough to 
capture their memory access patterns. Each trace consists of only one million memory accesses 
taken from the beginning of each program. 
Each trace is a series of lines, each listing a hexadecimal memory address followed by R or W to 
indicate a read or a write. For example, gcc.trace trace starts like this: 
0041f7a0 R 
13f5e2c0 R 
05e78**0 R 
00**58a0 R 
31348**0 W 
Each trace is compressed with gzip, so you will have to download each trace and then uncompress 
it with a command like this: 
> gunzip –d gcc.trace.gz 
Simulator Requirements 
Your job is to build a simulator that reads a memory trace and simulates the action of a virtual 
memory system with a single level page table. The current simulator fixes the pages and page 
frames size to 4 KB (4096 bytes). Your program should keep track of what pages are loaded into 
memory. The simulator accepts 4 arguments as follows: 
• the name of the memory trace file to use. 
• the number of page frames in the simulated memory. 
• the page replacement algorithm to use: rand/lru/esc 
• the mode to run: quiet/debug 
If the mode is "debug", the simulator prints out messages displaying the details of each event in 
the trace. The output from “debug” it is simply there to help you develop and test your code. If the mode is "quiet", then the simulator should run silently with no output until the very end, at which 
point it prints out a summary of disk accesses and the page fault rate. 
As it processes each memory event from the trace, the simulator checks to see if the corresponding 
page is loaded. If not, it should choose a page to remove from memory. Of course, if the page to 
be replaced is dirty, it must be saved to disk. Finally, the new page is to be loaded into memory 
from disk, and the page table is updated. As this is just a simulation of the page table, we do not 
actually need to read and write data from disk. When a simulated disk read or disk write must 
occur, we simply increment a counter to keep track of disk reads and writes, respectively. 
Most of the input (reading a trace), simulation counters and output messages has already being 
implemented in the skeleton files provided for you. 
The skeleton reads the parameters, processes the trace files and for each access it generates a page 
read or write request. Your job is to complete the simulation of the memory management unit for 
each replacement policy: 
• rand replaces a page chosen completely at random, 
• lru always replaces the least recently used page 
• clock performs the replacement algorithm described in the textbook section 22.8. 
You should start thinking how you can keep track of what pages are loaded, how to find if the 
page is resident or not, and how to allocate frames to pages. Some short traces (trace1, trace2 and 
trace3) will be used in the testing script and are provided to facilitate local testing of your code. 
Report 
An important component of this practical is a report describing and evaluating the replacement 
algorithms. Your goal is run the simulator to learn as much as you can about the four memory 
traces (swim, bzip, gcc and sixpack). For example, 
How much memory does each traced program actually need? 
Which page replacement algorithm works best when having a low number of frames? 
Does one algorithm work best in all situations? 
Think carefully about how to run your simulator. Do not choose random input values. Instead, 
explore the space of memory sizes intelligently to learn as much as you can about the nature of 
each memory trace. 
Your group report should have the following sections: 
• Introduction: A brief section that describes using your own words the essential problem of 
page replacement you are trying to investigate. Do not copy and paste text from this 
project description. 
• Methods: A description of the set of experiments that you performed. As it is impossible to 
run your simulator with all possible inputs, so you must think carefully about what 
measurements you need. Make sure to run your simulator with an excess of memory, a 
shortage of memory, and memory sizes close to what each process actually needs. 
• Results: A description of the results obtained by running your experiments. Present the 
results using graphs that show the performance of each algorithm on each memory trace 
over a range of available memory sizes (alike figures 22.6 to 22.9 in the textbook). For 
each graph, explain the results and point out any interesting or unusual data points. 
• Conclusions: Summarize what you have learned from the results. 
The group report must be concise, well structured and free of typos and errors. For reference, a 
typical report length should be around 4 to 6 pages, roughly one page for the introduction and 
methods, half to one page per trace (graph and analysis of its results) and half to one page for 
conclusions. 
 
請(qǐng)加QQ:99515681  郵箱:99515681@qq.com   WX:codinghelp





 

掃一掃在手機(jī)打開當(dāng)前頁(yè)
  • 上一篇:COMP3702代做、代寫python設(shè)計(jì)編程
  • 下一篇:代做48730-32548,、c/c++,Python程序設(shè)計(jì)代寫
  • 無(wú)相關(guān)信息
    合肥生活資訊

    合肥圖文信息
    流體仿真外包多少錢_專業(yè)CFD分析代做_友商科技CAE仿真
    流體仿真外包多少錢_專業(yè)CFD分析代做_友商科
    CAE仿真分析代做公司 CFD流體仿真服務(wù) 管路流場(chǎng)仿真外包
    CAE仿真分析代做公司 CFD流體仿真服務(wù) 管路
    流體CFD仿真分析_代做咨詢服務(wù)_Fluent 仿真技術(shù)服務(wù)
    流體CFD仿真分析_代做咨詢服務(wù)_Fluent 仿真
    結(jié)構(gòu)仿真分析服務(wù)_CAE代做咨詢外包_剛強(qiáng)度疲勞振動(dòng)
    結(jié)構(gòu)仿真分析服務(wù)_CAE代做咨詢外包_剛強(qiáng)度疲
    流體cfd仿真分析服務(wù) 7類仿真分析代做服務(wù)40個(gè)行業(yè)
    流體cfd仿真分析服務(wù) 7類仿真分析代做服務(wù)4
    超全面的拼多多電商運(yùn)營(yíng)技巧,多多開團(tuán)助手,多多出評(píng)軟件徽y1698861
    超全面的拼多多電商運(yùn)營(yíng)技巧,多多開團(tuán)助手
    CAE有限元仿真分析團(tuán)隊(duì),2026仿真代做咨詢服務(wù)平臺(tái)
    CAE有限元仿真分析團(tuán)隊(duì),2026仿真代做咨詢服
    釘釘簽到打卡位置修改神器,2026怎么修改定位在范圍內(nèi)
    釘釘簽到打卡位置修改神器,2026怎么修改定
  • 短信驗(yàn)證碼 寵物飼養(yǎng) 十大衛(wèi)浴品牌排行 suno 豆包網(wǎng)頁(yè)版入口 wps 目錄網(wǎng) 排行網(wǎng)

    關(guān)于我們 | 打賞支持 | 廣告服務(wù) | 聯(lián)系我們 | 網(wǎng)站地圖 | 免責(zé)聲明 | 幫助中心 | 友情鏈接 |

    Copyright © 2025 hfw.cc Inc. All Rights Reserved. 合肥網(wǎng) 版權(quán)所有
    ICP備06013414號(hào)-3 公安備 42010502001045

    国产人妻人伦精品_欧美一区二区三区图_亚洲欧洲久久_日韩美女av在线免费观看
    国产精品久久久久久网站| 国产精品青草久久久久福利99| 日韩在线xxx| 亚洲蜜桃av| 亚洲精品乱码久久久久久蜜桃91| 亚洲一区美女| 无码人妻aⅴ一区二区三区日本| 操日韩av在线电影| 蜜臀久久99精品久久久无需会员 | 极品粉嫩国产18尤物| 日韩视频在线免费看| 日本精品免费视频| 日本va中文字幕| 欧美午夜欧美| 黄色动漫在线免费看| 国产日韩av在线播放| 国产奶头好大揉着好爽视频| 成人免费网视频| 久久久日本电影| 日韩中文字幕在线视频播放| 国产精品免费一区二区三区都可以 | 国产欧美一区二区| 国产欧美精品在线| 99久久激情视频| 久久国产精品网| 国产精品欧美日韩一区二区| 久久综合久中文字幕青草| 亚洲最新在线| 青青青在线视频播放| 国产日韩中文字幕| 国产精品99免视看9| 久久久国产91| 一区二区三区av在线| 欧洲视频一区二区三区| 国产一区二区网| 久久九九视频| 久久亚洲电影天堂| 日韩av不卡在线播放| 免费在线精品视频| 91福利视频导航| 国产精品久久久久久久7电影| 亚洲欧洲精品一区二区| 欧美怡红院视频一区二区三区| 国产精品自拍偷拍| 北条麻妃一区二区三区中文字幕| 精品自在线视频| 青青在线视频观看| 97伦理在线四区| 欧美激情欧美激情在线五月| 亚洲欧洲三级| 欧美激情www| 91久久国产自产拍夜夜嗨| 精品国产一区av| 亚洲影院在线看| 国内精品模特av私拍在线观看| 97精品国产97久久久久久免费| 久久精品国产久精国产思思| 亚洲精品久久区二区三区蜜桃臀 | 欧美日韩精品免费在线观看视频| 国产乱码精品一区二区三区卡 | 久久久在线观看| 久久综合88中文色鬼| 热久久精品国产| 国产精品8888| 欧美日本在线视频中文字字幕| 日本www在线视频| 91精品国产综合久久香蕉922 | 蜜桃91精品入口| 日韩中文字幕av| 日本一区二区在线| 国产精品99久久99久久久二8| 美女久久久久久久| 美女被啪啪一区二区| 久久精品国产欧美激情| 日产精品久久久一区二区福利| 国产免费一区| 久久中文字幕视频| 国模精品一区二区三区| 国产成人无码精品久久久性色 | 亚洲欧洲在线一区| 成人精品小视频| 伊人网在线免费| 国产精品一区在线免费观看| 九九久久国产精品| 国产日韩中文在线| 久久99国产精品久久久久久久久| 国产一区二区三区黄| 国产精品久久国产精品| 国精产品一区一区三区有限在线 | 亚洲精品欧美一区二区三区| 粉嫩av免费一区二区三区| 久久97精品久久久久久久不卡| 美女日批免费视频| 国产精品精品一区二区三区午夜版| 欧美一区二区综合| 日韩视频―中文字幕| 欧美在线免费观看| 国产精品视频大全| 国产尤物99| 欧美极品在线视频| 99在线免费视频观看| 亚洲免费在线精品一区| 成人福利视频网| 亚洲精品国产一区| 国产福利不卡| 日韩精品伦理第一区| 久久久久久国产免费| 欧美亚洲在线播放| 久久亚洲电影天堂| 成人精品久久av网站| 日韩一级片一区二区| 久久99精品国产99久久| 欧美不卡福利| 一区二区三区久久网| 91高清免费视频| 欧美自拍资源在线| 精品免费日产一区一区三区免费 | 国产精品乱码一区二区三区| 国产网站免费在线观看| 中文字幕中文字幕在线中心一区| 91久久综合亚洲鲁鲁五月天| 日韩欧美亚洲在线| 久久成人国产精品| 久久综合九色综合网站| 欧美日韩一区在线播放| 欧美人成在线视频| 久久精品国产一区二区三区不卡 | 日本国产高清不卡| 国产精品男女猛烈高潮激情| 国产精品一区二区女厕厕| 欧美一区二区三区四区在线观看地址| 久久久久久久国产| 国产美女久久精品| 日本女人高潮视频| 久久亚洲精品视频| 久久亚洲高清| 国产欧美在线看| 日韩欧美在线免费观看视频| 欧美激情综合亚洲一二区| 久久久久久久久久久亚洲| 国产尤物91| 日本人妻伦在线中文字幕| 国产精品美女在线| 久久人妻精品白浆国产| 国产欧美自拍视频| 欧美日韩在线观看一区| 欧美一级片一区| 欧美久久久精品| 久久九九热免费视频| 久久久久久高清| 国产精品亚洲第一区| 国内精品视频在线播放| 日韩人妻无码精品久久久不卡 | 色噜噜久久综合伊人一本| www..com日韩| 国内一区二区三区在线视频| 性欧美大战久久久久久久| 欧美日韩国产成人| 国产精品久久久久久超碰| 九色视频成人porny| 国产精品av免费观看| 成人免费在线网| 国产私拍一区| 激情成人开心网| 热re99久久精品国产66热| 中文字幕无码精品亚洲35| 国产精品成人免费视频| 久久精品一区中文字幕| 久久久久久久免费视频| 久久免费成人精品视频| 91久久久在线| av免费观看网| 99视频在线播放| 99视频在线免费观看| www黄色日本| 97欧洲一区二区精品免费| av中文字幕av| 91精品在线国产| 国产精品av免费在线观看| 99在线观看视频免费| 国产女人18毛片水18精品| 国产原创中文在线观看| 国产又大又长又粗又黄| 国产日韩欧美在线视频观看| 麻豆av免费在线| 国产日韩欧美影视| 国产伦精品一区二区| 高清在线观看免费| 91精品久久久久久久久青青| 国产精品69久久| 久久久久久中文| 久久精品国产久精国产思思| 国产精品久久中文字幕| 久久av喷吹av高潮av| 久久精品国产亚洲精品2020| 日韩在线观看成人| 国产精品美女免费| 欧美日韩第一视频| 午夜在线视频免费观看| 手机看片福利永久国产日韩|