ruby: Changed the default set size to 1
authorBrad Beckmann <Brad.Beckmann@amd.com>
Mon, 22 Mar 2010 04:22:21 +0000 (21:22 -0700)
committerBrad Beckmann <Brad.Beckmann@amd.com>
Mon, 22 Mar 2010 04:22:21 +0000 (21:22 -0700)
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.

src/mem/ruby/system/System.hh

index 6a6b0165ebaaf382c7bbc2c8a3a03388e3ca0e65..7868da4b611080c6cde27c2a2b3ea7df359f99f9 100644 (file)
@@ -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: