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

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

CS 6290: High-Performance Computer Architecture

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


CS 62**: High-Performance Computer Architecture

Project 1

 

This project is intended to help you understand branch prediction and performance of out-of-order processors. You will again need the “CS62** Project VM” virtual machine, the same one we used for Project 0. Just like for Project 0, you will put your answers in the red-ish boxes in this Word document, and then submit it in Canvas (the submitted file name should now be PRJ1.docx).

In each answer box, you must first provide your answer to the actual question (e.g. a number). You can then use square brackets to provide any explanations that the question is not asking for but that you feel might help us grade your answer. E.g. answer 9.7102 may be entered as 9.7102 [Because 9.71+0.0002 is 9.7102]. For questions that are asking “why” and/or “explain”, the correct answer is one that concisely states the cause for what the question is describing, and also states what evidence you have for that. Guesswork, even when entirely correct, will only yield up to 50% of the points on such questions.

Additional files to upload are specified in each part of this document. Do not archive (zip, rar, or anything else) the files when you submit them – each file should be uploaded separately, with the file name specified in this assignment. You will lose up to 20 points for not following the file submission and CS 62**: High-Performance Computer Architecturenaming guidelines, and if any files are missing you will lose all the points for answers that are in any way related to a missing file (yes, this means an automatic zero score if the PRJ1.docx file is missing). Furthermore, if it is not VERY clear which submitted file matches which requested file, 代 寫CS 62**: High-Performance Computer Architecturewe will treat the submission as missing that file. The same is true if you submit multiple files that appear to match the same requested file (e.g. several files with the same name). In short, if there is any ambiguity about which submitted file(s) should be used for grading, the grading will be done as if those ambiguous files were not submitted at all.

Most numerical answers should have at least two decimals of precision. Speedups should be computed to at least 4 decimals of precision, using the number of cycles, not the IPC (the IPC reported by report.pl is rounded to only two decimals). You lose points if you round to fewer decimals than required, or if you truncate digits instead of correctly rounding (e.g. a speedup of 3.141592 rounded to four decimals is 3.1416, not 3.1415).

As explained in the course rules, this is an individual project: no collaboration with other students or anyone else is allowed.

Part 1 [20 points]: Configuration of the Branch[ Note that in this project “branch” is used to refer to all instructions that affect control flow, which includes branch instructions, but also jumps, function calls, etc. Also, “branch prediction” refers to the overall prediction of the address of the next instruction, not just the prediction of direction (taken or not taken).] Predictor

The hardware of the simulated machine is described in the configuration file. In this project we will be using the cmp4-noc.conf configuration file again, but this time we will modify this file so this is a good time to make a copy so we can restore the original configuration when we need it.

The processors (cores) are specified in the “cpucore” parameter near the beginning of the file. In this case, the file specifies that the machine has 4 identical cores numbered 0 through 3 (the procsPerNode parameter is 4), and that each core is described in section [issueX]. Going to section [issueX], we see that a core has a lot of parameters, among which we see that the clock frequency is set at 1GHz, that this is an out-of-order core (inorder set to false) which fetches, issues, and retires up to 2 instructions per cycle (the “issue” parameter is set to two earlier in the file). The core has a branch predictor described in the [BPredIssueX] section, fetches instructions from a structure called “IL1” described in the [IMemory] section (this is specified by the instrSource parameter, and reads/writes data from a structure called “DL1” described in the [DMemory] section. In this part of this project, we will be modifying the branch predictor, so let’s take a closer look at the [BPRedIssueX] section. It says that the type of the predictor is “Hybrid” (which does not tell us much), and then specifies the parameters for this predictor.

The “Hybrid” predictor is actually a tournament predictor. You now need to look at its source code (which is in BPred.h and BPRed.cpp files in the ~/sesc/src/libcore/ directory) and determine which of the parameters in the configuration file controls which aspect of the predictor. Hint: the “Hybrid” predictor is implemented in the BPHybrid class, so its constructor and predict method will tell you most of what you need to find out.

A)The meta-predictor in this hybrid predictor is a table that has                  entries and each entry is a                 –bit counter. This meta-predictor decides, based on the PC address (i.e. the address from which we fetched the branch/jump instruction), whether to make the prediction using a simple (no history) array of counters, or to use a (is it local or global?)                    history predictor. The simpler (non-history) predictor uses                  -bit counters, and has                   of them (this number is specified using a parameter label                 in the BPredIssueX section of the configuration file). The history-based predictor has                    bits of history, which are combined with the PC address to index into an array that has

                entries (this number of entries is specified in the configuration file using parameter label                ), and each entry is a                -bit counter.

