5MD00: Single-Core Assignment Yifan He 2011-12-15.
-
date post
19-Dec-2015 -
Category
Documents
-
view
222 -
download
3
Transcript of 5MD00: Single-Core Assignment Yifan He 2011-12-15.
![Page 1: 5MD00: Single-Core Assignment Yifan He 2011-12-15.](https://reader030.fdocuments.net/reader030/viewer/2022032703/56649d2c5503460f94a01f65/html5/thumbnails/1.jpg)
5MD00: Single-Core Assignment
Yifan He2011-12-15
![Page 2: 5MD00: Single-Core Assignment Yifan He 2011-12-15.](https://reader030.fdocuments.net/reader030/viewer/2022032703/56649d2c5503460f94a01f65/html5/thumbnails/2.jpg)
• Build your own superscalar machine!
• How?
• A superscalar architecture simulator, with tunable hardware parameters– e.g., branch predictor type (always taken, always not
taken, bimodal, 2-level, …)
What is this assignment about?
![Page 3: 5MD00: Single-Core Assignment Yifan He 2011-12-15.](https://reader030.fdocuments.net/reader030/viewer/2022032703/56649d2c5503460f94a01f65/html5/thumbnails/3.jpg)
• SimpleScalar [1]
– Cycle-accurate– Can provide a lot of detailed information– Very popular single-core simulator
• Wattch [2]
– SimpleScalar + power information
Which simulator are we going to use?
[1]. http://www.simplescalar.com/ [2]. http://www.eecs.harvard.edu/~dbrooks/wattch-form.html
![Page 4: 5MD00: Single-Core Assignment Yifan He 2011-12-15.](https://reader030.fdocuments.net/reader030/viewer/2022032703/56649d2c5503460f94a01f65/html5/thumbnails/4.jpg)
• Performance– IPC (instruction per cycle)
• Performance & Energy Efficiency– EDP (energy-delay product)
What are our design metrics?
![Page 5: 5MD00: Single-Core Assignment Yifan He 2011-12-15.](https://reader030.fdocuments.net/reader030/viewer/2022032703/56649d2c5503460f94a01f65/html5/thumbnails/5.jpg)
What kind of parameters can we tune?
![Page 6: 5MD00: Single-Core Assignment Yifan He 2011-12-15.](https://reader030.fdocuments.net/reader030/viewer/2022032703/56649d2c5503460f94a01f65/html5/thumbnails/6.jpg)
• First Step: tune a specific parameter
What should we do with respect to these parameters?
For example, tune the parameter of branch predictor type (-bpred)
![Page 7: 5MD00: Single-Core Assignment Yifan He 2011-12-15.](https://reader030.fdocuments.net/reader030/viewer/2022032703/56649d2c5503460f94a01f65/html5/thumbnails/7.jpg)
• First Step: tune a specific parameter
What should we do with respect to these parameters?
For example, tune the parameter of branch predictor type (-bpred)
![Page 8: 5MD00: Single-Core Assignment Yifan He 2011-12-15.](https://reader030.fdocuments.net/reader030/viewer/2022032703/56649d2c5503460f94a01f65/html5/thumbnails/8.jpg)
• First Step: tune a specific parameter
What should we do with respect to these parameters?
Tune the parameter of bimodal branch predictor table size (-bpred:bimod)
.
.
.Table Size
2-bit pred.
2-bit pred.
Branch Ins. Addr.
![Page 9: 5MD00: Single-Core Assignment Yifan He 2011-12-15.](https://reader030.fdocuments.net/reader030/viewer/2022032703/56649d2c5503460f94a01f65/html5/thumbnails/9.jpg)
2-Level branch predictor
![Page 10: 5MD00: Single-Core Assignment Yifan He 2011-12-15.](https://reader030.fdocuments.net/reader030/viewer/2022032703/56649d2c5503460f94a01f65/html5/thumbnails/10.jpg)
• Second Step: Tune a few closely-related parameters (from the same group) together
e.g., decode width (-decode:width), issue width (-issue:width), and commit width (-commit:width)
Require insight into the superscalar architecture You can use a script to automate this!
What should we do with respect to these parameters?
![Page 11: 5MD00: Single-Core Assignment Yifan He 2011-12-15.](https://reader030.fdocuments.net/reader030/viewer/2022032703/56649d2c5503460f94a01f65/html5/thumbnails/11.jpg)
• Third Step: Tune a few related parameters (from different groups) together
e.g., issue width (-issue:width), and number of function units (-res:ialu, -res:imult)
You can use a script to automate this!
What should we do with respect to these parameters?
![Page 12: 5MD00: Single-Core Assignment Yifan He 2011-12-15.](https://reader030.fdocuments.net/reader030/viewer/2022032703/56649d2c5503460f94a01f65/html5/thumbnails/12.jpg)
• Individual Assignment
• Assignment Website:
https://sites.google.com/site/5md00sca
• Server Account:
Pick up one account from our secretary (PT9.24)
• Deadline
Jan. 9, 2012
Assignment information
![Page 13: 5MD00: Single-Core Assignment Yifan He 2011-12-15.](https://reader030.fdocuments.net/reader030/viewer/2022032703/56649d2c5503460f94a01f65/html5/thumbnails/13.jpg)
Questions?