Commit graph

1567 commits

Author SHA1 Message Date
Nathan Binkert
5f6328d9c6 properly implement the fifo _reserved stuff.
dev/pktfifo.cc:
    need to checkpoint _reserved
dev/pktfifo.hh:
    When clearing, clear _reserved
    size() is used for determining how many bytes are in the fifo
    ready to be pulled, so we don't want to add _reserved
    avail() on the other hand is used for determining how much
    free space is in the fifo for adding packets.
    adjust the implementation of empty() and full() to reflect this.

--HG--
extra : convert_revision : 3281972b4b70ea5833d39ae7ce1e73648b3573b0
2004-11-17 01:27:08 -05:00
Steve Reinhardt
0c056556b1 Add chart data output option to profile-top.
--HG--
extra : convert_revision : 1aa2435eb0771c1d46100700364b2d4dbff27a05
2004-11-17 00:52:55 -05:00
Nathan Binkert
c43c3f2af3 initialize _reserved
--HG--
extra : convert_revision : a0f98c135734602b1d4b0890d8ff8cecc0e42f88
2004-11-17 00:28:42 -05:00
Steve Reinhardt
82e2fc3994 Add categorization support to profile-top script.
--HG--
extra : convert_revision : eaee8e5ee12b7cfcd77a65fa96d17c7019c94089
2004-11-17 00:04:01 -05:00
Lisa Hsu
62ee766e50 Merge zizzer:/bk/m5 into zed.eecs.umich.edu:/z/hsul/work/m5
--HG--
extra : convert_revision : 3ad33afea5aebe67816f7d4e6b24a43636316ffa
2004-11-17 00:04:00 -05:00
Nathan Binkert
ee962a6b0b Fix some commands.
util/stats/stats.py:
    we only need the system if we're issuing one of the commands that
    uses a stored formula.

--HG--
extra : convert_revision : d129a00eeba46a03f7d600922d679aa0f43636be
2004-11-17 00:03:59 -05:00
Nathan Binkert
f427445753 Merge zizzer.eecs.umich.edu:/bk/m5
into ziff.eecs.umich.edu:/z/binkertn/research/m5/latest

--HG--
extra : convert_revision : 00c450b42a18d645cc9029e7ef56b4797b7308c5
2004-11-16 23:59:59 -05:00
Nathan Binkert
a109296bde Fix a bug where we would improperly calculate if the FIFO was
full by adding a reserve feature to the packet fifo which allows
us to reserve space in the fifo if only part of a packet was
copied into the fifo.

dev/ns_gige.cc:
    use the new reserve feature in the fifo to properly determine
    when we're full.  assert that adding a packet to the fifo suceeds.
dev/pktfifo.hh:
    add the ability to reserve space in the fifo.  This is useful for
    partial writing of packets into the fifo.

--HG--
extra : convert_revision : 83f871f34fac237bb464c9513cf6490b5c62420e
2004-11-16 23:59:51 -05:00
Lisa Hsu
95ce45ade9 nest the 2Int references inside #ifdefs so that the parser doesn't fart.
--HG--
extra : convert_revision : 0dbcefc327128674952782440639bac7b0b9e96e
2004-11-16 23:07:27 -05:00
Lisa Hsu
5331fd197b Merge zizzer:/bk/m5 into zed.eecs.umich.edu:/z/hsul/work/m5
--HG--
extra : convert_revision : b0a61f2238bc92fca6576aed42d10aa8071d3290
2004-11-16 23:00:27 -05:00
Lisa Hsu
87612a032c make spec-surge use the specweb fileset.
--HG--
extra : convert_revision : cc955b1c7a28cdcebc0b084b41f8fc52713e8d45
2004-11-16 23:00:19 -05:00
Ali Saidi
8de12dc09a merged noNAT and NFS small block changes
--HG--
extra : convert_revision : 81899edb511a4751e06e272451286a2176774860
2004-11-16 22:53:15 -05:00
Ali Saidi
8a2975074f Add nfs small block benchmark
--HG--
extra : convert_revision : 488fa56c49b97ea46fa85c5f820565debb324e39
2004-11-16 22:46:56 -05:00
Steve Reinhardt
8e85445f3d Merge zizzer.eecs.umich.edu:/z/m5/Bitkeeper/m5
into zizzer.eecs.umich.edu:/z/stever/bk/m5