Part 2 [30 points]: Changing the Branch Predictor

Now we will compare some branch predictors. The LU benchmark we used in Project 0 does not really stress the branch predictor, so we will use the raytrace benchmark: 

cd ~/sesc/apps/Splash2/raytrace

make

Now it is time to do some simulations:

A)Simulate the execution of this benchmark using the unmodified

cmp4-noc configuration (with the “Hybrid” predictor). The following should all be a single command line, which has a space before -ort.out. As before, the dashes in this command line should be the minus character but a copy-paste might result in something else that looks similar but is not a minus character, so be careful is you are copy-pasting.

~/sesc/sesc.opt -f HyA -c ~/sesc/confs/cmp4-noc.conf -ort.out -ert.err raytrace.mipseb -m128 Input/reduced.env

Then we will modify the configuration file, so make a copy of it if you did not do this already. Then change the configuration to model an oracle (perfect) direction predictor by changing the “type” of the predictor from “Hybrid” to “Oracle”, then and re-run the simulation (change the -f parameter to -f OrA so the simulation results are written to a different file). Note that overall branch prediction accuracy is not perfect in this case – only the direction predictor is perfect, but the target address predictor is a (non-oracle) BTB! After that, configure the processor to use a simple predict-not-taken predictor (type=”NotTaken”) and run the simulation again (now using -f NTA). Submit the three simulation report files (sesc_raytrace.mipseb.HyA, sesc_raytrace.mipseb.OrA, and sesc_raytrace.mipseb.NTA) in Canvas along with the other files for this project.

B)In the table below, for each simulation fill in the overall accuracy (number under BPred in the output of report.pl), the number of cycles, and the speedup relative to the configuration that uses the Hybrid predictor.

BPred Accuracy Cycles Speedup vs. Hybrid

NotTaken                             %                             C                             X

Hybrid                             %                             C                             X

Oracle                             %                             C                             X

C)Now change the processor’s renameDelay parameter (in the issuesX section of the configuration file) from 1 to 7. This makes the processor’s pipeline 6 stages longer. Repeat the three simulations, submit the simulation report files (sesc_raytrace.mipseb.HyC, sesc_raytrace.mipseb.OrC, and sesc_raytrace.mipseb.NTC) in Canvas along with the other files for this project.

 

 

D)In the table below, fill in the number of cycles with each type of predictor from Part A (simulations with the default pipeline depth) and from Part C (when the pipeline is 6 stages deeper), then compute the speedup of shortening the pipeline for each type of predictor, assuming that the clock cycle time stays the same (so the speedup can be computed using the number of cycles instead of execution time).

 

Cycles w/ renameDelay=1 Cycles w/ renameDelay=7 Speedup of changing renameDelay

from 7 to 1

NotTaken                             C                             C                             X

Hybrid                             C                             C                             X

Oracle                             C                             C                             X

E)The results in Part D) lead us to conclude that better branch prediction becomes (fill in either “more” or “less”)                  important when the processor’s pipeline depth increases. Now explain why the importance of branch prediction changes that way with pipeline depth:

 

 

 

 

 

 

F)From simulation results you have collected up to this point, there are at least two good ways to estimate how many cycles are wasted when we have a branch misprediction in the processor that has the default pipeline depth, i.e. what the branch misprediction penalty (in cycles) was for simulations in Part A). Enter your best estimate here                 and then explain how you got it:

 

 

 

 

 

 

 

 

 

 

Part 3 [50 points]: Which branches tend to be mispredicted?

In this part of the project we again use the cmp4-noc configuration. You should change it back to its original content, i.e. what it had before we modified it for Part 2. We will continue to use the Raytrace benchmark with the same parameters as in Part 2.

