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爱在线视频这里只有精品_窝窝午夜看片成人精品_日韩精品久久久毛片一区二区_亚洲一区二区久久

          9000px;">

                亚洲乱码中文字幕综合| 亚洲小少妇裸体bbw| 麻豆精品一区二区三区| 日韩一区二区高清| 国产伦精品一区二区三区视频青涩 | 加勒比av一区二区| 中文字幕一区二区三区精华液| 欧美在线一二三| 久久精品av麻豆的观看方式| 国产精品国产馆在线真实露脸 | 国产精品视频免费| 色av一区二区| 精品在线观看免费| 综合久久一区二区三区| 日韩精品最新网址| 91精品1区2区| 北岛玲一区二区三区四区| 婷婷久久综合九色综合伊人色| 国产亚洲va综合人人澡精品| 欧美视频一区二区在线观看| 成人av中文字幕| 久久精品国产99| 亚洲成人福利片| 国产精品成人午夜| 欧美精品一区二区三区视频| 在线免费亚洲电影| 成人精品视频一区二区三区尤物| 日韩高清一区二区| 亚洲蜜桃精久久久久久久| 久久精品一区八戒影视| 91精品国产综合久久精品| 色综合激情五月| 丁香天五香天堂综合| 裸体一区二区三区| 国产精品色哟哟网站| 欧美亚洲精品一区| 色综合久久久久综合体桃花网| 国产一区二区看久久| 麻豆精品精品国产自在97香蕉| 亚洲超碰精品一区二区| 一区二区三区蜜桃网| 国产精品乱人伦| 国产精品女主播av| 国产午夜精品一区二区三区视频| 日韩视频永久免费| 日韩一二三区不卡| 日韩精品中文字幕一区二区三区| 欧美肥胖老妇做爰| 日韩午夜在线影院| 欧美成人video| 久久免费精品国产久精品久久久久| 精品美女一区二区| 国产女人18毛片水真多成人如厕| 亚洲国产精品成人综合色在线婷婷| 欧美va亚洲va在线观看蝴蝶网| 日韩视频一区二区| 国产日韩欧美制服另类| 国产精品网站在线播放| 综合婷婷亚洲小说| 亚洲精品亚洲人成人网| 午夜亚洲福利老司机| 日本午夜精品视频在线观看| 麻豆一区二区三区| 成人综合婷婷国产精品久久蜜臀| 91亚洲男人天堂| 欧美日韩不卡一区| 久久久99久久| 亚洲一级片在线观看| 久久99国产精品久久99| 国产成人在线观看免费网站| av在线不卡观看免费观看| 欧美性色aⅴ视频一区日韩精品| 在线不卡中文字幕播放| 久久免费午夜影院| 亚洲免费资源在线播放| 日韩国产欧美在线观看| 国产精品一区三区| 91久久一区二区| 久久众筹精品私拍模特| 亚洲色图一区二区| 麻豆视频一区二区| 在线观看亚洲精品| 国产女同性恋一区二区| 午夜激情一区二区三区| 成人美女在线观看| 91精品国产91久久综合桃花| 国产精品国产成人国产三级 | 欧美zozo另类异族| 亚洲女同一区二区| 国产在线视视频有精品| 欧美日韩一区不卡| 综合激情成人伊人| 国产精品一区在线观看你懂的| 日本韩国精品一区二区在线观看| 久久一留热品黄| 午夜精品免费在线| 日本乱人伦aⅴ精品| 国产精品天干天干在观线| 美日韩一区二区| 欧美日韩国产综合一区二区| 国产精品素人一区二区| 国产一区二三区好的| 99久久精品久久久久久清纯| 精品国产一区二区三区av性色| 亚洲成人一区二区在线观看| 99精品久久99久久久久| 中文字幕二三区不卡| 国产一二三精品| 精品国产髙清在线看国产毛片| 亚洲午夜电影在线观看| 91麻豆免费在线观看| 国产欧美日韩不卡| 国产 日韩 欧美大片| 久久美女高清视频| 国产精品一区三区| 国产视频一区在线播放| 国产一区二区三区久久悠悠色av| 欧美大黄免费观看| 九九热在线视频观看这里只有精品| 6080午夜不卡| 日韩高清不卡一区二区三区| 欧美久久久久中文字幕| 日韩成人精品在线| 日韩一区二区免费高清| 精品一区二区三区免费观看 | 亚洲第一精品在线| 欧美调教femdomvk| 五月天久久比比资源色| 欧美一区二区三级| 久久精品国产99| 国产欧美视频一区二区三区| 大尺度一区二区| 亚洲天堂网中文字| 欧美视频在线一区二区三区 | 五月婷婷色综合| 欧美一区二区三级| 国产精品自拍在线| 中文字幕一区二区三区不卡在线 | 成人av电影在线网| 一区二区三区在线视频观看 | 日韩毛片高清在线播放| 97aⅴ精品视频一二三区| 亚洲免费av高清| 欧美一级二级在线观看| 国产成人啪免费观看软件| 亚洲伦在线观看| 日韩视频国产视频| 国产成人精品亚洲日本在线桃色 | 欧美日韩电影一区| 国产一区二区三区在线观看精品 | 麻豆精品一区二区av白丝在线| 欧美成人一区二区三区片免费| 国产高清不卡一区| 亚洲综合视频网| 精品福利一区二区三区免费视频| 99视频有精品| 久久成人综合网| 亚洲免费在线看| 精品精品欲导航| 欧洲一区在线电影| 国产麻豆午夜三级精品| 一区二区在线看| 久久无码av三级| 在线免费一区三区| 成人一区在线观看| 麻豆成人在线观看| 亚洲日本护士毛茸茸| 日韩免费一区二区| 国产成人免费av在线| 午夜私人影院久久久久| 国产欧美综合色| 精品少妇一区二区三区日产乱码| 一本色道亚洲精品aⅴ| 麻豆国产精品视频| 亚洲成av人影院在线观看网| 亚洲国产经典视频| 精品日韩欧美在线| 欧美日韩国产不卡| 色综合久久88色综合天天| 成人一区二区三区视频在线观看| 日本成人在线电影网| 亚洲电影第三页| 亚洲激情欧美激情| 亚洲欧洲精品成人久久奇米网| 2020日本不卡一区二区视频| 91精品一区二区三区久久久久久| 波多野结衣视频一区| 国产91精品在线观看| 久久成人18免费观看| 亚洲第一久久影院| 亚洲精品写真福利| 中文字幕中文乱码欧美一区二区| 久久久天堂av| 精品国产一区二区三区久久影院 | 欧美伊人精品成人久久综合97 | 日韩欧美一级二级| 欧美一区二区三区视频在线观看| 欧美日韩高清影院| 欧美老年两性高潮| 欧美顶级少妇做爰|