--HG--
extra : convert_revision : 3ddbfbc7ab9fdb15c35d86c27b3e23dd459028a8
2004-11-16 22:43:24 -05:00
Lisa Hsu
1d25eb4cbf Merge zizzer:/bk/m5 into zed.eecs.umich.edu:/z/hsul/work/m5
--HG--
extra : convert_revision : 6c02cd3a846edcb915ba5d243bb938a9cc42f154
2004-11-16 22:43:23 -05:00
Lisa Hsu
182425da82 add support for NAT under netperf stream, maerts, and spec-surge.
configs/boot/spec-surge-client.rcS:
configs/boot/surge-client.rcS:
    fix this rcS - don't sleep, instead wait for the server to tell you it's done.
configs/boot/spec-surge-server.rcS:
configs/boot/surge-server.rcS:
    notify the client you're done starting the server.

--HG--
extra : convert_revision : b708bd0a9147e248eed7c27e7078668fbd98b95e
2004-11-16 22:43:12 -05:00
Steve Reinhardt
2c5b0c544c Modest enhancement to profile-top script
--HG--
extra : convert_revision : 19986c011852577a6b5bb6bca59b35e07dc083c3
2004-11-16 22:42:33 -05:00
Ali Saidi
4dc89c2b0e Merge zizzer:/bk/m5 into zeep.eecs.umich.edu:/z/saidi/work/m5
--HG--
extra : convert_revision : f54eb63785cbf774461dcb0cb092742732dde23e
2004-11-16 22:09:28 -05:00
Nathan Binkert
33135a051a more ini fixing
--HG--
extra : convert_revision : 27e946a3e620e045ef6d6b001dd9b3daccfa147e
2004-11-16 22:09:27 -05:00
Ali Saidi
9f2df2d621 skip the nfs charecter by charecter and re-write stuff
configs/boot/nfs-client.rcS:
    skip the charecter and rewrite test

--HG--
extra : convert_revision : 2630e1f1a2a52a4e96a45e12769a94de28ad5c93
2004-11-16 21:59:12 -05:00
Steve Reinhardt
5c06abd58c Add simple python utility for parsing function
profile output.

--HG--
extra : convert_revision : 99e227830088a8db96e0e8fbe04cae49005bd43f
2004-11-16 17:23:54 -05:00
Steve Reinhardt
7ba82a9c43 Merge zizzer.eecs.umich.edu:/z/m5/Bitkeeper/m5
into zizzer.eecs.umich.edu:/z/stever/bk/m5

--HG--
extra : convert_revision : bf821e90a6f15a69dfa46fe37f7ab586698cd0c0
2004-11-16 17:20:49 -05:00
Steve Reinhardt
c9b0204e28 Add simple function-tracing support. Prints a message
every time the committed PC changes from one symbol scope
to another.
Set function_trace=y on target CPU to enable.
To defer start, use function_trace_start=<tick>
(in addition to setting function_trace=y).

cpu/base_cpu.cc:
cpu/base_cpu.hh:
    Add simple function-tracing support.
cpu/simple_cpu/simple_cpu.cc:
    Add function_trace, function_trace_start params
    Call traceFunctions() on instruction completion
cpu/simple_cpu/simple_cpu.hh:
    Add function_trace, function_trace_start params

