Question
I know the question is long, but please answer both parts it would really help. Thanks. I can also provide extra unfo if needed. Whats
I know the question is long, but please answer both parts it would really help. Thanks. I can also provide extra unfo if needed.
Whats the last non-zero digit of your ID? 6
Whats that number times 4? 24 Thats your tax percentage.
Practice problem
For the example, Im using 18% penalty (which I realize isnt 4 times anyones ID digit) and 3.5GHz core speed. Youll see in row 2 that I got 1.48E8 by adding 18% to the original IC for math instructions. The CPI doesnt change, but the total cycles does. I calculated all the fields in yellow as if they were blank when I started.
Multicore penalty | 18 | % |
Core speed | 3.5 | GHz |
Math IC | CPI for Math | Cycles across Math IC | L/S IC | CPI for LS | Cycles across L/W IC | Branch IC | CPI for Branch | Cycles across Branch IC | Total Cycles | Execution Time | Speedup | |
Original IC for 1 core | 1.25E+08 | 6.6 | 8.25E+08 | 1.54E+08 | 7.1 | 1.09E+09 | 2.36E+08 | 2.7 | 6.37E+08 | 2.56E+09 | 0.7302 | 1.00 |
New IC with "tax" | 1.48E+08 | 6.6 | 9.74E+08 | 1.82E+08 | 7.1 | 1.29E+09 | 2.78E+08 | 2.7 | 7.52E+08 | 3.02E+09 | 0.8616 | 0.85 |
Now its your turn. Use the penalty (the tax) you calculated above from your student ID. Fill it in here again. The processor speed is given to you. Then fill in the missing fields in the table. What you are calculating is the extra instructions and thus the extra cycles and time required from deciding to add code to handle coordination. Next well spread your program with extra instructions across multiple cores.
Multicore penalty | % | |
Core speed | 3.7 | GHz |
Math IC | CPI for Math | Cycles across Math IC | L/S IC | CPI for LS | Cycles across L/W IC | Branch IC | CPI for Branch | Cycles across Branch IC | Total Cycles | Execution Time | Speedup | |
Original IC for 1 core | 1.09E+08 | 1.8 | 1.75E+08 | 3.0 | 2.20E+08 | 6.9 | 1.00 | |||||
New IC with "tax" |
| 1.8 |
|
| 3.0 |
|
| 6.9 |
|
|
|
|
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started