Our goal in this part of the project is to determine for each instruction in the program how many times the direction predictor (Hybrid or NotTaken) correctly predicts and how many times it mispredicts that branch/jump. The number of times the static branch/jump instruction was completed can be computed as the sum of two (correct and incorrect predictions) values for that static branch/jump instruction. You should change the simulator’s code to count correct and incorrect predictions for each static branch/jump instruction separately, and to (at the end of the simulation) print out the numbers you need to answer the following questions. The printing out should be in the order in which the numbers are requested below, and your code should not be changing the simulation report in any way. Then you should, of course, run the simulation and get the simulation results with the Hybrid and also with the NT predictor.

G)In both simulations, the number of static branch/jump instructions that are completed at least once but fewer than 20 times (i.e. between 1 and 19 completions) is                , the number of static branch/jump instructions with 20 to 199 completions is                 , the number of static branch/jump instructions with 200 and 1999 completions is                 , and the number of static branch/jump instructions with 2000+ completions is                 .

H)The accuracy for the direction predictor, computed separately for the four groups of static branch/jump instructions (**19, 20-199, 200-1999, and 2000+ completions), is a follows:

Hybrid Accuracy NT Accuracy


I)We cannot run the raytrace benchmark with a much larger input because the simulation time would become excessive. But if we did, concisely state what would happen to the overall direction predictor accuracy of the Hybrid predictor and of the NT predictor, and then explain why the predictor accuracy should change in the way you stated.

 

J)Submit the BPred.h and BPred.cpp files that you have modified to produce the numbers you needed for Part 3 of this project. If you have modified any other source code in the simulator, create an OtherCode.zip file that includes these files and submit it, too. Also submit the output of the simulator for the two runs (as rt.out.Hybrid and rt.out.NT) Note that there is no need to submit the simulation report files (these should be the same as those from Part A).

請加QQ:99515681  郵箱:99515681@qq.com   WX:codinghelp

















 