--HG--
extra : convert_revision : 8a7f84028ccbaee585253629007f32fc8eae35e1
2004-11-16 17:20:38 -05:00
Nathan Binkert
b6f2e3f96d more ordering for .ini file.
--HG--
extra : convert_revision : 0b20009bd1688e7ccc52d4a5afd384180ada2e72
2004-11-16 16:05:53 -05:00
Ali Saidi
34b2014463 add asymmetric dual configurations
--HG--
extra : convert_revision : e1479f7033350982d729c0b7228f570d4302fe6b
2004-11-16 02:22:07 -05:00
Ali Saidi
44759118ac use the big swap disk
--HG--
extra : convert_revision : 87bae6fc4746e7b5b029ea45ab2b71e0d8cd58ae
2004-11-16 00:46:17 -05:00
Ali Saidi
0f82fb9d3b Merge zizzer:/bk/m5 into zeep.eecs.umich.edu:/z/saidi/work/m5
--HG--
extra : convert_revision : ef573e6e6dab2516c930b6209b66442d8ad85be0
2004-11-16 00:35:05 -05:00
Ali Saidi
82235799d3 fixed for 768MB runs
--HG--
extra : convert_revision : c86b282788919d414470aaf551094fee1bebbbab
2004-11-16 00:34:45 -05:00
Nathan Binkert
8f362c7621 Fix default sampling periods
--HG--
extra : convert_revision : bc1f5c36fb6f7bb56e4a403f4ae0d87fee044459
2004-11-16 00:30:35 -05:00
Nathan Binkert
0ef1cac5c3 Dual core configuration for detailed simulation
--HG--
extra : convert_revision : 8f2e27631365a3ffe4aa7a9a1d29081ef786801b
2004-11-16 00:28:35 -05:00
Nathan Binkert
a5b3a0199f fix benchmark.ini ordering
--HG--
extra : convert_revision : 55580e2aa602479ff804bd27857d0b10250ce376
2004-11-16 00:15:14 -05:00
Nathan Binkert
1da2738d9b improve configs
--HG--
extra : convert_revision : 981568baeaa7ab78cccc9e3ac5112b2426a440ff
2004-11-16 00:03:03 -05:00
Nathan Binkert
e0c2ef317b All of these benchmarks use two systems
--HG--
extra : convert_revision : d3482d77b08b5ef040d0d933b3320c5db4781bb5
2004-11-15 23:26:10 -05:00
Nathan Binkert
605961fa1a setup memory sizes for the various benchmarks
--HG--
extra : convert_revision : a5861aaa53cc71c67e32bf633ce7bbe2d9c892ca
2004-11-15 23:23:04 -05:00
Steve Reinhardt
b1816cb837 Minor cleanup of symtab code/includes.
base/loader/symtab.cc:
base/loader/symtab.hh:
    Get rid of old unused calls.
cpu/simple_cpu/simple_cpu.hh:
    No need to include base/loader/symtab.hh
