Processor 1 has a clock speed of 4.0 GHz with 32 KiB of L1 cache.
Processor 2 has a clock speed of 2.0 GHz with 64 KiB of L1 cache.
In order to decide which to buy, you estimate the time each processor will take to load a program with 10,000 RISC instructions into the processor’s registers and the time to execute the instructions.
Each RISC instruction has a size of 4 bytes.
Each RISC instruction takes one clock pulse to execute once it is in the registers.
o i.Show that a program consisting of 10,000 RISC instructions will fit into 64 KiB of L1 cache, but will not fit into 32 KiB of L1 cache
Answers
Answered by
7
Answer:
Processor 1 has a clock speed of 4.0 GHZ with 32 KIB of L1 cache. Processor 2 has a clock speed of 2.0 GHz With 64 KIB of L1 cache. In order to decide which to buy, you estimate the time each processor will take to load a program with 10000 RISC instructions into the processor’s registers and the time to execute the instructions. Each RISC instruction has a size of 4 bytes. Each RISC instruction takes one clock pulse to execute once it is in the registers. Show that a program consisting of 10000 RISC instructions will fit into 64 KIB of L1 cache, but will not fit into 32 KIB of L1 cache
Similar questions