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

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

代做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程序設計代寫
  • 無相關信息
    合肥生活資訊

    合肥圖文信息
    流體仿真外包多少錢_專業CFD分析代做_友商科技CAE仿真
    流體仿真外包多少錢_專業CFD分析代做_友商科
    CAE仿真分析代做公司 CFD流體仿真服務 管路流場仿真外包
    CAE仿真分析代做公司 CFD流體仿真服務 管路
    流體CFD仿真分析_代做咨詢服務_Fluent 仿真技術服務
    流體CFD仿真分析_代做咨詢服務_Fluent 仿真
    結構仿真分析服務_CAE代做咨詢外包_剛強度疲勞振動
    結構仿真分析服務_CAE代做咨詢外包_剛強度疲
    流體cfd仿真分析服務 7類仿真分析代做服務40個行業
    流體cfd仿真分析服務 7類仿真分析代做服務4
    超全面的拼多多電商運營技巧,多多開團助手,多多出評軟件徽y1698861
    超全面的拼多多電商運營技巧,多多開團助手
    CAE有限元仿真分析團隊,2026仿真代做咨詢服務平臺
    CAE有限元仿真分析團隊,2026仿真代做咨詢服
    釘釘簽到打卡位置修改神器,2026怎么修改定位在范圍內
    釘釘簽到打卡位置修改神器,2026怎么修改定
  • 短信驗證碼 豆包網頁版入口 破天一劍 目錄網 排行網

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

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

    国产人妻人伦精品_欧美一区二区三区图_亚洲欧洲久久_日韩美女av在线免费观看
    欧美综合激情网| 国产乱码精品一区二区三区日韩精品 | 国产精品久久久久免费a∨大胸| 无码无遮挡又大又爽又黄的视频| 国产免费一区二区三区香蕉精 | 91精品国产91久久久久久| 久久艹在线视频| 精品视频一区二区在线| 国产精品视频网址| 欧美日韩在线播放一区二区| 久久riav| 日韩 欧美 高清| 91精品国产综合久久男男| 中文字幕一区二区三区有限公司| 国产日韩在线亚洲字幕中文| 久久成人一区二区| 国产欧美日韩亚洲精品| 久久99久国产精品黄毛片入口| 国模吧一区二区三区| 国产精品久久一区主播| 国产在线精品自拍| 欧美精品手机在线| 国产青草视频在线观看| 久久久久国产精品一区| 粉嫩av免费一区二区三区| 欧美精品久久久久a| 国产精品一级久久久| 在线视频不卡一区二区| 91美女片黄在线观看游戏| 亚洲va码欧洲m码| 国产福利一区二区三区在线观看| 视频一区二区精品| 久久免费少妇高潮久久精品99| 日本精品一区二区三区不卡无字幕| 国产成人精品免费视频大全最热| 日本高清视频一区| 国产精品私拍pans大尺度在线| 国模精品娜娜一二三区| 久久久久久国产精品| 91精品国产综合久久久久久蜜臀 | 国产深夜男女无套内射| 在线观看福利一区| 久久手机在线视频| 欧美又大粗又爽又黄大片视频| 国产精品私拍pans大尺度在线| 国产中文一区二区| 亚洲欧洲一区二区| 久久精品国产第一区二区三区最新章节 | 久久精品国产sm调教网站演员| 欧美 日韩 国产 激情| 久久综合免费视频| 国产欧美精品在线播放| 视频在线99| 国产精品久久久久免费| av免费精品一区二区三区| 日本一本中文字幕| 国产精品久久久久不卡| 91精品视频在线播放| 欧美一区视频在线| 九九热在线精品视频| 国产妇女馒头高清泬20p多| 欧美不卡福利| 亚洲影视九九影院在线观看| 色婷婷综合久久久久中文字幕1| 国产亚洲欧美一区二区| 日本一区二区三区www| 久热99视频在线观看| 成人亚洲欧美一区二区三区| 日本高清视频一区二区三区| 蜜月aⅴ免费一区二区三区| 久久免费一区| 免费亚洲一区二区| 日本一区二区三区视频在线播放 | 这里只有精品66| 久久久久久久久久久久久久一区| 国产欧美日韩中文字幕在线| 污污污污污污www网站免费| 国产精品毛片a∨一区二区三区|国| 99在线视频免费观看| 日韩中文字幕av在线| 欧美精品一区在线播放| 九九热只有这里有精品| 国产精品午夜视频| 欧美亚洲免费高清在线观看| 亚洲专区中文字幕| 国产精品久久久久久久久久久新郎 | 九色91国产| 91精品国产乱码久久久久久蜜臀 | 免费观看亚洲视频| 日本高清视频精品| 亚洲在线免费观看| 欧美成人一区在线| 日韩视频在线免费| 久久亚洲国产成人精品无码区| 国产三级精品在线不卡| 欧洲中文字幕国产精品| 午夜精品亚洲一区二区三区嫩草 | 国内精品久久久久伊人av| 亚洲va国产va天堂va久久| 欧美激情第三页| 久久久国产视频91| 国产成人一区二| 91精品久久久久久久久| 国产日韩欧美在线看| 欧美日韩亚洲在线| 人妻无码一区二区三区四区| 亚洲不卡中文字幕| 一本色道久久99精品综合| 久99九色视频在线观看| 国产精品成人国产乱一区| 国产精品视频999| 久久韩国免费视频| 国产不卡av在线| 久久综合婷婷综合| 91精品国产一区| 91免费的视频在线播放| 操人视频欧美| 国产精品一区二| 俄罗斯精品一区二区| 国产欧美最新羞羞视频在线观看| 国产真实乱子伦| 国产日韩欧美综合| 国产日韩二区| 国产青青在线视频| 国产伦精品一区二区三区视频孕妇 | 欧美精品激情在线| 欧美日本精品在线| 国产99在线免费| 中文字幕日本最新乱码视频| 久久久久久69| 亚洲成熟丰满熟妇高潮xxxxx| 亚洲精品自在在线观看| 亚洲 中文字幕 日韩 无码| 婷婷精品国产一区二区三区日韩| 亚洲aⅴ日韩av电影在线观看| 五月天综合婷婷| 日本在线精品视频| 日韩av一区二区三区在线观看 | 国产欧美在线看| 豆国产97在线| 68精品久久久久久欧美| 久久草.com| 国产精品久久久久久亚洲调教| 精品伦精品一区二区三区视频| 欧美激情乱人伦| 亚洲在线视频一区二区| 欧美一级视频免费在线观看| 日本久久久久亚洲中字幕| 欧美日韩高清免费| 国产欧美精品一区二区| 99国内精品久久久久久久软件| www亚洲国产| 国产高清不卡av| 国产精品视频资源| 欧美日韩福利视频| 天堂一区二区三区| 欧美日韩在线高清| 国产欧美日韩亚洲精品| 91久久偷偷做嫩草影院| 国产不卡精品视男人的天堂| 日韩专区中文字幕| 国产精品国模在线| 亚洲乱码一区二区三区| 热门国产精品亚洲第一区在线| 免费不卡av在线| 91久久偷偷做嫩草影院| 日韩在线精品视频| 欧美精品在线播放| 日韩 欧美 高清| 国产在线999| 国产精彩免费视频| 国产精品日本一区二区| 亚洲一区二区三区色| 秋霞无码一区二区| 国产女人水真多18毛片18精品| 成人精品在线视频| 日韩视频在线观看免费| 中文网丁香综合网| 欧美精品自拍视频| av一区二区三区免费观看| xxxx性欧美| 亚洲一区二区三区免费看| 欧美激情国产精品日韩| 波多野结衣成人在线| 久久久国产精彩视频美女艺术照福利| 久久久久久国产精品三级玉女聊斋| 日韩女在线观看| av在线亚洲男人的天堂| 国产精品网红福利| 三区精品视频| 国产情人节一区| www.日韩视频| 午夜一区二区三区| 国产日韩精品电影| 久久精品99久久香蕉国产色戒| 亚洲中文字幕无码不卡电影 | 亚洲日本精品国产第一区| 男女视频网站在线观看| 7777奇米亚洲综合久久| 欧美激情xxxxx|