4 ms·
>our naive random-memory model Doesn't everyone use the (I believe) still valid concepts of latency and bandwidth?
by jayd16 6y ago
>our naive random-memory model
Doesn't everyone use the (I believe) still valid concepts of latency and bandwidth?
- wyldfire 6y agoHow do latency and bandwidth relate to the cost model for the code in the benchmark? When creating the model discussed in the post, we're using it to try to make a static prediction about how the code will execute. Note that the goal of the post is not to merely measure the memory access performance, it's to understand the specific microarchitecture and how it might deliver the benefits that we see in benchmarks.
- whoisburbansky 6y agoThe concepts are still broadly valid, the naivety being referred to is the assumption that two non adjacent memory reads will be twice as slow as one memory read or two adjacent reads.
- sroussey 6y agoDepends on context. For example, what is the bandwidth and latency when you ask for the value at the same memory address in an infinite loop? And how does that compare to the latency and bandwidth of a memory module you buy on NewEgg?
- fluffy87 6y agoL1 BW. When people use BW in their performance models, they don’t use only 1 bandwidth, but whatever combination of bandwidth makes sense for the _memory access pattern_. So if you are always accessing the same word, the first acces runs at DRAM BW, and subsequent ones at L1 BW, and any meaningful performance model will take that into account.