- You Go To Best Buy And Find Two Computers On Sale Both For 499 You Would Like To Purchase The One That Will Be Faster 1 (23.73 KiB) Viewed 28 times
You go to Best Buy and find two computers on sale both for $499. You would like to purchase the one that will be faster
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am
You go to Best Buy and find two computers on sale both for $499. You would like to purchase the one that will be faster
You go to Best Buy and find two computers on sale both for $499. You would like to purchase the one that will be faster for your processes (collectively "workload"). 10% of the instructions in your workload are memory instructions. You choose to apply ideas from CMPSC 473 to compare their cycles per instruction (CPI). Computer A has an older CPU (slower and no hardware cache) but uses a faster Flash-based swap disk • CPU speed is 1 GHz • non-memory instructions take 1 cycle each due to pipelining • TLB hit rate is 0.99 • The page fault rate is 0.01 • The roundtrip latencies between relevant elements are as follows: CPU to TLB: 1 ns CPU to DRAM: 100 n CPU/DRAM to swap disk: 5,000,000 ns Computer B has a faster CPU with an L1 cache but a S.L.O.W, magnetic disc • CPU speed is 2 GHz non-memory instructions take 1 cycle each due to pipelining TLB hit rate is 0.99 .There is an L1 cache offering a hit rate of 0.95. The L1 cache is physically addressed. There are no other hardware caches The page fault rate is 0.01 •The roundtrip latencies between relevant elements are as follows: CPU to TLB: 1 ms CPU to L1: 2 ms CPU to DRAM: 100 ms CPU/DRAM to swap disk: 10.000.000 ns What average CPls do you estimate these computers might offer you? Which one will you buy?