Table of Contents

RV-Dock C906 Write Performance

This page documents some experiment data on XuanTie C906 cache write performance.

According to the D1 user manual, the integrated C906 supports 32kB D-cache and the following write-through thresholds:

Therefore, I would like to investigate the write performance under different configurations.

Environment And Benchmark

Environment

Benchmark

  1. Specify 1K region $R$ [$A_1$, $A_2$].
  2. Repeat writing data continuously from $A_1$ to $A_2$ until 128MB of data is written. Then get the consumed time as a sample point.
  3. Increase $A_2$ by 1kB and jump to step 2.

Experiment Result

Disable D-Cache

Enable D-Cache And Disable Write-Through

Enable D-Cache And Enable Write-Through With 4 Cache Line

Enable D-Cache And Enable Write-Through With 16 Cache Line

Enable D-Cache And Enable Write-Through With 64 Cache Line

All In One