加勒比久久综合,国产精品伦一区二区,66精品视频在线观看,一区二区电影

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

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

時間:2024-09-19  來源:合肥網(wǎng)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程序設計代寫
  • 無相關(guān)信息
    合肥生活資訊

    合肥圖文信息
    2025年10月份更新拼多多改銷助手小象助手多多出評軟件
    2025年10月份更新拼多多改銷助手小象助手多
    有限元分析 CAE仿真分析服務-企業(yè)/產(chǎn)品研發(fā)/客戶要求/設計優(yōu)化
    有限元分析 CAE仿真分析服務-企業(yè)/產(chǎn)品研發(fā)
    急尋熱仿真分析?代做熱仿真服務+熱設計優(yōu)化
    急尋熱仿真分析?代做熱仿真服務+熱設計優(yōu)化
    出評 開團工具
    出評 開團工具
    挖掘機濾芯提升發(fā)動機性能
    挖掘機濾芯提升發(fā)動機性能
    海信羅馬假日洗衣機亮相AWE  復古美學與現(xiàn)代科技完美結(jié)合
    海信羅馬假日洗衣機亮相AWE 復古美學與現(xiàn)代
    合肥機場巴士4號線
    合肥機場巴士4號線
    合肥機場巴士3號線
    合肥機場巴士3號線
  • 短信驗證碼 目錄網(wǎng) 排行網(wǎng)

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

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

    美腿丝袜在线亚洲一区| 久久久久午夜电影| 欧美日韩视频网站| 亚洲福利国产| 精品视频一区二区三区在线观看| 日韩精品免费观看视频 | 亚洲乱码一区| 日本不卡123| 日韩精品2区| 99国产成+人+综合+亚洲欧美| 综合激情网...| 亚洲一区二区日韩| 国产成人久久精品麻豆二区| 国产日韩专区| 久久综合99| 欧美三级乱码| 亚洲v天堂v手机在线| 国产精品久久久久久模特| а√天堂8资源在线| 日韩天堂av| 精品国产一区二区三区av片| 亚洲第一福利社区| 老鸭窝一区二区久久精品| 一区二区三区四区日本视频| 国产婷婷精品| 极品美女一区二区三区| 精品国内自产拍在线观看视频 | 嫩草伊人久久精品少妇av杨幂| 国产亚洲网站| 成人短片线上看| 久久精品成人| 青青草91久久久久久久久| 久久精品九色| 国产伦精品一区二区三区千人斩 | 免费黄色成人| 久久天堂成人| 色哟哟精品丝袜一区二区| 一本色道69色精品综合久久| 亚洲精品推荐| 美女久久99 | 日韩精品成人| 亚洲区小说区图片区qvod| 欧美日本精品| 欧美国产精品| 欧美黄色一区| 亚洲综合色网| 9999精品视频| 国产精品一区三区在线观看| 欧美日韩 国产精品| 亚洲精品四区| 永久亚洲成a人片777777| 欧美aaa在线| 麻豆精品视频在线观看| 影音先锋一区| 中文字幕乱码亚洲无线精品一区 | 激情亚洲另类图片区小说区| 亚洲天堂中文字幕在线观看 | 久久男人av| 91视频亚洲| 亚洲欧洲美洲国产香蕉| 日韩av中文字幕一区二区三区 | 日本在线不卡视频| 在线精品观看| 国产精区一区二区| 精品视频在线观看网站| 精品国产一区二区三区性色av | 蜜桃麻豆影像在线观看| 日韩在线第七页| 国产毛片精品久久| 国产精品久久国产愉拍| 麻豆精品国产传媒mv男同 | 日韩欧美看国产| 久久精品国产福利| 影音先锋在线一区| 国产日产精品_国产精品毛片| 日韩av中文字幕一区| 亚洲精品一区国产| 欧美日韩一区二区三区视频播放| 亚洲精品成人无限看| 欧美在线综合| 日韩美女一区二区三区在线观看| 香蕉久久一区| 欧美黄色免费| 99a精品视频在线观看| 欧美色就是色| 免费观看日韩电影| 国产 日韩 欧美一区| 久久精品五月| 日本中文字幕一区二区有限公司| 给我免费播放日韩视频| 午夜日本精品| 蜜臀国产一区| 麻豆精品一二三| 66精品视频在线观看| 香蕉久久网站| 四季av一区二区三区免费观看| 日韩深夜福利网站| 国产一区日韩| 欧美综合另类| 国产精品国产一区| 日韩精品高清不卡| 日本最新不卡在线| 国产精品97| 成人看片网站| 国产欧美日韩在线一区二区| 久久视频精品| 乱人伦视频在线| 亚洲欧洲日韩| 999国产精品视频| 蜜臀精品久久久久久蜜臀| 卡一卡二国产精品| 日韩欧美中文字幕在线视频| 狠狠综合久久av一区二区老牛| 日韩在线免费| 国产精品亚洲综合在线观看| 女一区二区三区| 日韩电影免费网址| 国产精品欧美在线观看| 欧美不卡在线| 日本成人一区二区| 精品久久亚洲| 在线亚洲欧美| 日韩国产一区二| 国产精品对白久久久久粗| 免费看欧美女人艹b| 亚洲精品三级| 蜜桃视频欧美| 国产一区高清| 红杏一区二区三区| 蜜桃视频一区二区| 亚洲精品在线二区| 在线日韩视频| 天天综合在线观看| 一区二区网站| 日韩理论视频| 日韩最新在线| 老牛嫩草一区二区三区日本 | 日韩免费福利视频| 亚洲1区在线观看| 97精品在线| 午夜精品福利影院| 久久久久久久欧美精品| 成人亚洲精品| 噜噜噜在线观看免费视频日韩| 国产精品mm| 99国产精品久久久久久久成人热 | 男女男精品网站| 亚洲区小说区| av中文在线资源库| 九九99久久精品在免费线bt| 国产精品久久久久久久免费观看| 亚洲免费观看高清完整版在线观| 性色一区二区三区| 亚洲婷婷伊人| 91日韩欧美| 99久久人爽人人添人人澡| 午夜欧美激情| 好吊妞视频这里有精品| 日韩精品麻豆| 亚洲午夜av| 欧美激情一级片一区二区| 国产精品日本| 亚洲欧洲美洲国产香蕉| 在线天堂中文资源最新版| 久久九九精品视频| 欧亚一区二区| 欧美亚洲国产一区| 国产精品porn| 免费在线看成人av| 国产一区调教| 国产日本精品| 视频一区二区中文字幕| 日韩美脚连裤袜丝袜在线| 亚洲欧洲自拍| 久久蜜桃精品| 你懂的成人av| 久草在线资源福利站| 女一区二区三区| 亚洲欧美久久精品| 综合日韩av| 亚洲韩日在线| 国产亚洲一区| 亚洲日本在线观看视频| 一区视频在线| 亚洲一区二区三区在线免费| 久久精品99国产精品日本| 99在线热播精品免费99热| 日韩激情精品| 亚洲日本黄色| 免费看av不卡| 好吊日精品视频| 91精品国产乱码久久久竹菊| 老鸭窝一区二区久久精品| 日韩成人精品一区二区| 欧美偷窥清纯综合图区| 国产午夜精品一区在线观看| 色综合天天色| 亚洲在线视频| 色愁久久久久久| 日韩av中文字幕一区二区三区|