Commit graph

301 commits

Author SHA1 Message Date
Lisa Hsu
1d3228481f cache: Make caches sharing aware and add occupancy stats.
On the config end, if a shared L2 is created for the system, it is
parameterized to have n sharers as defined by option.num_cpus. In addition to
making the cache sharing aware so that discriminating tag policies can make use
of context_ids to make decisions, I added an occupancy AverageStat and an occ %
stat to each cache so that you could know which contexts are occupying how much
cache on average, both in terms of blocks and percentage. Note that since
devices have context_id -1, having an array of occ stats that correspond to
each context_id will break here, so in FS mode I add an extra bucket for device
blocks. This bucket is explicitly not added in SE mode in order to not only
avoid ugliness in the stats.txt file, but to avoid broken stats (some formulas
break when a bucket is 0).
2010-02-23 09:34:22 -08:00
Korey Sewell
04466ab4ca inorder: update hello world mips 2010-01-31 18:31:28 -05:00
Korey Sewell
a3c635f777 inorder: vortex alpha regression 2010-01-31 18:31:20 -05:00
Korey Sewell
81c9fdad24 inorder: twolf alpha regression 2010-01-31 18:31:14 -05:00
Korey Sewell
7712740b5f inorder: update hello world alpha 2010-01-31 18:31:09 -05:00
Brad Beckmann
ab2f864af2 m5: Regression Tester Update
This patch includes the necessary regression updates to test the new ruby
configuration system.  The patch includes support for multiple ruby protocols
and adds the ruby random tester.  The patch removes atomic mode test for
ruby since ruby does not support atomic mode acceses.  These tests can be
added back in when ruby supports atomic mode for real.

--HG--
rename : tests/quick/50.memtest/test.py => tests/quick/60.rubytest/test.py
2010-01-29 20:29:40 -08:00
Brad Beckmann
26cce73e97 ruby: memtest-ruby updated to the new config system 2010-01-29 20:29:33 -08:00
Steve Reinhardt
2f567f69cf tests: added M5_TEST_PROGS environment variable
to allow override of global location for regression test binaries.
2010-01-29 20:29:14 -08:00
Derek Hower
5a4ebd6d12 config: changed default ruby config file for regression 2010-01-25 11:51:16 -06:00
Derek Hower
589218168c Automated merge with ssh://hg@m5sim.org/m5 2010-01-22 17:23:21 -06:00
Derek Hower
f7de30ab1a memtest differences from Derek's changes 2010-01-19 17:17:19 -06:00
Derek Hower
279f179bab merge 2010-01-19 15:48:12 -06:00
Gabe Black
4f4e6fc099 MIPS: Update the stats of the RUBY version of the regressions. 2010-01-02 07:06:26 -05:00
Gabe Black
47a1f11381 MIPS: Update stats for updated initial environment. 2009-12-31 15:30:51 -05:00
Brad Beckmann
295516a590 m5: refreshed the ruby memtest regression stats 2009-11-18 18:00:41 -08:00
Brad Beckmann
90d6e2652f ruby: included ruby config parameter ports per core
Slightly improved the major hack need to correctly assign the number of ports
per core.  CPUs have two ports: icache + dcache.  MemTester has one port.
2009-11-18 13:55:58 -08:00
Brad Beckmann
3cf24f9716 ruby: Support for merging ALPHA_FS and ruby
Connects M5 cpu and dma ports directly to ruby sequencers and dma
sequencers.  Rubymem also includes a pio port so that pio requests
and be forwarded to a special pio bus connecting to device pio
ports.
2009-11-18 13:55:58 -08:00
Nathan Binkert
14b5169750 tests: update statistics for change caused by vsyscall support in x86
Caused by a slight change in memory layout.
2009-11-08 20:15:23 -08:00
Steve Reinhardt
934ba5265e stats: update memtest-ruby
I don't know if the new stats are right or not, but we've
been too long with a useless regression so I'm just going
to update them.
2009-11-04 14:23:24 -08:00
Timothy M. Jones
2b232e11a8 test: Hello world test program for Power
includes reference outputs for the Hello World tests on simple-atomic
and o3-timing.
2009-10-27 09:24:40 -07:00
Nathan Binkert
5fe0762ee4 tests: update test for slight change due to the change in brk. 2009-10-24 10:53:58 -07:00
Korey Sewell
2b181fc3e7 mips: update hello-ruby stats 2009-10-06 20:54:04 -04:00
Korey Sewell
eb1bd7a2e6 mips-stats: update regressions of arguments fix 2009-09-24 12:30:53 -04:00
Nathan Binkert
9a8cb7db7e python: Move more code into m5.util allow SCons to use that code.
Get rid of misc.py and just stick misc things in __init__.py
Move utility functions out of SCons files and into m5.util
Move utility type stuff from m5/__init__.py to m5/util/__init__.py
Remove buildEnv from m5 and allow access only from m5.defines
Rename AddToPath to addToPath while we're moving it to m5.util
Rename read_command to readCommand while we're moving it
Rename compare_versions to compareVersions while we're moving it.

