GEM5 icon indicating copy to clipboard operation
GEM5 copied to clipboard

mem-cache: Aligned the BOP algorithm with RTL and added a flag.

Open zephyrols opened this issue 8 months ago • 3 comments

  1. Aligned the BOP
  • aligned hash algorithm
  • aligned tag position
  1. Add flags for BOP
  • enable_dynamic_external_offset: for opening add external offset
  • enable_dynamic_depth: for opening dynamic prefetch depth
  • enable_early_stop: for opening learning phase early stop

Change-Id: Ie5adde018f00d5440b63631a0dfc1c797f80373a

zephyrols avatar Apr 27 '25 01:04 zephyrols

old-bop-hash is the baseline(commit: https://github.com/OpenXiangShan/GEM5/commit/c9bd2b3a38a1e776df6094bb9f5f6c7879b5e71c) v2 run with script kmh.py with no other param v3 run with script xiangshan.py with only one param --ideal-kmhv3

This can significantly enhance GemsFDTD. Other benchmarks have been increased or decreased to varying degrees. Overall, the performance has improved. The performance display of 50% checkpoints is as follows:

ed106d27-eb56-443d-a11c-96793129dbcb

zephyrols avatar Apr 29 '25 09:04 zephyrols

[Generated by GEM5 Performance Robot] commit: a99f547ac750dca56a5ba73fed70dda0331a7d19 workflow: gem5 Ideal Performance Test

Ideal Performance

Overall Score

PR Master Diff(%)
Score 19.56 19.59 -0.18 🔴

XiangShanRobot avatar May 07 '25 08:05 XiangShanRobot

[Generated by GEM5 Performance Robot] commit: a99f547ac750dca56a5ba73fed70dda0331a7d19 workflow: gem5 Performance Test

Standard Performance

Overall Score

PR Master Diff(%)
Score 15.81 15.81 -0.04 🔴

XiangShanRobot avatar May 07 '25 08:05 XiangShanRobot