Finding Memory System Latency: Interleaving Effects

AI Thread Summary
To determine memory system latency, the architecture significantly influences the results, with serially architected memory exhibiting longer latency but higher bandwidth compared to random access memory. The discussion revolves around calculating latency given specific parameters like bandwidth, precharge time, and data transfer size, particularly in scenarios with and without memory interleaving. A general latency equation used for hard drives is not applicable to system memory, prompting the need for a more relevant formula. The user seeks clarification on how to apply these concepts to their homework question involving specific bandwidth and interleaving conditions. The conversation highlights the complexity of memory latency calculations and the importance of understanding the underlying architecture.
Knowledge92
Messages
3
Reaction score
0
I've been searching for some type of equation or explanation of how to find the latency (access time) of a memory system when given the bandwidth, the precharge (refreshing) time between accesses, and how many bytes of data are being transferred...

Also I am not sure as to how memory interleaving would change this latency...

Any help is greatly appreciated!
 
Technology news on Phys.org


It depends on the architecture of the memory, so I don't think there is a general relation. A serially architected memory can have a very long latency, but then a very high bandwidth once you've arrived at the correct location, while a random access memory will have a much smaller latency.
 


Thanks for that information, but maybe it'd help if I just posted my homework question:

Assume a memory system has a bandwidth of 120 MBytes (M = 2^20) per second and has aprecharge (refreshing) of 5 ns between accesses. What is the memory systems latency (access time) for the following two cases?

a. Two bytes of data are transferred and memory interleaving is not used.

b. 4-way memory interleaving is used and each module is able to transfer two bytes per access.

I am unsure how to start this. I found a computer engineering equation that latency = seek time + rotational delay + transfer time + controller delay, but I have no idea how to apply this general form of a latency equation (or if I am supposed to use this equation at all) to this type of problem.

Thank you very much!
 


Knowledge92 said:
latency = seek time + rotational delay + transfer time + controller delay
This is a formula used for hard drives, not system memory.
 


rcgldr said:
This is a formula used for hard drives, not system memory.

OK.. is there a formula for the latency of system memory/what is it?
 
Dear Peeps I have posted a few questions about programing on this sectio of the PF forum. I want to ask you veterans how you folks learn program in assembly and about computer architecture for the x86 family. In addition to finish learning C, I am also reading the book From bits to Gates to C and Beyond. In the book, it uses the mini LC3 assembly language. I also have books on assembly programming and computer architecture. The few famous ones i have are Computer Organization and...
I have a quick questions. I am going through a book on C programming on my own. Afterwards, I plan to go through something call data structures and algorithms on my own also in C. I also need to learn C++, Matlab and for personal interest Haskell. For the two topic of data structures and algorithms, I understand there are standard ones across all programming languages. After learning it through C, what would be the biggest issue when trying to implement the same data...
Back
Top