--HG--
rename : src/python/m5/convert.py => src/python/m5/util/convert.py
rename : src/python/m5/smartdict.py => src/python/m5/util/smartdict.py
2009-09-22 15:24:16 -07:00
Derek Hower
6fc2a4cadc ruby: cleaned up unified MESI/MOESI configuration 2009-09-11 16:22:59 -05:00
Gabe Black
70251bbb1a X86: Update stats for new SSE instructions. 2009-08-17 22:27:30 -07:00
Tushar Krishna
35082a67b6 ruby/network data_msg_size bug fix with updated stats 2009-08-11 15:19:04 -07:00
Gabe Black
33b063a2a7 X86: Update the stats on the ruby x86 regressions for the new CMOVcc implementation. 2009-08-09 04:01:56 -07:00
Gabe Black
bcfc4178f5 X86: Update the stats for the slightly lengthened cmov. 2009-08-08 17:23:25 -07:00
Derek Hower
867269bc96 regression: updated stats 2009-08-05 14:20:53 -05:00
Derek Hower
ac15e42c17 Automated merge with ssh://hg@m5sim.org/m5 2009-08-03 11:39:08 -05:00
Derek Hower
8623b4b6ea regression: updated stats 2009-07-31 00:43:09 -05:00
Gabe Black
9e292c950a ARM: Update the stats for the EABI version of hello world. 2009-07-27 00:55:14 -07:00
Gabe Black
a343e33699 ARM: Update the reference outputs for the new binary and fstat64 struct. 2009-07-27 00:51:27 -07:00
Gabe Black
70dedd1d35 ARM: Replace hello world with an EABI version. 2009-07-27 00:51:15 -07:00
Korey Sewell
d4813236d6 regress: edit 2t hello smt file to specify numThreads 2009-07-25 22:22:13 -04:00
Derek Hower
e59d0e3e89 ruby: moved cache stats from Profiler to CacheMemory
Caches are now responsible for their own statistic gathering.  This
requires a direct callback from the protocol on misses, and so all
future protocols need to take this into account.
2009-07-20 09:40:43 -05:00
Polina Dudnik
e557b4beb5 merge 2009-07-16 15:40:48 -05:00
Polina Dudnik
23a405f5d8 Tester update 2009-07-15 10:46:22 -05:00
Derek Hower
d51445490d regression: updated memtest-ruby stats
This also includes a change to the default Ruby random seed, which was
previously set using the wall clock.  It is now set to 1234 so that
the stat files don't change for the regression tester.
2009-07-13 14:45:15 -05:00
Steve Reinhardt
d7f9c86981 Add ability to skip tests by adding 'skip' file to test dir,
and skip simple-timing-mp-ruby test for now (until we fix ruby atomics).
2009-07-06 22:45:58 -07:00
Nathan Binkert
e3e509b31a tests: stats outputs now include CDFs, update tests that use those so they're easier to diff 2009-07-06 15:49:48 -07:00
Nathan Binkert
0c1a69e768 tests: update regression tests for changes in stats output and changes in ruby. 2009-07-06 15:49:48 -07:00
Nathan Binkert
da704f52e5 ruby: Fix RubyMemory to work with the newer ruby. 2009-07-06 15:49:47 -07:00
Gabe Black
5ae983f8da inorder: Fix up some reference stats. 2009-07-04 21:46:23 -07:00
Gabe Black
85ca502611 ARM: Add a hello world regression. 2009-06-09 23:55:53 -07:00
Gabe Black
d91a3cf53d ARM: Add a hello world binary. 2009-06-09 23:42:43 -07:00
Korey Sewell
c94944e257 inorder-regress: add hello MIPS_SE 2009-05-13 01:55:04 -04:00
Korey Sewell
373e55c7b9 inorder-regress: missing regress config file
regressions need to access this file to setup the InOrderCPU object
2009-05-12 20:30:40 -04:00
Korey Sewell
b5959124e1 inorder-regress: add vortex ALPHA_SE 2009-05-12 15:01:17 -04:00