I was also just thinking about this today. Let's keep in sync and actually get the changes in the tree. The key is that you want to use M5's random number generator stuff in base/random.hh so that you can enter in a random seed that all random number generation shares. Then you generate a different seed for each run and you get some non-determinism.
Nate On Wed, Apr 9, 2008 at 2:07 PM, Geoffrey Blake <[EMAIL PROTECTED]> wrote: > Thanks for the help. I'll use this patch as well as add some variability to > my L2 misses and L1 misses, since I have the feeling most of my workloads > can probably fit inside the caches I'm using for experiments. > > Geoff > > > > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On > Behalf Of Ali Saidi > Sent: Wednesday, April 09, 2008 4:53 PM > To: M5 users mailing list > Subject: Re: [m5-users] Inducing non-determinism into multiprocessor setups > in M5 > > Actually in our tutorial as ASPLOS 2008 we showed an example of adding a > variance to delay memory. Here is a diff to m5 that should do the trick. > Just set latency_var = 'XXns' on the Physical Memory object and that should > do the trick. It will still be deterministic for a given latency since the > random number generator is seeded to the same thing (which is good so you > can redo an experiment when you find the problem). Changing the latency_var > parameter by a little bit is probably the best way to see a wide variety of > results. > > Ali > > > > No virus found in this incoming message. > > > Checked by AVG. > Version: 7.5.519 / Virus Database: 269.22.10/1367 - Release Date: 4/9/2008 > 7:10 AM > > > > No virus found in this outgoing message. > Checked by AVG. > Version: 7.5.519 / Virus Database: 269.22.10/1367 - Release Date: 4/9/2008 > 7:10 AM > > > _______________________________________________ > m5-users mailing list > [email protected] > http://m5sim.org/cgi-bin/mailman/listinfo/m5-users > > _______________________________________________ m5-users mailing list [email protected] http://m5sim.org/cgi-bin/mailman/listinfo/m5-users
