Workshop Week 1

You might also like

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 2

Sebastian López Osorio - T00049250

Workshop Week 1.

Assume a color display using 8 bits for each of the primary colors (red, green, blue) per
pixel and a frame size of 1280 × 1024.
a. What is the minimum size in bytes of the frame buffer to store a frame?

R/= 1280 ×1024 × 3=3932160 bytes

b. How long would it take, at a minimum, for the frame to be sent over a 100Mbit/s
network?

R/= 3,932,160 bytes ×8=31,457,280 bit

100 Mbit ×106 =108 bit

108 bit →1 seg


31,457,280 bit → x

31,457,280 bit
x= =0.3145 s
bit
108
s

The results of the SPEC CPU2006 bzip2 benchmark running on an AMD Barcelona has
an instruction count of 2.389E12, an execution time of 750 s, and a reference time of 9650
s.
1. Find the CPI if the clock cycle time is 0.333ns.
R/= Datos:
Instruction count=2.389 ×1012
Execution time=750 s
Clock cycle time=0.333ns →0.333 ×10−9 s

Execution time=clock cycles ×cycle time


750
clock cycle= −9
=2.25 ×1012
0.333 ×10
clock cycles=instruction count ×CPI
2.25 ×1012
CPI= =0.94
2.389 ×1012

2. Find the increase in CPU time if the number of instructions of the benchmark is
increased by 10% and the CPI is increased by 5%.
R/=
[ ]
Instruciton time= ( ( 2.389 ×1012 ) × ( 1.1 ) ) × ( ( 0.94 ) × ( 1.05 ) ) × ( 0.333 ×10−9 ) =863.71
863.71
Increase= =15.1%
750

You might also like