Gabe Black has uploaded this change for review. ( https://gem5-review.googlesource.com/2647

Change subject: stats: Update the solaris boot stats for the default snoop_filter.
......................................................................

stats: Update the solaris boot stats for the default snoop_filter.

The snoop_filter was enabled by default by this change:

    commit 080d4e08d627b5b726afec71d38370373b7376c5
    Author: Andreas Hansson <[email protected]>
    Date:   Fri Aug 12 14:11:45 2016 +0100

        mem: Add snoop filter to SystemXBar by default

Change-Id: I850473c70437588b47812f1dc00d6ecdb66daa36
---
M tests/long/fs/80.solaris-boot/ref/sparc/solaris/t1000-simple-atomic/config.ini M tests/long/fs/80.solaris-boot/ref/sparc/solaris/t1000-simple-atomic/config.json
M tests/long/fs/80.solaris-boot/ref/sparc/solaris/t1000-simple-atomic/simout
M tests/long/fs/80.solaris-boot/ref/sparc/solaris/t1000-simple-atomic/stats.txt
4 files changed, 38 insertions(+), 16 deletions(-)



diff --git a/tests/long/fs/80.solaris-boot/ref/sparc/solaris/t1000-simple-atomic/config.ini b/tests/long/fs/80.solaris-boot/ref/sparc/solaris/t1000-simple-atomic/config.ini
index fa3a6c4..e473f5b 100644
--- a/tests/long/fs/80.solaris-boot/ref/sparc/solaris/t1000-simple-atomic/config.ini +++ b/tests/long/fs/80.solaris-boot/ref/sparc/solaris/t1000-simple-atomic/config.ini
@@ -238,7 +238,7 @@

 [system.membus]
 type=CoherentXBar
-children=badaddr_responder
+children=badaddr_responder snoop_filter
 clk_domain=system.clk_domain
 default_p_state=UNDEFINED
 eventq_index=0
@@ -250,7 +250,7 @@
 point_of_coherency=true
 power_model=Null
 response_latency=2
-snoop_filter=Null
+snoop_filter=system.membus.snoop_filter
 snoop_response_latency=4
 system=system
 use_default_range=false
@@ -282,6 +282,13 @@
 warn_access=
 pio=system.membus.default

+[system.membus.snoop_filter]
+type=SnoopFilter
+eventq_index=0
+lookup_latency=1
+max_capacity=8388608
+system=system
+
 [system.nvram]
 type=SimpleMemory
 bandwidth=0.000000
diff --git a/tests/long/fs/80.solaris-boot/ref/sparc/solaris/t1000-simple-atomic/config.json b/tests/long/fs/80.solaris-boot/ref/sparc/solaris/t1000-simple-atomic/config.json
index d3a1b4f..940cdb0 100644
--- a/tests/long/fs/80.solaris-boot/ref/sparc/solaris/t1000-simple-atomic/config.json +++ b/tests/long/fs/80.solaris-boot/ref/sparc/solaris/t1000-simple-atomic/config.json
@@ -721,7 +721,16 @@
                 "role": "SLAVE"
             },
             "p_state_clk_gate_min": 2,
-            "snoop_filter": null,
+            "snoop_filter": {
+                "name": "snoop_filter",
+                "system": "system",
+                "max_capacity": 8388608,
+                "eventq_index": 0,
+                "cxx_class": "SnoopFilter",
+                "path": "system.membus.snoop_filter",
+                "type": "SnoopFilter",
+                "lookup_latency": 1
+            },
             "power_model": null,
             "path": "system.membus",
             "snoop_response_latency": 4,
diff --git a/tests/long/fs/80.solaris-boot/ref/sparc/solaris/t1000-simple-atomic/simout b/tests/long/fs/80.solaris-boot/ref/sparc/solaris/t1000-simple-atomic/simout
index 3247e07..8347db8 100755
--- a/tests/long/fs/80.solaris-boot/ref/sparc/solaris/t1000-simple-atomic/simout +++ b/tests/long/fs/80.solaris-boot/ref/sparc/solaris/t1000-simple-atomic/simout
@@ -3,9 +3,9 @@
 gem5 Simulator System.  http://gem5.org
 gem5 is copyrighted software; use the --copyright option for details.

-gem5 compiled Apr  4 2017 02:11:37
-gem5 started Apr  4 2017 02:11:47
-gem5 executing on gabeblack-desktop.mtv.corp.google.com, pid 135111
+gem5 compiled Apr  4 2017 02:30:37
+gem5 started Apr  4 2017 02:30:47
+gem5 executing on gabeblack-desktop.mtv.corp.google.com, pid 2108
command line: /usr/local/google/home/gabeblack/gem5/gem5-public/build/SPARC/gem5.opt -d build/SPARC/tests/opt/long/fs/80.solaris-boot/sparc/solaris/t1000-simple-atomic -re /usr/local/google/home/gabeblack/gem5/gem5-public/tests/testing/../run.py long/fs/80.solaris-boot/sparc/solaris/t1000-simple-atomic

 Global frequency set at 2000000000 ticks per second
