Because of its relevance to vector memory access, I became curious about the following paper and decided to read it:
https://ieeexplore.ieee.org/document/10818118
The previous post is here: https://msyksphinz-en.hatenablog.com/entry/2025/02/10/040000msyksphinz-en.hatenablog.com
4. Evaluation Environment
(1) Simulation Environment
- Uses gem5's out-of-order processor model, with a RISC-V vector architecture in which the superscalar core and the vector engine are decoupled
- Cache subsystem: Based on Arm AMBA 5 CHI, reproducing the latest cache coherency protocol.
- On-chip network: Uses gem5's simple network model.
- Memory access model
- L1 cache: 64KB (for scalar) / the vector side is connected directly to the L2 cache
- L2 cache: 512KB (shared by the vector engine and the superscalar core)
- LLC: 2MB
- Main memory: DDR4-2400

5. Evaluation
Evaluation Targets
- Baseline:
- A normal SIMD architecture (superscalar core + decoupled vector engine).
- No prefetching.
- Conventional data prefetching techniques:
- Stride: Predicts the next memory access for memory accesses with a constant stride pattern.
- Berti: A local-delta data prefetching technique. It finds regularities in past memory accesses and guesses the next address.
- IPCP: A technique that classifies instruction pointers and performs spatial prefetching.
- Proposed method (ChameSC):
- Virtualizes the idle memory units of the superscalar core and makes use of accurate data prefetching and a proactive cache.
Benchmarks
- 14 data-parallel applications
- Applications with strided memory access:
mmult,vvadd,axpy,pathfinder,streamcluster,backprop,kmeans
- Applications with indexed memory access:
indMM,aes,des,spmv,sddmm,cc,sssp
- Applications with strided memory access:
Performance Comparison (Overall Performance Comparison)
Overall Performance Improvement of ChameSC
- 34.3% performance improvement over the baseline
- 41.3% improvement in applications that make heavy use of indexed memory access.
- Up to 80% performance improvement in
backpropandindMM. - The reason is that using the idle memory units of the superscalar core significantly relieves the vector memory access bottleneck.

Comparison with Existing Prefetching Techniques
- Stride
- Effective for regular memory accesses (stride patterns), but cannot handle irregular accesses, and is 18.2% worse than ChameSC.
- Berti
- A local-delta prefetcher, but its prediction accuracy is low and it causes cache pollution. It achieves only about half of ChameSC's performance improvement (+16.8%).
- IPCP
- A prefetching method based on instruction pointer classification. It is effective for short-distance accesses but has difficulty with large vector memory accesses. It is 12.7% worse than ChameSC.
Memory Access Latency Reduction
- Berti: 9.2% latency reduction
- IPCP: 8.8% latency reduction
ChameSC: 36.5% latency reduction
The reason is that existing prefetching methods rely on heuristic-based prediction, whereas ChameSC prefetches only the data that is actually needed, so no wasted memory accesses occur.

Cache Hit Rate and L2 Access Reduction (Cache Hit Rate and L2 Access Reduction)**
- Baseline: 35.1% of data is fetched from L2
- ChameSC: L2 accesses reduced by 12.6%
- Effect of the proactive cache
- Stores prefetched data in the superscalar core's L1 cache.
- When the vector engine requests data, the probability of getting it from L1 rather than L2 increases.

Suppressing Cache Pollution
- Conventional prefetching methods may prefetch unnecessary data and pollute the L1 cache.
- ChameSC uses the superscalar core's L1 separately as a proactive cache, preserving the L1's original function.
Additional Evaluation: Hardware Cost (Hardware Cost Analysis)
- The amount of new hardware added is minimal
- Prefetch controller: adds 640 bits of registers (two 64-bit scalar registers + a 512-bit vector register).
- Load/store queue: adds a 1-bit prefetch flag.
- Control circuitry: Because existing memory units are reused, the additional cost is low.
This is an English translation of the original Japanese post: ChameSC: Virtualizing Superscalar Core of a SIMD Architecture for Vector Memory Accessの論文を読む (3. 評価)