This preview shows page 1. Sign up to view the full content.
Unformatted text preview: per program Computer 1 is now the fastest according to the weighted arithmetic mean. Computer 1 is 28/15 times faster than Computer 2 or (28/151) * 100% = 1300/15% = 87% faster . Computer 1 is 21/15 times faster than Computer 3 or (21/151) * 100% = 600/15% = 40% faster . 2. Suppose a computer runs at 2GHz. This computer runs an MPEG4 video encoder that takes 1 billion instructions, and has the following distribution of instructions. How long does it take the program to complete? 20% Floating point CPI = 3 10% Integer CPI = 1 30% Load CPI = 2 20% Store CPI = 1 15% Branches CPI = 4 5% Other CPI = 1.5 Effective CPI = 20% (3) + 10% (1) + 30% (2) + 20% (1) + 15% (4) + 5% (1.5) = 0.6 + 0.1 + 0.6 + 0.2 + 0.6 + 0.075 = 2.175 CPU Time = IC * CPI * CCT = (10 9 instr) * 2.175 * (5 x 1010 seconds)...
View Full
Document
 Spring '08
 SMALL

Click to edit the document details