diff --git a/tests/long/fs/80.solaris-boot/ref/sparc/solaris/t1000-simple-atomic/stats.txt b/tests/long/fs/80.solaris-boot/ref/sparc/solaris/t1000-simple-atomic/stats.txt
index 3106af3..e3f3402 100644
--- a/tests/long/fs/80.solaris-boot/ref/sparc/solaris/t1000-simple-atomic/stats.txt +++ b/tests/long/fs/80.solaris-boot/ref/sparc/solaris/t1000-simple-atomic/stats.txt
@@ -4,11 +4,11 @@
sim_ticks 4467555024 # Number of ticks simulated final_tick 4467555024 # Number of ticks from beginning of simulation (restored from checkpoints and never reset) sim_freq 2000000000 # Frequency of simulated ticks -host_inst_rate 3251993 # Simulator instruction rate (inst/s) -host_op_rate 3253271 # Simulator op (including micro ops) rate (op/s) -host_tick_rate 6520018 # Simulator tick rate (ticks/s) -host_mem_usage 552088 # Number of bytes of host memory used -host_seconds 685.21 # Real time elapsed on the host +host_inst_rate 2932422 # Simulator instruction rate (inst/s) +host_op_rate 2933575 # Simulator op (including micro ops) rate (op/s) +host_tick_rate 5879301 # Simulator tick rate (ticks/s) +host_mem_usage 552092 # Number of bytes of host memory used +host_seconds 759.88 # Real time elapsed on the host sim_insts 2228284650 # Number of instructions simulated sim_ops 2229160714 # Number of ops (including micro ops) simulated system.voltage_domain.voltage 1 # Voltage in Volts
@@ -211,6 +211,12 @@
system.iobus.pkt_size_system.bridge.master::system.t1000.hvuart.pio 18 # Cumulative packet size per connected master and slave (bytes) system.iobus.pkt_size_system.bridge.master::system.disk0.pio 34731524 # Cumulative packet size per connected master and slave (bytes) system.iobus.pkt_size_system.bridge.master::total 34746591 # Cumulative packet size per connected master and slave (bytes) +system.membus.snoop_filter.tot_requests 0 # Total number of requests made to the snoop filter. +system.membus.snoop_filter.hit_single_requests 0 # Number of requests hitting in the snoop filter with a single holder of the requested data. +system.membus.snoop_filter.hit_multi_requests 0 # Number of requests hitting in the snoop filter with multiple (>1) holders of the requested data. +system.membus.snoop_filter.tot_snoops 0 # Total number of snoops made to the snoop filter. +system.membus.snoop_filter.hit_single_snoops 0 # Number of snoops hitting in the snoop filter with a single holder of the requested data. +system.membus.snoop_filter.hit_multi_snoops 0 # Number of snoops hitting in the snoop filter with multiple (>1) holders of the requested data. system.membus.pwrStateResidencyTicks::UNDEFINED 4467555024 # Cumulative time (in ticks) in various power states system.membus.trans_dist::ReadReq 2573267624 # Transaction distribution system.membus.trans_dist::ReadResp 2573267624 # Transaction distribution
@@ -251,14 +257,14 @@
system.membus.snoops 0 # Total snoops (count) system.membus.snoopTraffic 0 # Total snoop traffic (bytes) system.membus.snoop_fanout::samples 2767993261 # Request fanout histogram -system.membus.snoop_fanout::mean 0.806616 # Request fanout histogram -system.membus.snoop_fanout::stdev 0.394951 # Request fanout histogram +system.membus.snoop_fanout::mean 0 # Request fanout histogram +system.membus.snoop_fanout::stdev 0 # Request fanout histogram system.membus.snoop_fanout::underflows 0 0.00% 0.00% # Request fanout histogram -system.membus.snoop_fanout::0 535285646 19.34% 19.34% # Request fanout histogram -system.membus.snoop_fanout::1 2232707615 80.66% 100.00% # Request fanout histogram +system.membus.snoop_fanout::0 2767993261 100.00% 100.00% # Request fanout histogram +system.membus.snoop_fanout::1 0 0.00% 100.00% # Request fanout histogram system.membus.snoop_fanout::overflows 0 0.00% 100.00% # Request fanout histogram system.membus.snoop_fanout::min_value 0 # Request fanout histogram -system.membus.snoop_fanout::max_value 1 # Request fanout histogram +system.membus.snoop_fanout::max_value 0 # Request fanout histogram system.membus.snoop_fanout::total 2767993261 # Request fanout histogram system.membus.badaddr_responder.pwrStateResidencyTicks::UNDEFINED 4467555024 # Cumulative time (in ticks) in various power states system.t1000.fake_clk.pwrStateResidencyTicks::UNDEFINED 4467555024 # Cumulative time (in ticks) in various power states

--
To view, visit https://gem5-review.googlesource.com/2647
To unsubscribe, visit https://gem5-review.googlesource.com/settings

Gerrit-Project: public/gem5
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I850473c70437588b47812f1dc00d6ecdb66daa36
Gerrit-Change-Number: 2647
Gerrit-PatchSet: 1
Gerrit-Owner: Gabe Black <[email protected]>
_______________________________________________
gem5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/gem5-dev

Reply via email to