掃一掃在手機打開當前頁
  • 上一篇:菲律賓人來華旅游簽證延簽 延期申請流程
  • 下一篇:COMP2006代做、代寫GUI Framework
  • 無相關信息
    合肥生活資訊

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

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

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

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

          9000px;">

                麻豆成人在线视频| 国产成人精品综合久久久久99 | 国产原创中文av| 岛国毛片在线观看| 天天操夜夜操很很操| 日本熟伦人妇xxxx| 天堂中文av在线| 小早川怜子一区二区三区| 亚洲av熟女高潮一区二区| 性色av蜜臀av色欲av| 午夜成人亚洲理伦片在线观看| 日韩不卡高清视频| 午夜免费看视频| 在线免费观看毛片| 亚洲欧美国产日韩综合| 亚洲欧美小视频| а√中文在线资源库| 亚洲精品成人在线播放| 在线观看黄网站| 亚洲这里只有精品| 国产激情视频在线播放| 国产又黄又粗又猛又爽的| 韩国av电影在线观看| 欧美日韩午夜视频| 无码人妻精品一区二区三区温州 | 五月激情六月丁香| 在线观看一区二区三区四区| 亚洲精品97久久中文字幕| 99久久99精品| 狠狠人妻久久久久久综合麻豆| 国产在线拍揄自揄拍| 国产又大又长又粗| 青青青在线视频| 亚欧在线观看视频| 95视频在线观看| 黄色av网站免费观看| 日韩美一区二区| 熟妇高潮精品一区二区三区| 少妇视频在线播放| 亚洲精品午夜国产va久久成人| 国产a免费视频| 麻豆视频免费在线播放| 亚洲av无码一区二区二三区| 亚洲综合五月天婷婷丁香| 国产亚洲成人av| 日本国产在线观看| 最近中文字幕免费| 国产一级片免费看| 香港三日本8a三级少妇三级99| 91人人澡人人爽| 老熟妇高潮一区二区三区| 永久看片925tv| 国产精品 欧美激情| 日韩av无码一区二区三区不卡| 亚洲国产欧美另类| 国产污污视频在线观看| 无码人妻精品一区二区三| 国产99在线 | 亚洲| 人人澡人人澡人人看| www.四虎在线| 日韩一级片中文字幕| 中文字幕 国产| av免费一区二区| 欧美日韩一区二区区| 99精品欧美一区二区| 日本黄色一级网站| 国产91av在线播放| 五月婷婷狠狠操| 国产一二三四五区| 中文字幕在线观看精品| 精品久久久免费视频| 最新中文字幕av| 欧美一级特黄高清视频 | 手机看片一区二区| 91在线视频观看免费| 色欲一区二区三区精品a片| 亚洲男人在线天堂| 日本天堂网在线观看| jizzjizz日本少妇| 日本一区二区三区在线免费观看 | 一级特黄色大片| 日韩不卡av在线| 国产一级片av| 亚洲精品一二三四| 欧美精品久久久久久久久46p | 欧美日韩一二三四区| av加勒比在线| 一区两区小视频| 久久久久久久久久久久久久av| 亚洲污视频在线观看| 日日干夜夜操s8| 极品尤物一区二区| 99re6热在线精品视频| 一级在线免费视频| 欧美成人免费看| 国产精品自拍电影| 91av在线免费视频| 亚洲不卡在线视频| 欧美成人精品欧美一级| 国产精品久久777777换脸| 亚洲精品福利网站| 天天久久综合网| 欧美aaa级片| 精品一区免费观看| 国产日韩久久久| av在线网站观看| 亚洲国产综合一区| 午夜精品免费看| 日本韩国欧美中文字幕| 久久只有这里有精品| 国产又色又爽又黄又免费| 成 人 免费 黄 色| 999在线免费视频| 中文字幕在线播放av| 精品日韩在线视频| www.国产色| 99久久免费看精品国产一区| 99国产揄拍国产精品| 99精品人妻国产毛片| 99re这里只有| 992kp免费看片| 99精品视频免费版的特色功能| 97在线观看免费视频| 亚洲一区二区三区黄色| 中文字幕线观看| 亚洲国产天堂av| 91极品视频在线观看| 人妻一区二区三区| 亚洲国产午夜精品| 中文字幕在线观看你懂的| 国产少妇在线观看| 国产调教在线观看| 国产午夜视频在线| 久久精品99北条麻妃| 久久亚洲天堂网| 欧美日韩理论片| 亚洲va综合va国产va中文| 亚洲GV成人无码久久精品| 亚洲三级在线视频| a级片在线观看视频| 99精品999| 精品国产一二区| 美女日批在线观看| 午夜影院在线视频| 亚洲精品91天天久久人人| 国产999免费视频| 精品少妇久久久| 18精品爽视频在线观看| 国产又粗又猛又爽| 亚洲成人av免费在线观看| 中文字幕日韩第一页| 91高清免费看| 国产熟女一区二区三区五月婷| 午夜精品久久久久久久91蜜桃| 中文字幕丰满乱码| 99热这里只有精品99| 精品成人免费视频| 日韩人妻无码一区二区三区99| 亚洲不卡在线视频| 99国产在线播放| 久久久精品三级| 一区二区久久精品66国产精品| а√中文在线资源库| 毛片网站免费观看| 香蕉成人在线视频| 99久久精品无免国产免费| 国产又粗又猛又爽又| 久久精品综合视频| 婷婷免费在线观看| 91精品又粗又猛又爽| 久久精品国产亚洲av麻豆| 亚州av综合色区无码一区| 99久久99久久精品免费| 久久国产精品国语对白| 一区不卡在线观看| 国产精品国产三级国产专区52 | 欧美日韩激情在线观看| 一区二区视频免费| 国产精品毛片一区二区在线看舒淇| 久久久久久久高清| 中文字幕精品久久久| 国产偷人妻精品一区| 五月婷婷六月丁香综合| 成人黄色三级视频| 日产欧产va高清| 99精品久久久久| 日本少妇激三级做爰在线| 91theporn国产在线观看| 男人的天堂最新网址| 337p日本欧洲亚洲大胆张筱雨| 久久网免费视频| 亚洲一区二区三区网站| 欧美成人手机视频| jizz国产在线| 在线免费观看日韩av| 久久婷婷一区二区| www.av黄色| 最新国产黄色网址| 强乱中文字幕av一区乱码| 亚洲精品国产熟女久久久|