From c4e7e18eeb72ede635ea75314406a19fa532fdd6 Mon Sep 17 00:00:00 2001 From: Nilay Vaish Date: Tue, 20 Aug 2013 11:32:31 -0500 Subject: ruby: add option for number of transitions per cycle The number of transitions per cycle that a controller can carry out is a proxy for the number of ports that a controller has. This value is currently 32 which is way too high. The patch introduces an option for the number of ports and uses this option in the protocol files to set the number of transitions. The default value is being set to 4. None of the se regressions change. Ruby stats for the fs regression change and are being updated. --- tests/configs/memtest-ruby.py | 1 + tests/configs/rubytest-ruby.py | 1 + 2 files changed, 2 insertions(+) (limited to 'tests') diff --git a/tests/configs/memtest-ruby.py b/tests/configs/memtest-ruby.py index 004ff644a..8535a19a4 100644 --- a/tests/configs/memtest-ruby.py +++ b/tests/configs/memtest-ruby.py @@ -64,6 +64,7 @@ options.l1d_assoc=2 options.l1i_assoc=2 options.l2_assoc=2 options.l3_assoc=2 +options.ports=32 #MAX CORES IS 8 with the fals sharing method nb_cores = 8 diff --git a/tests/configs/rubytest-ruby.py b/tests/configs/rubytest-ruby.py index 54495ab54..9fe85d14f 100644 --- a/tests/configs/rubytest-ruby.py +++ b/tests/configs/rubytest-ruby.py @@ -65,6 +65,7 @@ options.l1d_assoc=2 options.l1i_assoc=2 options.l2_assoc=2 options.l3_assoc=2 +options.ports=32 # Turn on flush check for the hammer protocol check_flush = False -- cgit v1.2.3