ChampSimの環境構築メモ:
git clone https://github.com/ChampSim/ChampSim.git cd ChampSim/ git submodule update --init --recursive vcpkg/vcpkg install ./config.sh champsim_config.json make
wget https://dpc3.compas.cs.stonybrook.edu/champsim-traces/speccpu/400.perlbench-41B.champsimtrace.xz ../traces/ ./bin/champsim --warmup_instructions 200000000 --simulation_instructions 500000000 ../traces/400.perlbench-41B.champsimtrace.xz
WARNING: physical memory size is smaller than virtual memory size. WARNING: option --warmup_instructions is deprecated. Use --warmup-instructions instead. WARNING: option --simulation_instructions is deprecated. Use --simulation-instructions instead. *** ChampSim Multicore Out-of-Order Simulator *** Warmup Instructions: 200000000 Simulation Instructions: 500000000 Number of CPUs: 1 Page size: 4096 Off-chip DRAM Size: 4 GiB Channels: 1 Width: 64-bit Data Race: 3200 MT/s Heartbeat CPU 0 instructions: 10000001 cycles: 2500312 heartbeat IPC: 4 cumulative IPC: 4 (Simulation time: 00 hr 00 min 15 sec) Heartbeat CPU 0 instructions: 20000002 cycles: 5037076 heartbeat IPC: 3.942 cumulative IPC: 3.971 (Simulation time: 00 hr 00 min 30 sec) Heartbeat CPU 0 instructions: 30000002 cycles: 7537076 heartbeat IPC: 4 cumulative IPC: 3.98 (Simulation time: 00 hr 00 min 44 sec) Heartbeat CPU 0 instructions: 40000002 cycles: 10037076 heartbeat IPC: 4 cumulative IPC: 3.985 (Simulation time: 00 hr 00 min 59 sec) Heartbeat CPU 0 instructions: 50000002 cycles: 12537076 heartbeat IPC: 4 cumulative IPC: 3.988 (Simulation time: 00 hr 01 min 13 sec) Heartbeat CPU 0 instructions: 60000002 cycles: 15037076 heartbeat IPC: 4 cumulative IPC: 3.99 (Simulation time: 00 hr 01 min 27 sec) Heartbeat CPU 0 instructions: 70000002 cycles: 17537076 heartbeat IPC: 4 cumulative IPC: 3.992 (Simulation time: 00 hr 01 min 41 sec) Heartbeat CPU 0 instructions: 80000002 cycles: 20037076 heartbeat IPC: 4 cumulative IPC: 3.993 (Simulation time: 00 hr 01 min 56 sec) Heartbeat CPU 0 instructions: 90000002 cycles: 22537076 heartbeat IPC: 4 cumulative IPC: 3.993 (Simulation time: 00 hr 02 min 10 sec) Heartbeat CPU 0 instructions: 100000002 cycles: 25037076 heartbeat IPC: 4 cumulative IPC: 3.994 (Simulation time: 00 hr 02 min 24 sec) Heartbeat CPU 0 instructions: 110000002 cycles: 27537076 heartbeat IPC: 4 cumulative IPC: 3.995 (Simulation time: 00 hr 02 min 38 sec) /* ... 途中省略 ... */ cpu0_STLB RFO ACCESS: 0 HIT: 0 MISS: 0 cpu0_STLB PREFETCH ACCESS: 0 HIT: 0 MISS: 0 cpu0_STLB WRITE ACCESS: 0 HIT: 0 MISS: 0 cpu0_STLB TRANSLATION ACCESS: 0 HIT: 0 MISS: 0 cpu0_STLB PREFETCH REQUESTED: 0 ISSUED: 0 USEFUL: 0 USELESS: 0 cpu0_STLB AVERAGE MISS LATENCY: 132.1 cycles DRAM Statistics Channel 0 RQ ROW_BUFFER_HIT: 37702 ROW_BUFFER_MISS: 157309 AVG DBUS CONGESTED CYCLE: 3.796 WQ ROW_BUFFER_HIT: Channel 0 ROW_BUFFER_MISS: 13902 FULL: 19113