stats: Update the solaris boot stats for the default snoop_filter.
authorGabe Black <gabeblack@google.com>
Tue, 4 Apr 2017 09:44:49 +0000 (02:44 -0700)
committerGabe Black <gabeblack@google.com>
Wed, 5 Apr 2017 18:36:51 +0000 (18:36 +0000)
The snoop_filter was enabled by default by this change:

    commit 080d4e08d627b5b726afec71d38370373b7376c5
    Author: Andreas Hansson <andreas.hansson@arm.com>
    Date:   Fri Aug 12 14:11:45 2016 +0100

        mem: Add snoop filter to SystemXBar by default

Change-Id: I850473c70437588b47812f1dc00d6ecdb66daa36
Reviewed-on: https://gem5-review.googlesource.com/2647
Maintainer: Jason Lowe-Power <jason@lowepower.com>
Reviewed-by: Jason Lowe-Power <jason@lowepower.com>
tests/long/fs/80.solaris-boot/ref/sparc/solaris/t1000-simple-atomic/config.ini
tests/long/fs/80.solaris-boot/ref/sparc/solaris/t1000-simple-atomic/config.json
tests/long/fs/80.solaris-boot/ref/sparc/solaris/t1000-simple-atomic/simout
tests/long/fs/80.solaris-boot/ref/sparc/solaris/t1000-simple-atomic/stats.txt

index fa3a6c4d62529221368cddcb24ab9f0720d220b9..e473f5b49ccc2b74ba592f631691a0199129af3d 100644 (file)
@@ -238,7 +238,7 @@ slave=system.bridge.master
 
 [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 @@ p_state_clk_gate_min=2
 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 @@ update_data=false
 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
index d3a1b4f03daf8e7e97f5fb5c292305e12f015211..940cdb03cd5ac863cd0df5bac2f5ea8bc8a5077f 100644 (file)
                 "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, 
index 3247e0757c5244b5169bcf60f1346cdff51c40a2..8347db8a74dbffeb1c09b3627e7125461c5533c5 100755 (executable)
@@ -3,9 +3,9 @@ Redirecting stderr to build/SPARC/tests/opt/long/fs/80.solaris-boot/sparc/solari
 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
index 3106af32657549c3abdf522e6eab5a1d68351abc..e3f3402793623a38c1b2bab348f420bce502b615 100644 (file)
@@ -4,11 +4,11 @@ sim_seconds                                  2.233778                       # Nu
 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.puart0.pio        14609
 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.pkt_size::total             11533814443                       # Cu
 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