Presentation is loading. Please wait.

Presentation is loading. Please wait.

Interleaved Multi-Bank Scratchpad Memories: A Probabilistic Description of Access Conflicts DAC '15, June 07 - 11, 2015, San Francisco, CA, USA.

Similar presentations


Presentation on theme: "Interleaved Multi-Bank Scratchpad Memories: A Probabilistic Description of Access Conflicts DAC '15, June 07 - 11, 2015, San Francisco, CA, USA."— Presentation transcript:

1 Interleaved Multi-Bank Scratchpad Memories: A Probabilistic Description of Access Conflicts DAC '15, June 07 - 11, 2015, San Francisco, CA, USA

2 Background Shared on-chip memory with multiple separately accessible banks having a common address space for all processors Advantage: efficient communication between processors Disadvantage: interference among the processors Solution: more banks, optimizing the address mapping

3 Address Mapping contiguous mapping pseudo-random mapping sequentially interleaved mapping (SIM) The aim of this work is to quantitatively evaluate the properties and characteristics of SIM systems.

4 Outline Background Problem definition Occupancy distribution Markov model Evaluation

5 Problem Definition We consider a platform with c processor cores and b independently accessible memory banks. the access probability and the sequential access probability. A denotes the random number of accesses requested in any given cycle, and I represents the number of banks serving accesses in any given cycle. Given c, b,, and, compute the distribution of the number I of memory banks serving accesses.

6 The classic occupancy distribution Actual memory accesses a, a=c

7 Adding access probabilities A follows the binomial distribution

8 Limitations of the model Sequential access patterns of the applications cannot be taken into account. It ignores the fact that accesses that cannot be immediately served are served in subsequent cycles, then interfering with new accesses.

9 Markov Model

10 Memory throughput by Markov steady state

11 Transition probabilities For a state s, the associated throughput is

12 Adding sequential access patterns

13 s  t 1. s  s’, one access request removed from each’s queue 2. s’  t, distributing new access requests

14 Adding access probabilities

15 Experiment evaluation gem5 ARM simulator. The GSM, FFT, blowfish, string search and JPEG examples were chosen to obtain a high diversity in behaviour.

16 Accuracy of the occupancy model For a small number of banks, the throughput is likely to be close to that number. For a sufficiently large number of banks, the number of waiting accesses is small. The maximum relative error is of 12.0% for b=8.

17 Benchmark Results

18 Conclusions from the occupancy model As long as the ratio of banks and cores is constant, a system can be arbitrarily scaled without changing the throughput expectation per bank or per core. The throughput converges exponentially with the product pa*r to the maximum value b. For pa*r <0.3, the throughput can be regarded as growing approximately linearly with pa.

19 Application example: System design System with c=16 cores and b=32 banks. System 1: interleaving over all 32 banks. System 2: interleaving for 16 banks + one “private” memory bank for each core.

20 Application example: System design System 2 performs better for

21 Discussion of the synchronisation effect For <0.4, the synchronisation effect is insignificant. Even the speedup from pseq=0 to pseq=1 is less than 5% in this system. There are only few cases in which performance is likely to be a decisive factor for opting for a SIM system rather than for pseudo- random mapping.


Download ppt "Interleaved Multi-Bank Scratchpad Memories: A Probabilistic Description of Access Conflicts DAC '15, June 07 - 11, 2015, San Francisco, CA, USA."

Similar presentations


Ads by Google