logo

Assignment on Advanced Computer Architecture

4 Pages580 Words253 Views
   

Added on  2020-04-13

Assignment on Advanced Computer Architecture

   Added on 2020-04-13

ShareRelated Documents
Running Head: ADVANCED COMPUTER ARCHITECTURE1Advanced Computer ArchitectureInstitutionNameDate
Assignment on Advanced Computer Architecture_1
ADVANCED COMPUTER ARCHITECTURE2PROBLEM 1(i)Cycles need to service a cache miss Without “critical word first and early restart”Time (in cycles) =cycles for first chunk+ cycles for remaining three chunks.It requires 208 cycles for the first 32 bytes and 2 cycles for the next 3 cycles eachNumber of cycles = (2 × 120) + (2×3) = 246(ii)Cycles need to service a cache miss With “critical word first and early restart”Wait only for the first 32 byte to be transferred.Time in cycles = time to transfer 32 bytesNumber of cycles = (1 × 208) = 208PROBLEM 2We first find the clock cycles per instruction.CPI = base CPI + Remote request rate × Remote request cost= 1.0 + 5% × Remote request costAnd Remote request cost = Remote access cost/ cycle time= 300ns/1ns = 300.Thus CPI = 1.0 + (0.05*300) = 16Now, the multiprocessor with all local references is 16/1.0 =17.0 times faster.Practically, analysis of performance is more complex because a fraction of the non-communication references will not be available in the local hierarchy and the remote access time doesn’t have a single constant value.PROBLEM 3The total DRAM memory = 2.5 × 12 × 10^9 bytes J/seconds= 30 × 10^9 J/sThe total energy required to read or write cache-line to flash and DRAM =2 × 32 × (4 × 10^-6 + 1.5 × 10^-6)= 3.52 × 10 ^-4 JNow the time a system will be idle is = 3.52 × 10 ^-4 J/30 × 10^9 J/sThus 3.52×104J30×109J/s = 1.17 × 10^-4 seconds
Assignment on Advanced Computer Architecture_2

End of preview

Want to access all the pages? Upload your documents or become a member.