99爱在线视频这里只有精品_窝窝午夜看片成人精品_日韩精品久久久毛片一区二区_亚洲一区二区久久

合肥生活安徽新聞合肥交通合肥房產生活服務合肥教育合肥招聘合肥旅游文化藝術合肥美食合肥地圖合肥社保合肥醫院企業服務合肥法律

代做SCI 3004、c++/Python程序設計代寫
代做SCI 3004、c++/Python程序設計代寫

時間:2024-09-19  來源:合肥網hfw.cc  作者:hfw.cc 我要糾錯



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. 
 
請加QQ:99515681  郵箱:99515681@qq.com   WX:codinghelp





 

掃一掃在手機打開當前頁
  • 上一篇:COMP3702代做、代寫python設計編程
  • 下一篇:代做48730-32548,、c/c++,Python程序設計代寫
  • 無相關信息
    合肥生活資訊

    合肥圖文信息
    急尋熱仿真分析?代做熱仿真服務+熱設計優化
    急尋熱仿真分析?代做熱仿真服務+熱設計優化
    出評 開團工具
    出評 開團工具
    挖掘機濾芯提升發動機性能
    挖掘機濾芯提升發動機性能
    海信羅馬假日洗衣機亮相AWE  復古美學與現代科技完美結合
    海信羅馬假日洗衣機亮相AWE 復古美學與現代
    合肥機場巴士4號線
    合肥機場巴士4號線
    合肥機場巴士3號線
    合肥機場巴士3號線
    合肥機場巴士2號線
    合肥機場巴士2號線
    合肥機場巴士1號線
    合肥機場巴士1號線
  • 短信驗證碼 豆包 幣安下載 AI生圖 目錄網

    關于我們 | 打賞支持 | 廣告服務 | 聯系我們 | 網站地圖 | 免責聲明 | 幫助中心 | 友情鏈接 |

    Copyright © 2025 hfw.cc Inc. All Rights Reserved. 合肥網 版權所有
    ICP備06013414號-3 公安備 42010502001045

    99爱在线视频这里只有精品_窝窝午夜看片成人精品_日韩精品久久久毛片一区二区_亚洲一区二区久久

          欧美私人啪啪vps| 91久久亚洲| 欧美日韩精品综合| 欧美一区二区三区在线免费观看| 在线不卡a资源高清| 欧美日韩在线播放| 欧美国产日产韩国视频| 一本久久青青| 国内欧美视频一区二区| 国产精品狠色婷| 欧美区在线观看| 免费日韩精品中文字幕视频在线| 亚洲欧美视频一区二区三区| 亚洲伦理自拍| 亚洲毛片av| 亚洲国产专区校园欧美| 在线精品国产欧美| 狠狠色伊人亚洲综合网站色| 国产精品中文字幕欧美| 国产精品免费一区豆花| 欧美视频福利| 欧美日韩中文在线| 欧美亚洲成人网| 欧美日韩在线另类| 欧美日韩精品一区视频| 欧美精品日韩一区| 欧美日韩亚洲精品内裤| 欧美日韩免费观看一区三区| 欧美日产国产成人免费图片| 欧美精品乱人伦久久久久久| 欧美韩国一区| 欧美日韩高清区| 欧美亚日韩国产aⅴ精品中极品| 欧美激情一区二区三区在线视频| 欧美成人精品福利| 欧美日本一区二区视频在线观看| 欧美激情bt| 欧美三区在线视频| 国产欧美一区二区色老头| 国产三级精品三级| 在线激情影院一区| 中文国产成人精品久久一| 亚洲少妇自拍| 久久精品国产69国产精品亚洲| 久久疯狂做爰流白浆xx| 看片网站欧美日韩| 一区二区欧美国产| 久久国产成人| 欧美成人综合一区| 欧美日韩免费高清| 国产一区二三区| 亚洲欧洲另类| 亚洲欧美日韩精品久久奇米色影视 | 久久精品一本| 欧美日韩成人综合在线一区二区| 欧美亚州韩日在线看免费版国语版| 国产精品夜夜夜| 亚洲高清影视| 午夜精品久久久久久久| 免费试看一区| 国产精品专区一| 最近中文字幕日韩精品| 亚洲男人第一av网站| 另类图片国产| 国产日韩久久| 在线视频日韩精品| 美女网站久久| 国产欧美日韩一区二区三区在线观看 | 黄色国产精品| 亚洲综合电影| 欧美精品1区2区| 黄色成人小视频| 亚洲一区免费网站| 欧美精品一区二区三| 国产综合视频| 亚洲欧美欧美一区二区三区| 欧美精品一区二区三区很污很色的| 国产精品色婷婷| 亚洲精品黄色| 欧美aⅴ一区二区三区视频| 国产一区二区三区久久悠悠色av| 日韩视频在线一区| 欧美福利视频| 最近看过的日韩成人| 久久久99精品免费观看不卡| 国产欧美91| 亚洲综合欧美日韩| 欧美视频精品在线| 中文在线资源观看视频网站免费不卡| 欧美大片网址| 91久久综合| 欧美精品性视频| 亚洲精品一区二区三区樱花| 欧美大色视频| 夜夜狂射影院欧美极品| 欧美日韩一区免费| 亚洲视频每日更新| 国产精品成人免费视频| 亚洲一区二区三区免费观看| 国产精品国产三级国产aⅴ入口| 一区二区激情小说| 欧美三级精品| 亚洲欧美日韩国产| 国产欧美一区二区精品秋霞影院| 性欧美videos另类喷潮| 国产一区二区久久| 久久中文精品| 日韩视频免费观看| 国产精品国产三级国产专区53| 亚洲视频欧美视频| 国产精品视频一区二区三区| 久久国产欧美精品| 最新成人在线| 国产精品成av人在线视午夜片| 亚洲女ⅴideoshd黑人| 国产一二三精品| 欧美激情亚洲| 亚洲综合二区| 影音先锋在线一区| 欧美日韩免费看| 久久国产视频网| 亚洲精品国产欧美| 国产精品入口尤物| 老牛影视一区二区三区| 一本色道88久久加勒比精品| 国产亚洲午夜| 欧美日韩成人免费| 午夜视频一区在线观看| 亚洲国产你懂的| 国产精品久久久久久久一区探花| 久久久久久久综合色一本| 99国产精品久久久久久久久久| 国产精品女人网站| 欧美精品九九| 久久久精品日韩欧美| 99pao成人国产永久免费视频| 国产麻豆综合| 欧美三级乱人伦电影| 麻豆精品在线观看| 欧美一区二区三区免费看| 91久久在线| 狠狠噜噜久久| 国产精品一区三区| 欧美色图一区二区三区| 鲁大师影院一区二区三区| 欧美亚洲自偷自偷| 亚洲午夜一级| av成人国产| 亚洲精品一区二区三区99| 极品少妇一区二区| 国产日韩一区二区| 国产精品久久久99| 欧美日韩一区二区在线观看视频| 麻豆成人综合网| 久久er精品视频| 香蕉久久夜色精品国产| 9i看片成人免费高清| 亚洲日本成人| 亚洲精品一区在线| 亚洲国产欧美久久| 91久久久国产精品| 亚洲三级影片| 国产在线视频不卡二| 国产精品每日更新| 欧美午夜精品久久久久久超碰| 欧美日本亚洲韩国国产| 欧美精品91| 欧美日本高清一区| 欧美精品一区三区| 欧美日韩精品一二三区| 欧美视频一区二区三区…| 欧美日韩美女| 国产精品久久久久久久久久久久| 国产精品hd| 国产欧美日韩综合| 国产一区二区日韩精品欧美精品| 国产午夜亚洲精品不卡| 黄色成人小视频| 亚洲国产精品一区二区尤物区| 在线观看不卡| 99re6热只有精品免费观看 | 欧美日韩福利| 国产精品极品美女粉嫩高清在线 | 国产精品扒开腿做爽爽爽软件| 国产精品女主播在线观看 | 国产三级精品在线不卡| 好吊视频一区二区三区四区 | 免费成人黄色av| 欧美日韩国产在线看| 国产精品一级在线| 激情久久久久久久| 日韩视频在线观看一区二区| 亚洲欧美日韩在线观看a三区| 久久黄金**| 欧美日韩高清在线播放| 国产精品资源| 91久久久在线| 午夜在线不卡| 欧美本精品男人aⅴ天堂| 国产精品毛片高清在线完整版|