summaryrefslogtreecommitdiff
path: root/src/mem
diff options
context:
space:
mode:
authorBrad Beckmann <Brad.Beckmann@amd.com>2010-03-21 21:22:21 -0700
committerBrad Beckmann <Brad.Beckmann@amd.com>2010-03-21 21:22:21 -0700
commitf9408f984f62cdeaddbf22189f1f540546ba4ce1 (patch)
tree43ab6e0dfcd51d10deff9d6a4c7725785084a126 /src/mem
parent61f1d9a3d72eb8a0ecd1cf7a5a88543e938a7d20 (diff)
downloadgem5-f9408f984f62cdeaddbf22189f1f540546ba4ce1.tar.xz
ruby: Changed the default set size to 1
Previously, the set size was set to 4. This was mostly do to the fact that a crazy graduate student use to create networks with 256 l2 cache banks. Now it is far more likely that users will create systems with less than 64 of any particular controller type. Therefore Ruby should be optimized for a set size of 1.
Diffstat (limited to 'src/mem')
-rw-r--r--src/mem/ruby/system/System.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mem/ruby/system/System.hh b/src/mem/ruby/system/System.hh
index 6a6b0165e..7868da4b6 100644
--- a/src/mem/ruby/system/System.hh
+++ b/src/mem/ruby/system/System.hh
@@ -66,7 +66,7 @@ class MemoryVector;
* set sizes at the cost of a (much) larger memory footprint
*
*/
-const int NUMBER_WORDS_PER_SET = 4;
+const int NUMBER_WORDS_PER_SET = 1;
class RubySystem : public SimObject {
public: