changeset d660f0d38e3b in /z/repo/gem5
details: http://repo.gem5.org/gem5?cmd=changeset;node=d660f0d38e3b
description:
stats: update EIO stats for snoop filter changes
diffstat:
tests/quick/se/20.eio-short/ref/alpha/eio/simple-atomic/config.ini | 3 +-
tests/quick/se/20.eio-short/ref/alpha/eio/simple-atomic/config.json | 23 +-
tests/quick/se/20.eio-short/ref/alpha/eio/simple-atomic/simout | 7 +-
tests/quick/se/20.eio-short/ref/alpha/eio/simple-atomic/stats.txt | 10 +-
tests/quick/se/20.eio-short/ref/alpha/eio/simple-timing/config.ini | 13 +-
tests/quick/se/20.eio-short/ref/alpha/eio/simple-timing/config.json | 34 ++-
tests/quick/se/20.eio-short/ref/alpha/eio/simple-timing/simout | 7 +-
tests/quick/se/20.eio-short/ref/alpha/eio/simple-timing/stats.txt | 26 +-
tests/quick/se/30.eio-mp/ref/alpha/eio/simple-atomic-mp/config.ini | 19 +-
tests/quick/se/30.eio-mp/ref/alpha/eio/simple-atomic-mp/config.json | 88
++++++---
tests/quick/se/30.eio-mp/ref/alpha/eio/simple-atomic-mp/simerr | 5 +
tests/quick/se/30.eio-mp/ref/alpha/eio/simple-atomic-mp/simout | 7 +-
tests/quick/se/30.eio-mp/ref/alpha/eio/simple-atomic-mp/stats.txt | 38 ++-
tests/quick/se/30.eio-mp/ref/alpha/eio/simple-timing-mp/config.ini | 19 +-
tests/quick/se/30.eio-mp/ref/alpha/eio/simple-timing-mp/config.json | 88
++++++---
tests/quick/se/30.eio-mp/ref/alpha/eio/simple-timing-mp/simerr | 4 +-
tests/quick/se/30.eio-mp/ref/alpha/eio/simple-timing-mp/simout | 9 +-
tests/quick/se/30.eio-mp/ref/alpha/eio/simple-timing-mp/stats.txt | 38 ++-
18 files changed, 272 insertions(+), 166 deletions(-)
diffs (truncated from 966 to 300 lines):
diff -r fce93f1c885b -r d660f0d38e3b
tests/quick/se/20.eio-short/ref/alpha/eio/simple-atomic/config.ini
--- a/tests/quick/se/20.eio-short/ref/alpha/eio/simple-atomic/config.ini
Thu Oct 01 04:07:15 2015 -0400
+++ b/tests/quick/se/20.eio-short/ref/alpha/eio/simple-atomic/config.ini
Fri Oct 02 01:04:12 2015 -0400
@@ -24,6 +24,7 @@
mem_ranges=
memories=system.physmem
mmap_using_noreserve=false
+multi_thread=false
num_work_ids=16
readfile=
symbolfile=
@@ -110,7 +111,7 @@
errout=cerr
eventq_index=0
file=/dist/m5/regression/test-progs/anagram/bin/alpha/eio/anagram-vshort.eio.gz
-input=None
+input=cin
kvmInSE=false
max_stack_size=67108864
output=cout
diff -r fce93f1c885b -r d660f0d38e3b
tests/quick/se/20.eio-short/ref/alpha/eio/simple-atomic/config.json
--- a/tests/quick/se/20.eio-short/ref/alpha/eio/simple-atomic/config.json
Thu Oct 01 04:07:15 2015 -0400
+++ b/tests/quick/se/20.eio-short/ref/alpha/eio/simple-atomic/config.json
Fri Oct 02 01:04:12 2015 -0400
@@ -159,13 +159,15 @@
"peer": "system.membus.slave[1]",
"role": "MASTER"
},
- "interrupts": {
- "eventq_index": 0,
- "path": "system.cpu.interrupts",
- "type": "AlphaInterrupts",
- "name": "interrupts",
- "cxx_class": "AlphaISA::Interrupts"
- },
+ "interrupts": [
+ {
+ "eventq_index": 0,
+ "path": "system.cpu.interrupts",
+ "type": "AlphaInterrupts",
+ "name": "interrupts",
+ "cxx_class": "AlphaISA::Interrupts"
+ }
+ ],
"dcache_port": {
"peer": "system.membus.slave[2]",
"role": "MASTER"
@@ -190,7 +192,7 @@
"path": "system.cpu.workload",
"max_stack_size": 67108864,
"type": "EioProcess",
- "input": "None"
+ "input": "cin"
}
],
"name": "cpu",
@@ -226,9 +228,10 @@
}
}
],
- "num_work_ids": 16,
+ "multi_thread": false,
+ "work_begin_cpu_id_exit": -1,
"work_item_id": -1,
- "work_begin_cpu_id_exit": -1
+ "num_work_ids": 16
},
"time_sync_period": 100000000000,
"eventq_index": 0,
diff -r fce93f1c885b -r d660f0d38e3b
tests/quick/se/20.eio-short/ref/alpha/eio/simple-atomic/simout
--- a/tests/quick/se/20.eio-short/ref/alpha/eio/simple-atomic/simout Thu Oct
01 04:07:15 2015 -0400
+++ b/tests/quick/se/20.eio-short/ref/alpha/eio/simple-atomic/simout Fri Oct
02 01:04:12 2015 -0400
@@ -1,10 +1,11 @@
gem5 Simulator System. http://gem5.org
gem5 is copyrighted software; use the --copyright option for details.
-gem5 compiled Mar 7 2015 13:46:57
-gem5 started Mar 7 2015 13:47:23
-gem5 executing on zizzer2
+gem5 compiled Oct 1 2015 18:05:22
+gem5 started Oct 1 2015 18:06:58
+gem5 executing on zizzer
command line: build/ALPHA/gem5.opt -d
build/ALPHA/tests/opt/quick/se/20.eio-short/alpha/eio/simple-atomic -re
/z/stever/hg/gem5/tests/run.py
build/ALPHA/tests/opt/quick/se/20.eio-short/alpha/eio/simple-atomic
+
Global frequency set at 1000000000000 ticks per second
info: Entering event queue @ 0. Starting simulation...
main dictionary has 1245 entries
diff -r fce93f1c885b -r d660f0d38e3b
tests/quick/se/20.eio-short/ref/alpha/eio/simple-atomic/stats.txt
--- a/tests/quick/se/20.eio-short/ref/alpha/eio/simple-atomic/stats.txt Thu Oct
01 04:07:15 2015 -0400
+++ b/tests/quick/se/20.eio-short/ref/alpha/eio/simple-atomic/stats.txt Fri Oct
02 01:04:12 2015 -0400
@@ -4,11 +4,11 @@
sim_ticks 250015500 #
Number of ticks simulated
final_tick 250015500 #
Number of ticks from beginning of simulation (restored from checkpoints and
never reset)
sim_freq 1000000000000 #
Frequency of simulated ticks
-host_inst_rate 1781493 #
Simulator instruction rate (inst/s)
-host_op_rate 1781360 #
Simulator op (including micro ops) rate (op/s)
-host_tick_rate 890669168 #
Simulator tick rate (ticks/s)
-host_mem_usage 214316 #
Number of bytes of host memory used
-host_seconds 0.28 #
Real time elapsed on the host
+host_inst_rate 811683 #
Simulator instruction rate (inst/s)
+host_op_rate 811655 #
Simulator op (including micro ops) rate (op/s)
+host_tick_rate 405835892 #
Simulator tick rate (ticks/s)
+host_mem_usage 218708 #
Number of bytes of host memory used
+host_seconds 0.62 #
Real time elapsed on the host
sim_insts 500001 #
Number of instructions simulated
sim_ops 500001 #
Number of ops (including micro ops) simulated
system.voltage_domain.voltage 1 #
Voltage in Volts
diff -r fce93f1c885b -r d660f0d38e3b
tests/quick/se/20.eio-short/ref/alpha/eio/simple-timing/config.ini
--- a/tests/quick/se/20.eio-short/ref/alpha/eio/simple-timing/config.ini
Thu Oct 01 04:07:15 2015 -0400
+++ b/tests/quick/se/20.eio-short/ref/alpha/eio/simple-timing/config.ini
Fri Oct 02 01:04:12 2015 -0400
@@ -24,6 +24,7 @@
mem_ranges=
memories=system.physmem
mmap_using_noreserve=false
+multi_thread=false
num_work_ids=16
readfile=
symbolfile=
@@ -203,12 +204,13 @@
[system.cpu.toL2Bus]
type=CoherentXBar
+children=snoop_filter
clk_domain=system.cpu_clk_domain
eventq_index=0
forward_latency=0
frontend_latency=1
response_latency=1
-snoop_filter=Null
+snoop_filter=system.cpu.toL2Bus.snoop_filter
snoop_response_latency=1
system=system
use_default_range=false
@@ -216,6 +218,13 @@
master=system.cpu.l2cache.cpu_side
slave=system.cpu.icache.mem_side system.cpu.dcache.mem_side
+[system.cpu.toL2Bus.snoop_filter]
+type=SnoopFilter
+eventq_index=0
+lookup_latency=0
+max_capacity=8388608
+system=system
+
[system.cpu.tracer]
type=ExeTracer
eventq_index=0
@@ -225,7 +234,7 @@
chkpt=
errout=cerr
eventq_index=0
-file=/scratch/nilay/GEM5/gem5/tests/test-progs/anagram/bin/alpha/eio/anagram-vshort.eio.gz
+file=/dist/m5/regression/test-progs/anagram/bin/alpha/eio/anagram-vshort.eio.gz
input=cin
kvmInSE=false
max_stack_size=67108864
diff -r fce93f1c885b -r d660f0d38e3b
tests/quick/se/20.eio-short/ref/alpha/eio/simple-timing/config.json
--- a/tests/quick/se/20.eio-short/ref/alpha/eio/simple-timing/config.json
Thu Oct 01 04:07:15 2015 -0400
+++ b/tests/quick/se/20.eio-short/ref/alpha/eio/simple-timing/config.json
Fri Oct 02 01:04:12 2015 -0400
@@ -157,7 +157,16 @@
"role": "SLAVE"
},
"name": "toL2Bus",
- "snoop_filter": null,
+ "snoop_filter": {
+ "name": "snoop_filter",
+ "system": "system",
+ "max_capacity": 8388608,
+ "eventq_index": 0,
+ "cxx_class": "SnoopFilter",
+ "path": "system.cpu.toL2Bus.snoop_filter",
+ "type": "SnoopFilter",
+ "lookup_latency": 0
+ },
"forward_latency": 0,
"clk_domain": "system.cpu_clk_domain",
"system": "system",
@@ -231,13 +240,15 @@
"sequential_access": false,
"assoc": 2
},
- "interrupts": {
- "eventq_index": 0,
- "path": "system.cpu.interrupts",
- "type": "AlphaInterrupts",
- "name": "interrupts",
- "cxx_class": "AlphaISA::Interrupts"
- },
+ "interrupts": [
+ {
+ "eventq_index": 0,
+ "path": "system.cpu.interrupts",
+ "type": "AlphaInterrupts",
+ "name": "interrupts",
+ "cxx_class": "AlphaISA::Interrupts"
+ }
+ ],
"dcache_port": {
"peer": "system.cpu.dcache.cpu_side",
"role": "MASTER"
@@ -304,7 +315,7 @@
"system": "system",
"useArchPT": false,
"eventq_index": 0,
- "file":
"/scratch/nilay/GEM5/gem5/tests/test-progs/anagram/bin/alpha/eio/anagram-vshort.eio.gz",
+ "file":
"/dist/m5/regression/test-progs/anagram/bin/alpha/eio/anagram-vshort.eio.gz",
"cxx_class": "EioProcess",
"path": "system.cpu.workload",
"max_stack_size": 67108864,
@@ -391,9 +402,10 @@
}
}
],
- "num_work_ids": 16,
+ "multi_thread": false,
+ "work_begin_cpu_id_exit": -1,
"work_item_id": -1,
- "work_begin_cpu_id_exit": -1
+ "num_work_ids": 16
},
"time_sync_period": 100000000000,
"eventq_index": 0,
diff -r fce93f1c885b -r d660f0d38e3b
tests/quick/se/20.eio-short/ref/alpha/eio/simple-timing/simout
--- a/tests/quick/se/20.eio-short/ref/alpha/eio/simple-timing/simout Thu Oct
01 04:07:15 2015 -0400
+++ b/tests/quick/se/20.eio-short/ref/alpha/eio/simple-timing/simout Fri Oct
02 01:04:12 2015 -0400
@@ -1,10 +1,11 @@
gem5 Simulator System. http://gem5.org
gem5 is copyrighted software; use the --copyright option for details.
-gem5 compiled Mar 7 2015 13:46:57
-gem5 started Mar 7 2015 13:47:12
-gem5 executing on zizzer2
+gem5 compiled Oct 1 2015 18:05:22
+gem5 started Oct 1 2015 18:06:58
+gem5 executing on zizzer
command line: build/ALPHA/gem5.opt -d
build/ALPHA/tests/opt/quick/se/20.eio-short/alpha/eio/simple-timing -re
/z/stever/hg/gem5/tests/run.py
build/ALPHA/tests/opt/quick/se/20.eio-short/alpha/eio/simple-timing
+
Global frequency set at 1000000000000 ticks per second
info: Entering event queue @ 0. Starting simulation...
main dictionary has 1245 entries
diff -r fce93f1c885b -r d660f0d38e3b
tests/quick/se/20.eio-short/ref/alpha/eio/simple-timing/stats.txt
--- a/tests/quick/se/20.eio-short/ref/alpha/eio/simple-timing/stats.txt Thu Oct
01 04:07:15 2015 -0400
+++ b/tests/quick/se/20.eio-short/ref/alpha/eio/simple-timing/stats.txt Fri Oct
02 01:04:12 2015 -0400
@@ -4,11 +4,11 @@
sim_ticks 727072500 #
Number of ticks simulated
final_tick 727072500 #
Number of ticks from beginning of simulation (restored from checkpoints and
never reset)
sim_freq 1000000000000 #
Frequency of simulated ticks
-host_inst_rate 1010970 #
Simulator instruction rate (inst/s)
-host_op_rate 1010933 #
Simulator op (including micro ops) rate (op/s)
-host_tick_rate 1469988465 #
Simulator tick rate (ticks/s)
-host_mem_usage 285244 #
Number of bytes of host memory used
-host_seconds 0.49 #
Real time elapsed on the host
+host_inst_rate 694338 #
Simulator instruction rate (inst/s)
+host_op_rate 694315 #
Simulator op (including micro ops) rate (op/s)
+host_tick_rate 1009601044 #
Simulator tick rate (ticks/s)
+host_mem_usage 228824 #
Number of bytes of host memory used
+host_seconds 0.72 #
Real time elapsed on the host
sim_insts 500001 #
Number of instructions simulated
sim_ops 500001 #
Number of ops (including micro ops) simulated
system.voltage_domain.voltage 1 #
Voltage in Volts
@@ -444,6 +444,12 @@
system.cpu.l2cache.overall_avg_mshr_miss_latency::cpu.data 42500
# average overall mshr miss latency
system.cpu.l2cache.overall_avg_mshr_miss_latency::total 42500.583431
# average overall mshr miss latency
system.cpu.l2cache.no_allocate_misses 0 #
Number of misses that were no-allocate
+system.cpu.toL2Bus.snoop_filter.tot_requests 857
# Total number of requests made to the snoop filter.
+system.cpu.toL2Bus.snoop_filter.hit_single_requests 0
# Number of requests hitting in the snoop filter with a single holder
of the requested data.
+system.cpu.toL2Bus.snoop_filter.hit_multi_requests 0
# Number of requests hitting in the snoop filter with multiple (>1)
holders of the requested data.
+system.cpu.toL2Bus.snoop_filter.tot_snoops 0
# Total number of snoops made to the snoop filter.
+system.cpu.toL2Bus.snoop_filter.hit_single_snoops 0
# Number of snoops hitting in the snoop filter with a single holder of
the requested data.
+system.cpu.toL2Bus.snoop_filter.hit_multi_snoops 0
# Number of snoops hitting in the snoop filter with multiple (>1) holders
of the requested data.
system.cpu.toL2Bus.trans_dist::ReadResp 718 #
Transaction distribution
system.cpu.toL2Bus.trans_dist::ReadExReq 139 #
Transaction distribution
system.cpu.toL2Bus.trans_dist::ReadExResp 139 #
Transaction distribution
@@ -457,15 +463,15 @@
system.cpu.toL2Bus.pkt_size::total 54848 #
Cumulative packet size per connected master and slave (bytes)
system.cpu.toL2Bus.snoops 0 #
Total snoops (count)
system.cpu.toL2Bus.snoop_fanout::samples 857 #
Request fanout histogram
-system.cpu.toL2Bus.snoop_fanout::mean 1 #
Request fanout histogram
+system.cpu.toL2Bus.snoop_fanout::mean 0 #
Request fanout histogram
system.cpu.toL2Bus.snoop_fanout::stdev 0 #
Request fanout histogram
system.cpu.toL2Bus.snoop_fanout::underflows 0 0.00% 0.00%
# Request fanout histogram
-system.cpu.toL2Bus.snoop_fanout::0 0 0.00% 0.00% #
Request fanout histogram
-system.cpu.toL2Bus.snoop_fanout::1 857 100.00% 100.00% #
Request fanout histogram
+system.cpu.toL2Bus.snoop_fanout::0 857 100.00% 100.00% #
Request fanout histogram
+system.cpu.toL2Bus.snoop_fanout::1 0 0.00% 100.00% #
Request fanout histogram
system.cpu.toL2Bus.snoop_fanout::2 0 0.00% 100.00% #
Request fanout histogram
system.cpu.toL2Bus.snoop_fanout::overflows 0 0.00% 100.00%
# Request fanout histogram
-system.cpu.toL2Bus.snoop_fanout::min_value 1
# Request fanout histogram
-system.cpu.toL2Bus.snoop_fanout::max_value 1
# Request fanout histogram
+system.cpu.toL2Bus.snoop_fanout::min_value 0
# Request fanout histogram
+system.cpu.toL2Bus.snoop_fanout::max_value 0
# Request fanout histogram
system.cpu.toL2Bus.snoop_fanout::total 857 #
Request fanout histogram
system.cpu.toL2Bus.reqLayer0.occupancy 428500 #
Layer occupancy (ticks)
system.cpu.toL2Bus.reqLayer0.utilization 0.1 #
Layer utilization (%)
diff -r fce93f1c885b -r d660f0d38e3b
tests/quick/se/30.eio-mp/ref/alpha/eio/simple-atomic-mp/config.ini
--- a/tests/quick/se/30.eio-mp/ref/alpha/eio/simple-atomic-mp/config.ini
Thu Oct 01 04:07:15 2015 -0400
+++ b/tests/quick/se/30.eio-mp/ref/alpha/eio/simple-atomic-mp/config.ini
Fri Oct 02 01:04:12 2015 -0400
@@ -24,6 +24,7 @@
mem_ranges=
memories=system.physmem
mmap_using_noreserve=false
_______________________________________________
gem5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/gem5-dev