kern/linux/linux_system.cc:
kern/tru64/tru64_system.cc:
    Include base/loader/symtab.hh (since it's no longer included in system.hh)
sim/system.hh:
    Replace include of base/loader/symtab.hh with forward class decl.

--HG--
extra : convert_revision : 3a778c2f409ec94e3b00eaa9b3859943cb39918c
2004-11-15 20:30:51 -05:00
Steve Reinhardt
26c666b4f3 Minor fixes for pc sampling profile.
cpu/exetrace.cc:
    Fix dumb mistake.

--HG--
extra : convert_revision : 9d5d0d09775133d1a60cf459f1bd47afa8480663
2004-11-15 19:57:11 -05:00
Nathan Binkert
e904ef3763 make benchmarks.ini a bit less confusing
--HG--
extra : convert_revision : 047ff4f84677d5b132b4d1fe80fbbf91a213a833
2004-11-15 18:21:36 -05:00
Nathan Binkert
eb7b873b05 Fix up the spec-surge benchmark
configs/boot/spec-surge-client.rcS:
    change the number of connections and add stuff for the
    file set size and checkpointing

--HG--
extra : convert_revision : 9e0fe74f44300893c6050e3eb1ae302f71c02767
2004-11-15 18:20:43 -05:00
Nathan Binkert
f08cb65703 clean up benchmarks differentiate the two surge benchmarks
--HG--
extra : convert_revision : 8fd9717b34a5cdfa9e36a421e3df7cd957becb9c
2004-11-15 16:11:30 -05:00
Nathan Binkert
63dbaccdc4 more whitespace fixes
configs/boot/spec-surge-client.rcS:
configs/boot/spec-surge-server.rcS:
    whitespace fixes

--HG--
extra : convert_revision : 90eb2a325a3cf4436081c992d6f3e0f903980ff7
2004-11-15 16:07:28 -05:00
Nathan Binkert
abbbea57a7 more formatting
configs/boot/nfs-server.rcS:
    fix whitespace

--HG--
extra : convert_revision : d421d5fa1e041b041d7c47d36abe55a2dd3e7487
2004-11-15 15:45:55 -05:00
Nathan Binkert
2cc34a34df formatting
configs/boot/nfs-client.rcS:
    fix whitespace

--HG--
extra : convert_revision : dc384870de9431fe30b13a2c8c69d97b2d06dca9
2004-11-15 15:44:25 -05:00
Nathan Binkert
49d470a3b5 cleanup the nfs server script
configs/boot/nfs-server.rcS:
    don't need extra IP aliases

    re-order the nfs daemons so they happen in the right order
    and don't have the shell put them in the background since they
    will auto detach anyway.

--HG--
extra : convert_revision : a6b13ac91d1649878d346663f6ddff56d9a8a8ec
2004-11-15 15:42:15 -05:00
Nathan Binkert
f7323aebe8 fix udp checksums
base/inet.hh:
    tcp/udp/ip checksums are calculated/manipulated in NBO always,
    so there's no need to convert to host endian.

--HG--
extra : convert_revision : 13d6aff025a6c072d9d829c2e9fad4f13399b1f7
2004-11-15 15:40:35 -05:00
Steve Reinhardt
c250a16e05 Merge zizzer.eecs.umich.edu:/z/m5/Bitkeeper/m5
into zizzer.eecs.umich.edu:/z/stever/bk/m5

--HG--
extra : convert_revision : 033375b63b56104a5c1823985eeee7bb6cdcc7de
2004-11-15 02:44:23 -05:00
Nathan Binkert
bd4f5f843d mount surge image read-only
--HG--
extra : convert_revision : b91a93f9dc004c587d3ec763ecde98e5bd241159
2004-11-15 02:44:22 -05:00
Steve Reinhardt
fed64a3b36 Add support for sampled PC profiling to FullCPU.
Simple text list of symbol (or address) and count
will be dumped to m5prof.<cpu-name> if the cpu's
pc_sample_interval param is set.

SConscript:
    Add cpu/full_cpu/pc_sample_profile.cc
base/callback.hh:
    Add a comment about MakeCallback.
    Fix type in another comment.
base/loader/symtab.cc:
    Revamp findNearestSymbol() to provide addresses of both
    nearest symbols (preceding and following) as well as
    string for former.

    Move global definition of debugSymbolTable here too.
base/loader/symtab.hh:
    Revamp findNearestSymbol() to provide addresses of both
    nearest symbols (preceding and following) as well as
    string for former.

    Move global declaration of debugSymbolTable here too.
cpu/exetrace.cc:
    Use new findNearestSymbol() interface for trace symbols.
kern/linux/linux_system.cc:
sim/system.cc:
    Remove extern of debugSymbolTable (now in symtab.hh)
sim/process.cc:
    Initialize debugSymbolTable if binary has a symbol table.

--HG--
extra : convert_revision : 0b5393dc39c40ac88c953684708f1125da550671
2004-11-15 01:56:40 -05:00
Nathan Binkert
928656aecb make it so we can individually use the sampling cpu on
either the client or the server.

Make an ini file that makes our benchmarks easier to run.

--HG--
extra : convert_revision : c270cd1c027cb40d5c5bcfc2ed63f9db4b155116
2004-11-15 01:55:24 -05:00
Ali Saidi
0097ab1ecb Merge zizzer:/bk/m5 into zeep.eecs.umich.edu:/tmp/m5
--HG--
extra : convert_revision : 3c7b8a86b528a61f5cb14c86ec7c1eb9276824af
2004-11-15 01:36:28 -05:00
Nathan Binkert
10e88b43fd Fix more of the stats python stuff
util/stats/info.py:
    Make the binnings stuff work again.
util/stats/stats.py:
    small patch for graphing
    make it so we can print out bins for the stat command

--HG--
extra : convert_revision : c0279ac7030fd5146dd00801baa41e7baf97d1f4
2004-11-15 01:36:27 -05:00