Docsity

Weekly_assignment_2 architecture, Exercises of Architecture

Toggle sidebar
bg1
HOMEWORK ASSIGNMENT – 2
Textbook page no 160:
2.36:
Given information:
For DDR2-667 DIMMs 6.67 L2 misses per 1k instructions
Miss Rate = 6.67/1000=0.0067/s
Total cores: 8
Speed of each core: 3.0 Ghz(3000MHz)
L2 cache line size is 32 Bytes
Instructions per second =
Clock frequency
CPI
=
8cores × 3GHz/2.0 CPI
= 12 billion instructions per second.
Memory1Accesses1per1Second= IPS×Miss1Rate
This will generate 12 × 0.00667 = 0.08 billion = 80 million level-2 misses per second.
With the burst length 8, this would be 80 × 32B = 2560MB/sec.
If the memory bandwidth is sometimes 2X this, it would be 5120MB/sec.
2 * 2560 = 5120
Bandwidth1per1Channel=Data1Rate×Bus1Width=6671million1transfers/sec×81bytes/
transfer=53361MB/s
Number of Channels=Bandwidth per Channel
Peak Memory Bandwidth =5120
5336 ≈0.96
Since one DDR2-667 channel provides 5336 MB/s, slightly more than the peak
bandwidth requirement of 5120 MB/s, one memory channel is sufficient to meet the
peak bandwidth requirement.
pf2

Partial preview of the text

Download Weekly_assignment_2 architecture and more Exercises Architecture in PDF only on Docsity!

HOMEWORK ASSIGNMENT – 2

Textbook page no 160: 2.36: Given information: For DDR2-667 DIMMs 6.67 L2 misses per 1k instructions Miss Rate = 6.67/1000=0.0067/s Total cores: 8 Speed of each core: 3.0 Ghz(3000MHz) L2 cache line size is 32 Bytes Instructions per second = Clock frequency CPI = 8 cores^ ×^^3 GHz^ /2.0^ CPI = 12 billion instructions per second. Memory Accesses per Second= IPS×Miss Rate This will generate 12 × 0.00667 = 0.08 billion = 80 million level-2 misses per second. With the burst length 8, this would be 80 × 32B = 2560MB/sec. If the memory bandwidth is sometimes 2X this, it would be 5120MB/sec. 2 * 2560 = 5120 Bandwidth per Channel=Data Rate×Bus Width=667 million transfers/sec×8 bytes/ transfer=5336 MB/s Number of Channels = Bandwidth per Channel Peak Memory Bandwidth

Since one DDR2-667 channel provides 5336 MB/s, slightly more than the peak bandwidth requirement of 5120 MB/s, one memory channel is sufficient to meet the peak bandwidth requirement.

a. Which type of DRAM would be expected to provide the higher system performance? Explain why. Given Information: 2 GB * 8 DRAMs (with 8 banks) 1 GB * 8 DRAMs (with 8 banks) Both configurations have 2 GB total capacity but differ in DRAM density. Page Size:  The page size for both DRAM types is 1 KB.  The cache line size is 64 bytes. Systems that implement 8-bank 2 Gb 8 DDR2 DRAMs are expected to provide higher system performance than those that use 8-bank 1 Gb 8 DDR2 DRAMs. The reason behind this is the fact that larger capacity DRAMs can accommodate more data at once, leading to more efficient execution of applications and programs. Efficiency, in this case, refers to how quickly certain operations can be carried out, which directly impacts the overall system performance. b. How does a 2 GB DIMM made of 1 Gb * 8 DDR2 DRAMs compare with a DIMM with similar capacity made of 1 Gb * 4 DDR2 DRAMs in terms of power? 1 GB * 8 DRAMs: Each chip has 8 banks, so fewer chips are required to achieve 2 GB of capacity.  2 GB = 2048 MB = 16 (1 Gb) chips × 8 banks = 16 chips. 1 GB * 4 DRAMs: Each chip has only 4 banks.  2 GB = 2048 MB = 32 (1 Gb) chips × 4 banks = 32 chips. When it comes to power consumption, a 2 GB DIMM made of 1 Gb 8 DDR2 DRAMs would consume a similar amount of power as a DIMM of similar capacity made of 1 Gb 4 DDR2 DRAMs. This is based on the assumption that DRAMs that are not active are in a pre-charged standby mode and hence, they dissipate negligible power. It's important to highlight that the large amount of DRAM power comes from page activations, and not from the given standby state.