Why is this a constant and not a parameter exposed to the config system?
On Thu, Mar 18, 2010 at 2:47 PM, Brad Beckmann <[email protected]> wrote: > # HG changeset patch > # User Brad Beckmann <[email protected]> > # Date 1268941833 25200 > # Node ID 671b6b656835f28524d63f128df62e7865c381af > # Parent db9b6b0eba6ada2c11ea1694494c1ad7d8b7c58b > 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. > > diff --git a/src/mem/ruby/system/System.hh b/src/mem/ruby/system/System.hh > --- a/src/mem/ruby/system/System.hh > +++ b/src/mem/ruby/system/System.hh > @@ -66,7 +66,7 @@ > * 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: > > _______________________________________________ > m5-dev mailing list > [email protected] > http://m5sim.org/mailman/listinfo/m5-dev > > _______________________________________________ m5-dev mailing list [email protected] http://m5sim.org/mailman/listinfo/m5-dev
