misc: Merge branch 'release-staging-v20.0.0.0' into develop

This commit is contained in:
Bobby R. Bruce
2020-05-28 01:04:16 -07:00
200 changed files with 1327 additions and 7863 deletions

2
.gitignore vendored
View File

@@ -8,7 +8,7 @@ cscope.out
.*.swp
.*.swo
m5out
/src/doxygen
/src/doxygen/html
/ext/dramsim2/DRAMSim2
/ext/mcpat/regression/*/*.out
/util/m5/*.o

View File

@@ -1,11 +1,95 @@
# Version 20.0.0.0
* Compiling and running gem5 with Python 3 is now fully supported.
* Compiling and running gem5 with GCC 8 and 9 is now supported.
* Scons-based tests have been migrated to the testlib framework. Please consult TESTING.md for more information on how these may be run.
* Support for the ALPHA ISA has been dropped.
Welcome to our first "official" gem5 release!
gem5 v19.0.0.0 was a "test" release, but this one has release notes, so it must be official!
Thank you to everyone that made this release possible!
This has been a very productive release with over [70 issues closed](https://gem5.atlassian.net/), over 500 commits, and 31 unique contributors.
Below are some of the highlights, though I'm sure I've missed some important changes.
## New features
* [gem5-resources repository](https://gem5.googlesource.com/public/gem5-resources/)
* This new repository will store all of the *sources* (e.g., code) used to create testing and research resources. This includes disk images, testing binaries, kernel binaries, etc.
* Binaries created with the sources are hosted on dist.gem5.org.
* Details on the new page for resources: <http://www.gem5.org/documentation/general_docs/gem5_resources>.
* Memory SimObjects can now be initialized using an image file using the image_file parameter.
* The m5 utility has been revamped with a new build system based on scons, tests, and updated and more consistent feature support.
* **[USER-FACING CHANGE]** The m5 utility has been revamped with a new build system based on scons, tests, and updated and more consistent feature support.
* To build, now use `scons build/<arch>/out/m5`, not `make`.
* [Documentation](http://www.gem5.org/documentation/general_docs/m5ops/) coming soon.
* Robust support for marshalling data from a function call inside the simulation to a function within gem5 using a predefined set of rules.
* Workload configuration pulled out into its own object, simplifying the System object and making workload configuration more modular and flexible.
* Developers can specify an ABI for guest<->simulator calls and then "just call functions".
* Unifies pseudo-inst, syscall, and other support.
* Code within gem5 has been updated. However, users which added new pseudo-ops may have to update their code.
* **[PYTHON API CHANGE]** Workload configuration pulled out into its own object, simplifying the System object and making workload configuration more modular and flexible.
* All full system config/run scripts must be updated (e.g., anything that used the `LinuxX86System` or similar SimObject).
* Many of the parameters of `System` are now parameters of the `Workload` (see `src/sim/Workload.py`).
* For instance, many parameters of `LinuxX86System` are now part of `X86FsLinux` which is now the `workload` parameter of the `System` SimObject.
* See https://gem5-review.googlesource.com/c/public/gem5/+/24283/ and https://gem5-review.googlesource.com/c/public/gem5/+/26466 for more details.
* Sv39 paging has been added to the RISC-V ISA, bringing gem5 close to running Linux on RISC-V.
* (Some) Baremetal OSes are now supported.
* Improvements to DRAM model:
* Added support for verifying available command bandwidth.
* Added support for multi-cycle commands.
* Added new timing parameters.
* Added ability to interleave bursts.
* Added LPDDR5 configurations.
* **[Developer change]** We are beginning to document gem5 APIs.
* Currently, only SimObjects and the APIs they depend on have been documented.
* We are using doxygen to mark "stable APIs" and will use manual code review to make sure the APIs stay stable.
* More information will be coming during gem5-20.1 development.
## Removed features
* Support for the ALPHA ISA has been dropped.
* All ALPHA ISA code has been removed
* Old "rcS" scripts for ALPHA have been removed
## New supported platforms
* Compiling and running gem5 with Python 3 is now fully supported.
* Lots of code changes required for this.
* There may still be some python code that's not up to date. Please open a [Jira ticket](https://gem5.atlassian.net/) if you find any code that doesn't work with python3.
* gem5 now supports Ubuntu 20.04.
* Compiling gem5 with GCC 8 and 9 is now supported.
* Compiling with clang up to version 9 is now supported.
## Testing improvements
* Scons-based tests have been migrated to the testlib framework.
* Tests can now be run with `tests/main.py`, except for the unittests.
* Please consult TESTING.md for more information on how these may be run.
* We are continuing to work on CI tests. Most of the plumbing is there for Google Cloud Build integration. See [the Jira issue](https://gem5.atlassian.net/browse/GEM5-237) for details.
## Other API changes
* **[API CHANGE]** Ruby's prefetcher renamed to RubyPrefetcher.
* Any SLICC protocols with prefetchers need to be updated.
* Some config scripts for Ruby protocols with prefetchers may need to be updated.
* **[API CHANGE]** SE mode improvements.
* Better support for the mmap and related syscalls.
* A new virtual memory area API for tracking SE mode allocations.
* When implementing syscalls, the way that guest memory is allocated changes. All code in gem5 is updated, but if there are any external syscalls, they may need be updated.
* **[COMMAND LINE CHANGE]** The `--disk-image` argument to `fs.py` is now optional.
* However, the disk image names *are no longer implied*.
* The script still implicitly searches `M5_PATH`, but the name of the disk image must be specified.
* **[API CHANGE]** SLICC `queueMemory` is now `enqueue`.
* All protocol configs must be updated with another message buffer in the memory controllers (directories).
* All protocol SLICC files must replace `queueMemoryRead` and `queueMemoryWrite` with `enqueue` to another "special" message buffer named `memQueue`.
* This allows finite buffering between the cache controllers and DRAMCtrl.
* **[API CHANGE]** Added Prefetcher namespace
* All prefetchers' names have changed from `*Prefetcher` to `Prefetcher::*`
* If you have any prefetchers that are not in the gem5 mainline, your code will likely need to be updated.
## Other changes
* Implemented ARMv8.3-CompNum, SIMD complex number extension.
* Support for Arm Trusted Firmware + u-boot with the new VExpress_GEM5_Foundation platform
* Removed author list from source files.
* This was originally so future people would know who to contact.
* However, it was difficult to maintain and quickly out of date.
* Copyright is unchanged.
* Improvements to gem5's power model.
* MESI_Three_Level Ruby protocol bugfixes.
* Ruby functional reads now work in more cases.
* Indirect branch stats work correctly now.

View File

@@ -97,7 +97,7 @@ import SCons
import SCons.Node
import SCons.Node.FS
from m5.util import compareVersions, readCommand
from m5.util import compareVersions, readCommand, readCommandWithReturn
help_texts = {
"options" : "",
@@ -277,7 +277,7 @@ global_vars.AddVariables(
('CCFLAGS_EXTRA', 'Extra C and C++ compiler flags', ''),
('LDFLAGS_EXTRA', 'Extra linker flags', ''),
('PYTHON_CONFIG', 'Python config binary to use',
[ 'python2.7-config', 'python-config' ]),
[ 'python2.7-config', 'python-config', 'python3-config' ]),
('PROTOC', 'protoc tool', environ.get('PROTOC', 'protoc')),
('BATCH', 'Use batch pool for build and tests', False),
('BATCH_CMD', 'Batch pool submission command name', 'qdo'),
@@ -404,22 +404,27 @@ if main['GCC']:
main['GCC_VERSION'] = gcc_version
if compareVersions(gcc_version, '4.9') >= 0 and \
compareVersions(gcc_version, '8.1') < 0:
if compareVersions(gcc_version, '4.9') >= 0:
# Incremental linking with LTO is currently broken in gcc versions
# 4.9 to 8.1.
# 4.9 and above. A version where everything works completely hasn't
# yet been identified.
#
# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67548
#
main['BROKEN_INCREMENTAL_LTO'] = True
if compareVersions(gcc_version, '6.0') >= 0:
# gcc versions 6.0 and greater accept an -flinker-output flag which
# selects what type of output the linker should generate. This is
# necessary for incremental lto to work, but is also broken in
# versions of gcc up to 8.1.
# current versions of gcc. It may not be necessary in future
# versions. We add it here since it might be, and as a reminder that
# it exists. It's excluded if lto is being forced.
#
# https://gcc.gnu.org/gcc-6/changes.html
# https://gcc.gnu.org/ml/gcc-patches/2015-11/msg03161.html
# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69866
main['BROKEN_INCREMENTAL_LTO'] = True
if not GetOption('force_lto'):
main.Append(PSHLINKFLAGS='-flinker-output=rel')
main.Append(PLINKFLAGS='-flinker-output=rel')
disable_lto = GetOption('no_lto')
if not disable_lto and main.get('BROKEN_INCREMENTAL_LTO', False) and \
@@ -471,6 +476,11 @@ elif main['CLANG']:
# interchangeably.
'-Wno-mismatched-tags',
])
if compareVersions(clang_version, "10.0") >= 0:
main.Append(CCFLAGS=['-Wno-c99-designator'])
if compareVersions(clang_version, "8.0") >= 0:
main.Append(CCFLAGS=['-Wno-defaulted-function-deleted'])
main.Append(TCMALLOC_CCFLAGS=['-fno-builtin'])
@@ -683,8 +693,21 @@ if main['USE_PYTHON']:
# Read the linker flags and split them into libraries and other link
# flags. The libraries are added later through the call the CheckLib.
py_ld_flags = readCommand([python_config, '--ldflags'],
exception='').split()
# Note: starting in Python 3.8 the --embed flag is required to get the
# -lpython3.8 linker flag
retcode, cmd_stdout = readCommandWithReturn(
[python_config, '--ldflags', '--embed'], exception='')
if retcode != 0:
# If --embed isn't detected then we're running python <3.8
retcode, cmd_stdout = readCommandWithReturn(
[python_config, '--ldflags'], exception='')
# Checking retcode again
if retcode != 0:
error("Failing on python-config --ldflags command")
py_ld_flags = cmd_stdout.split()
py_libs = []
for lib in py_ld_flags:
if not lib.startswith('-l'):

View File

@@ -2,5 +2,5 @@
# All rights reserved.
TARGET_ISA = 'arm'
CPU_MODELS = 'TimingSimpleCPU, O3CPU'
CPU_MODELS = 'TimingSimpleCPU,O3CPU'
PROTOCOL = 'MESI_Three_Level'

View File

@@ -2,5 +2,5 @@
# All rights reserved.
TARGET_ISA = 'arm'
CPU_MODELS = 'TimingSimpleCPU, O3CPU'
CPU_MODELS = 'TimingSimpleCPU,O3CPU'
PROTOCOL = 'MOESI_hammer'

View File

@@ -1,5 +0,0 @@
PROTOCOL = 'GPU_VIPER'
TARGET_ISA = 'x86'
TARGET_GPU_ISA = 'gcn3'
BUILD_GPU = True
CPU_MODELS = 'AtomicSimpleCPU,O3CPU,TimingSimpleCPU'

View File

@@ -1,3 +1,3 @@
TARGET_ISA = 'alpha'
CPU_MODELS = 'AtomicSimpleCPU,TimingSimpleCPU,O3CPU,MinorCPU'
TARGET_ISA = 'null'
CPU_MODELS = ''
PROTOCOL = 'Garnet_standalone'

View File

@@ -1,12 +0,0 @@
#!/bin/sh
cd /benchmarks/spec/ammp00/
/sbin/m5 checkpoint 0 0
/sbin/m5 checkpoint 100000000 200000000
/sbin/m5 loadsymbol
/sbin/m5 resetstats
./ammp < input/mdred.in
/sbin/m5 exit

View File

@@ -1,257 +0,0 @@
000000012001da40 T AMMPmonitor
000000012001dfc0 T AMMPmonitor_mute
0000000120034338 D _DYNAMIC
00000001200346c8 D _GLOBAL_OFFSET_TABLE_
0000000120034d60 G _IO_stdin_used
0000000120034500 T _PROCEDURE_LINKAGE_TABLE_
00000001200344e0 d __CTOR_END__
00000001200344d8 d __CTOR_LIST__
00000001200344f0 d __DTOR_END__
00000001200344e8 d __DTOR_LIST__
0000000120034334 r __FRAME_END__
00000001200344f8 d __JCR_END__
00000001200344f8 d __JCR_LIST__
0000000120034da0 A __bss_start
00000001200328c8 D __data_start
0000000120020c40 t __do_global_ctors_aux
0000000120001090 t __do_global_dtors_aux
0000000120034d68 G __dso_handle
00000001200328c8 A __fini_array_end
00000001200328c8 A __fini_array_start
00000001200328c8 A __init_array_end
00000001200328c8 A __init_array_start
0000000120020ba0 T __libc_csu_fini
0000000120020af0 T __libc_csu_init
0000000120001050 W __start
0000000120034da0 A _edata
0000000120035418 A _end
0000000120020ca0 T _fini
0000000120000fe8 T _init
0000000120001050 T _start
000000012000d220 T a_angle
000000012000b3d0 T a_bond
000000012000e1b0 T a_c_angle
0000000120009cd0 T a_d_zero
0000000120009c90 T a_f_zero
0000000120009f70 T a_ftodx
000000012000a000 T a_ftogx
000000012000a090 T a_ftovx
0000000120009d20 T a_g_zero
0000000120010950 T a_hybrid
000000012000a7c0 T a_inactive_f_zero
0000000120009e50 T a_inc_d
0000000120009dc0 T a_inc_f
0000000120009ee0 T a_inc_v
000000012000a370 T a_l2_d
000000012000a220 T a_l2_f
000000012000a290 T a_l2_g
000000012000a300 T a_l2_v
0000000120008bf0 T a_m_serial
000000012000a1a0 T a_max_d
000000012000a120 T a_max_f
000000012000d570 T a_mmangle
000000012000b620 T a_mmbond
0000000120009c30 T a_next
0000000120005350 T a_noel
0000000120004700 T a_nonbon
0000000120009bc0 T a_number
00000001200096b0 T a_pr_beta
000000012000a660 T a_readvelocity
0000000120020750 T a_restrain
000000012001eda0 T a_tether
000000012001a2e0 T a_torsion
0000000120009d70 T a_v_zero
0000000120003c90 T aaerror
0000000120009a60 T activate
000000012001fef0 T alltether
0000000120004370 T analyze
000000012000c0d0 T angle
0000000120034df8 S angle_first
0000000120034e00 S angle_last
0000000120034dd0 s ap.2
0000000120034de0 s ap.4
0000000120008970 T atom
0000000120034dc8 s atomNUMBER
0000000120034dcc s atomUPDATE
000000012000a8b0 T bond
0000000120034de8 S bond_first
0000000120034df0 S bond_last
000000012000bf20 T bond_length
000000012001f240 T bstrot
0000000120034ea0 b buff.0
000000012001ad40 T cngdel
0000000120034da0 s completed.1
00000001200200c0 T cpyvec
00000001200328c8 W data_start
0000000120034d98 g dielecold.0
000000012000efe0 T dump_angles
0000000120008d00 T dump_atoms
000000012000be40 T dump_bonds
000000012000a3e0 T dump_excludes
000000012000a6c0 T dump_force
0000000120011a50 T dump_hybrids
0000000120005c20 T dump_noels
0000000120008f40 T dump_pdb
0000000120020a10 T dump_restrains
000000012001ffe0 T dump_tethers
0000000120017b30 T dump_tgroup
000000012001a170 T dump_torsions
000000012001b7a0 T dump_variable
000000012000a590 T dump_velocity
0000000120034d7c g echo.0
0000000120001760 T eval
000000012000c580 T f_angle
000000012000ac60 T f_bond
0000000120001230 T f_box
000000012000dc50 T f_c_angle
000000012000ea10 T f_ho_angle
000000012000bab0 T f_ho_bond
0000000120011020 T f_ho_hybrid
0000000120005840 T f_ho_noel
000000012001fca0 T f_ho_tether
00000001200102b0 T f_hybrid
000000012000cd10 T f_mmangle
000000012000b0e0 T f_mmbond
0000000120005060 T f_noel
00000001200155d0 T f_nonbon
0000000120020500 T f_restrain
000000012001ebd0 T f_tether
0000000120019850 T f_torsion
000000012000fbd0 T f_trace
0000000120034db8 S first
0000000120035058 B forces
0000000120001130 t frame_dummy
0000000120014b20 T fv_update_nonbon
0000000120034e58 s fx.0
0000000120034e60 s fy.1
0000000120034e68 s fz.2
000000012000ef40 T get_angle
000000012000bda0 T get_bond
000000012000c050 T get_bond_pointer
000000012001b6e0 T get_f_variable
00000001200119b0 T get_hybrid
000000012001b740 T get_i_variable
0000000120005b80 T get_noel
0000000120020970 T get_restrain
000000012001a9f0 T get_torsion
00000001200184a0 T get_torsion_value
000000012001ca50 T getatomdata
000000012000f130 T gsdg
000000012000e5a0 T gsdg_angle
000000012000bfc0 T gsdg_bond
000000012000f810 T gsdg_dgeom
0000000120011790 T gsdg_hybrid
000000012000f6c0 T gsdg_line_search
0000000120005d30 T gsdg_noel
000000012001a850 T gsdg_torsion
0000000120034d84 g highest.0
0000000120007490 T hpac
000000012000fe30 T hybrid
0000000120034e08 S hybrid_first
0000000120034e10 S hybrid_last
0000000120034e70 S in_mom_list
0000000120009920 T inactivate
00000001200097a0 T inactivate_non_zero
0000000120034d80 g inloop.1
0000000120034e74 s ip.1
0000000120034e78 s jp.2
0000000120034e7c s kp.3
0000000120034dc0 S last
0000000120034dd8 s lastmatched.3
000000012001b0d0 T linmin
0000000120003f80 T loadloop
0000000120034e28 s local.3
0000000120034d88 g lowest.1
0000000120034e20 s lsize.2
0000000120001180 T main
0000000120017c10 T match_tgroup
000000012001b450 T match_variable
000000012001b860 T math
000000012001cd40 T math_findlabel
000000012001ccb0 T math_match_atom
0000000120020100 T matmul
0000000120012b90 T mm_fv_update_nonbon
000000012001cef0 T mom
000000012001d3f0 T mom_add
000000012001d900 T mom_jab
00000001200350f8 B mom_list
000000012001d890 T mom_param
000000012001d600 T mom_solve
0000000120004c70 T noel
0000000120034da8 S noel_first
0000000120034db0 S noel_last
0000000120034d78 G nused
0000000120034e18 s oldatomnumber.0
0000000120034d90 g oldcutoff.4
0000000120034d70 g p.0
0000000120006430 T pac
0000000120006dd0 T pacpac
00000001200350a8 B potentials
0000000120007ac0 T ppac
0000000120008180 T ptpac
000000012001e840 T rand3
000000012001e480 T randf
000000012001e760 T randg
0000000120001550 T read_eval_do
00000001200201c0 T restrain
0000000120034e90 S restrain_first
0000000120034e98 S restrain_last
000000012001b4e0 T set_f_variable
000000012001b5e0 T set_i_variable
0000000120018730 T set_torsion
000000012001e2a0 T significance
0000000120034e1c s since.1
000000012001aa90 T steep
0000000120018f50 T tailor_exclude
0000000120018d30 T tailor_include
0000000120019110 T tailor_qab
000000012001e940 T tether
0000000120034e80 S tether_first
0000000120034e88 S tether_last
00000001200171f0 T tg_apply
0000000120017490 T tg_d_apply
0000000120016fd0 T tg_do_search
0000000120034e30 S tg_first
0000000120017a20 T tg_gen_con
0000000120016b90 T tg_init
0000000120017700 T tg_nonbon
0000000120016220 T tgroup
0000000120004220 T tisint
0000000120003cd0 T tisvariable
00000001200189e0 T tmap
0000000120017ec0 T tmin
0000000120019190 T torsion
0000000120034e38 S torsion_first
0000000120034e40 S torsion_last
0000000120006840 T tpac
0000000120016800 T tsearch
0000000120017c80 T tset
0000000120018200 T tset_bond_build
0000000120012100 T u_f_nonbon
0000000120011b60 T u_v_nonbon
0000000120012770 T uselist
000000012000c310 T v_angle
000000012000aac0 T v_bond
0000000120001540 T v_box
000000012000d930 T v_c_angle
000000012000e750 T v_ho_angle
000000012000b8a0 T v_ho_bond
0000000120010ce0 T v_ho_hybrid
00000001200055e0 T v_ho_noel
000000012001faf0 T v_ho_tether
000000012000fff0 T v_hybrid
0000000120005dc0 T v_maxwell
000000012000ca20 T v_mmangle
000000012000aef0 T v_mmbond
0000000120004e60 T v_noel
0000000120015a80 T v_nonbon
0000000120005fd0 T v_rescale
0000000120020360 T v_restrain
000000012001eab0 T v_tether
00000001200193e0 T v_torsion
000000012000f990 T v_trace
000000012001c6f0 T validatom
0000000120034e48 S variableFIRST
0000000120034e50 S variableLAST
00000001200061a0 T verlet
0000000120015ec0 T zone_nonbon

View File

@@ -1,7 +0,0 @@
#!/bin/sh
#/benchmarks/spec/art00/art -scanfile c756hel.in -trainfile1 a10.img -stride 2 -startx 134 -starty 220 -endx 184 -endy 240 -objects 3
cd /benchmarks/spec/art00/
/sbin/m5 resetstats
/benchmarks/spec/art00/art -scanfile c756hel.in -trainfile1 a10.img -stride 5 -startx 134 -starty 220 -endx 184 -endy 240 -objects 1
/sbin/m5 exit

View File

@@ -1,3 +0,0 @@
cd /benchmarks/bn
./bottleneck-app
m5 exit

View File

@@ -1,13 +0,0 @@
#!/bin/sh
#
# /etc/init.d/rcS
#
echo -n "Mounting empty disk..."
mkdir /tmp-space
/bin/mount /dev/hdb1 /tmp-space
chmod a+rwx /tmp-space
echo "done."
/bin/bonnie++ -u 99 -s 700 -r 0 -n 0 -f -F -d /tmp-space
m5 exit

View File

@@ -1,309 +0,0 @@
0000000120025cb0 V DW.ref._ZTISt9bad_alloc
0000000120025c98 V DW.ref.__gxx_personality_v0
0000000120025018 D _DYNAMIC
00000001200255a0 D _GLOBAL_OFFSET_TABLE_
0000000120025c80 G _IO_stdin_used
00000001200251e0 T _PROCEDURE_LINKAGE_TABLE_
000000012000e8a0 T _Unwind_Backtrace
000000012000e860 T _Unwind_DeleteException
000000012000c290 T _Unwind_FindEnclosingFunction
0000000120010df0 T _Unwind_Find_FDE
0000000120010850 t _Unwind_Find_registered_FDE
000000012000e470 T _Unwind_ForcedUnwind
000000012000e340 t _Unwind_ForcedUnwind_Phase2
000000012000c260 T _Unwind_GetCFA
000000012000c2d0 T _Unwind_GetDataRelBase
000000012000e9d0 T _Unwind_GetGR
000000012000e9f0 T _Unwind_GetIP
000000012000c270 T _Unwind_GetLanguageSpecificData
000000012000c280 T _Unwind_GetRegionStart
000000012000c2e0 T _Unwind_GetTextRelBase
0000000120010ac0 t _Unwind_IteratePhdrCallback
000000012000e160 T _Unwind_RaiseException
000000012000e070 t _Unwind_RaiseException_Phase2
000000012000e5c0 T _Unwind_Resume
000000012000e710 T _Unwind_Resume_or_Rethrow
000000012000e9e0 T _Unwind_SetGR
000000012000ea00 T _Unwind_SetIP
0000000120003cb0 T _Z10TestDirOpsiiiiR12CGlobalItems
0000000120003220 T _Z11TestFileOpsiR12CGlobalItems
0000000120009250 T _Z11bon_setugidPKcS0_b
00000001200096b4 t _Z12read_sleb128PKhPl
0000000120009678 t _Z12read_uleb128PKhPm
0000000120009a04 t _Z15get_ttype_entryP16lsda_header_infom
0000000120009a84 t _Z16get_adjusted_ptrPKSt9type_infoS1_PPv
000000012000ab40 t _Z16get_globals_dtorPv
000000012000ab9c t _Z16get_globals_initv
00000001200098a8 t _Z17parse_lsda_headerP15_Unwind_ContextPKhP16lsda_header_info
0000000120009b30 t _Z20check_exception_specP16lsda_header_infoPKSt9type_infoPvl
0000000120009be0 t _Z20empty_exception_specP16lsda_header_infol
00000001200095b4 t _Z21base_of_encoded_valuehP15_Unwind_Context
000000012000abe0 t _Z21get_globals_init_oncev
0000000120009548 t _Z21size_of_encoded_valueh
000000012000a3ec t _Z23__gxx_exception_cleanup19_Unwind_Reason_CodeP17_Unwind_Exception
000000012000970c t _Z28read_encoded_value_with_basehmPKhPm
0000000120004200 T _Z5usagev
0000000120004510 T _Z6seekerP4ForkPvi
0000000120004240 T _Z8io_errorPKcb
000000012000a310 T _ZN10__cxxabiv111__terminateEPFvvE
000000012000a374 T _ZN10__cxxabiv112__unexpectedEPFvvE
000000012000b08c T _ZN10__cxxabiv117__class_type_infoD0Ev
000000012000b058 T _ZN10__cxxabiv117__class_type_infoD1Ev
000000012000b024 T _ZN10__cxxabiv117__class_type_infoD2Ev
0000000120025ca0 G _ZN10__cxxabiv119__terminate_handlerE
000000012000b148 T _ZN10__cxxabiv120__si_class_type_infoD0Ev
000000012000b114 T _ZN10__cxxabiv120__si_class_type_infoD1Ev
000000012000b0e0 T _ZN10__cxxabiv120__si_class_type_infoD2Ev
0000000120025ca8 G _ZN10__cxxabiv120__unexpected_handlerE
000000012000b204 T _ZN10__cxxabiv121__vmi_class_type_infoD0Ev
000000012000b1d0 T _ZN10__cxxabiv121__vmi_class_type_infoD1Ev
000000012000b19c T _ZN10__cxxabiv121__vmi_class_type_infoD2Ev
00000001200024b0 T _ZN12CGlobalItems18decrement_and_waitEi
0000000120002380 T _ZN12CGlobalItemsC1EPb
0000000120002250 T _ZN12CGlobalItemsC2EPb
0000000120008de0 T _ZN4Fork2goEPFvPS_PviES1_i
0000000120009080 T _ZN4Fork4ReadEPvii
0000000120009010 T _ZN4Fork4waitEv
0000000120009160 T _ZN4Fork5WriteEPvii
0000000120008d60 T _ZN4Fork7startitEP11THREAD_DATA
0000000120008d40 T _ZN4ForkC1Ev
0000000120008d20 T _ZN4ForkC2Ev
0000000120004cd0 T _ZN7CFileOp10read_blockEPv
0000000120004f90 T _ZN7CFileOp11write_blockEPv
0000000120004e70 T _ZN7CFileOp15read_block_getcEPc
0000000120005080 T _ZN7CFileOp16write_block_putcEv
0000000120005180 T _ZN7CFileOp4openEPKcbb
0000000120004a40 T _ZN7CFileOp4seekEii
0000000120005770 T _ZN7CFileOp5closeEv
0000000120005910 T _ZN7CFileOp6doseekElb
0000000120005630 T _ZN7CFileOp6m_openEPKcib
0000000120005430 T _ZN7CFileOp6reopenEbb
0000000120004760 T _ZN7CFileOp9seek_testEbR9Semaphore
0000000120005330 T _ZN7CFileOpC1ER8BonTimeriib
0000000120005230 T _ZN7CFileOpC2ER8BonTimeriib
0000000120004400 T _ZN7CFileOpD1Ev
00000001200042f0 T _ZN7CFileOpD2Ev
0000000120007b40 T _ZN8BonTimer10InitializeEv
0000000120007820 T _ZN8BonTimer10cpu_so_farEv
0000000120007c80 T _ZN8BonTimer10print_statE7tests_t
0000000120007f80 T _ZN8BonTimer11PrintHeaderEP8_IO_FILE
00000001200078f0 T _ZN8BonTimer11get_cpu_useEv
0000000120007970 T _ZN8BonTimer11get_delta_tE7tests_t
00000001200077e0 T _ZN8BonTimer11time_so_farEv
0000000120007860 T _ZN8BonTimer12get_cur_timeEv
0000000120007b70 T _ZN8BonTimer14print_cpu_statE7tests_t
0000000120007e40 T _ZN8BonTimer15print_file_statE7tests_t
0000000120007a10 T _ZN8BonTimer16add_delta_reportER8report_s7tests_t
00000001200079c0 T _ZN8BonTimer16get_delta_reportER8report_s
0000000120008030 T _ZN8BonTimer8DoReportEPKciiiiiiP8_IO_FILE
0000000120007790 T _ZN8BonTimer9timestampEv
0000000120007b00 T _ZN8BonTimerC1Ev
0000000120007ac0 T _ZN8BonTimerC2Ev
00000001200061a0 T _ZN9COpenTest10make_namesEb
0000000120005bf0 T _ZN9COpenTest11random_sortEv
0000000120007400 T _ZN9COpenTest11stat_randomER8BonTimer
0000000120006520 T _ZN9COpenTest13create_a_fileEPKcPcii
0000000120006710 T _ZN9COpenTest13create_a_linkEPKcS1_i
0000000120006c50 T _ZN9COpenTest13delete_randomER8BonTimer
00000001200074c0 T _ZN9COpenTest15stat_sequentialER8BonTimer
0000000120006f10 T _ZN9COpenTest17delete_sequentialER8BonTimer
0000000120006830 T _ZN9COpenTest6createEPKcR8BonTimeriiiib
0000000120007280 T _ZN9COpenTest9stat_fileEPKc
0000000120005b50 T _ZN9COpenTestC1EibPb
0000000120005ab0 T _ZN9COpenTestC2EibPb
0000000120005f40 T _ZN9COpenTestD1Ev
0000000120005ce0 T _ZN9COpenTestD2Ev
0000000120008aa0 T _ZN9Semaphore18decrement_and_waitEi
0000000120008920 T _ZN9Semaphore6createEi
0000000120008850 T _ZN9Semaphore9clear_semEv
0000000120008be0 T _ZN9Semaphore9get_mutexEv
0000000120008a10 T _ZN9Semaphore9get_semidEv
0000000120008c80 T _ZN9Semaphore9put_mutexEv
00000001200087d0 T _ZN9SemaphoreC1Eiii
0000000120008750 T _ZN9SemaphoreC2Eiii
000000012000b258 T _ZNK10__cxxabiv117__class_type_info10__do_catchEPKSt9type_infoPPvj
000000012000ba74 T _ZNK10__cxxabiv117__class_type_info11__do_upcastEPKS0_PKvRNS0_15__upcast_resultE
000000012000b2b8 T _ZNK10__cxxabiv117__class_type_info11__do_upcastEPKS0_PPv
000000012000b4c0 T _ZNK10__cxxabiv117__class_type_info12__do_dyncastElNS0_10__sub_kindEPKS0_PKvS3_S5_RNS0_16__dyncast_resultE
000000012000b330 T _ZNK10__cxxabiv117__class_type_info20__do_find_public_srcElPKvPKS0_S2_
000000012000baa4 T _ZNK10__cxxabiv120__si_class_type_info11__do_upcastEPKNS_17__class_type_infoEPKvRNS1_15__upcast_resultE
000000012000b510 T _ZNK10__cxxabiv120__si_class_type_info12__do_dyncastElNS_17__class_type_info10__sub_kindEPKS1_PKvS4_S6_RNS1_16__dyncast_resultE
000000012000b340 T _ZNK10__cxxabiv120__si_class_type_info20__do_find_public_srcElPKvPKNS_17__class_type_infoES2_
000000012000bb38 T _ZNK10__cxxabiv121__vmi_class_type_info11__do_upcastEPKNS_17__class_type_infoEPKvRNS1_15__upcast_resultE
000000012000b5c4 T _ZNK10__cxxabiv121__vmi_class_type_info12__do_dyncastElNS_17__class_type_info10__sub_kindEPKS1_PKvS4_S6_RNS1_16__dyncast_resultE
000000012000b394 T _ZNK10__cxxabiv121__vmi_class_type_info20__do_find_public_srcElPKvPKNS_17__class_type_infoES2_
000000012000ab30 T _ZNKSt9exception4whatEv
000000012000b00c T _ZNKSt9type_info10__do_catchEPKS_PPvj
000000012000b01c T _ZNKSt9type_info11__do_upcastEPKN10__cxxabiv117__class_type_infoEPPv
000000012000affc T _ZNKSt9type_info14__is_pointer_pEv
000000012000b004 T _ZNKSt9type_info15__is_function_pEv
000000012000afa8 T _ZNSt10bad_typeidD0Ev
000000012000af74 T _ZNSt10bad_typeidD1Ev
000000012000af40 T _ZNSt10bad_typeidD2Ev
000000012000aadc T _ZNSt13bad_exceptionD0Ev
000000012000aaa8 T _ZNSt13bad_exceptionD1Ev
000000012000aa74 T _ZNSt13bad_exceptionD2Ev
000000012000aeec T _ZNSt8bad_castD0Ev
000000012000aeb8 T _ZNSt8bad_castD1Ev
000000012000ae84 T _ZNSt8bad_castD2Ev
000000012000add4 T _ZNSt9bad_allocD0Ev
000000012000ada0 T _ZNSt9bad_allocD1Ev
000000012000ad6c T _ZNSt9bad_allocD2Ev
000000012000aa40 T _ZNSt9exceptionD0Ev
000000012000aa2c T _ZNSt9exceptionD1Ev
000000012000aa18 T _ZNSt9exceptionD2Ev
000000012000ae50 T _ZNSt9type_infoD0Ev
000000012000ae3c T _ZNSt9type_infoD1Ev
000000012000ae28 T _ZNSt9type_infoD2Ev
000000012000a39c T _ZSt10unexpectedv
000000012000a3bc T _ZSt13set_terminatePFvvE
000000012000a3d4 T _ZSt14set_unexpectedPFvvE
000000012000ad54 T _ZSt15set_new_handlerPFvvE
000000012000a9e4 T _ZSt18uncaught_exceptionv
0000000120025cd0 G _ZSt7nothrow
000000012000a354 T _ZSt9terminatev
00000001200127d8 V _ZTIN10__cxxabiv117__class_type_infoE
00000001200127f0 V _ZTIN10__cxxabiv120__si_class_type_infoE
0000000120012808 V _ZTIN10__cxxabiv121__vmi_class_type_infoE
00000001200127c0 V _ZTISt10bad_typeid
0000000120012578 V _ZTISt13bad_exception
00000001200127a8 V _ZTISt8bad_cast
00000001200125d8 V _ZTISt9bad_alloc
0000000120012568 V _ZTISt9exception
0000000120012798 V _ZTISt9type_info
000000012001286b V _ZTSN10__cxxabiv117__class_type_infoE
0000000120012846 V _ZTSN10__cxxabiv120__si_class_type_infoE
0000000120012820 V _ZTSN10__cxxabiv121__vmi_class_type_infoE
000000012001288d V _ZTSSt10bad_typeid
0000000120012590 V _ZTSSt13bad_exception
000000012001289c V _ZTSSt8bad_cast
00000001200125f0 V _ZTSSt9bad_alloc
00000001200125a2 V _ZTSSt9exception
00000001200128a8 V _ZTSSt9type_info
00000001200126b0 V _ZTVN10__cxxabiv117__class_type_infoE
0000000120012658 V _ZTVN10__cxxabiv120__si_class_type_infoE
0000000120012600 V _ZTVN10__cxxabiv121__vmi_class_type_infoE
0000000120012708 V _ZTVSt10bad_typeid
0000000120012518 V _ZTVSt13bad_exception
0000000120012730 V _ZTVSt8bad_cast
00000001200125b0 V _ZTVSt9bad_alloc
0000000120012540 V _ZTVSt9exception
0000000120012758 V _ZTVSt9type_info
0000000120025cb8 g _ZZ18__gthread_active_pvE20__gthread_active_ptr
0000000120025cc8 g _ZZ18__gthread_active_pvE20__gthread_active_ptr
0000000120025cc4 g _ZZ21get_globals_init_oncevE4once
0000000120009518 T _ZdlPv
000000012000a648 T _Znam
000000012000a580 T _Znwm
00000001200251c0 d __CTOR_END__
00000001200251b8 d __CTOR_LIST__
00000001200251d0 d __DTOR_END__
00000001200251c8 d __DTOR_LIST__
0000000120024f30 r __FRAME_END__
00000001200251d8 d __JCR_END__
00000001200251d8 d __JCR_LIST__
0000000120025ce8 A __bss_start
000000012000a694 T __cxa_allocate_exception
000000012000a884 T __cxa_begin_catch
000000012000a19c T __cxa_call_unexpected
000000012000a930 T __cxa_end_catch
000000012000a7b4 T __cxa_free_exception
000000012000ac84 T __cxa_get_globals
000000012000ac3c T __cxa_get_globals_fast
000000012000a4f8 T __cxa_rethrow
000000012000a45c T __cxa_throw
0000000120024000 D __data_start
000000012000fa50 T __deregister_frame
000000012000fa20 T __deregister_frame_info
000000012000f8c0 T __deregister_frame_info_bases
0000000120011470 t __do_global_ctors_aux
0000000120002160 t __do_global_dtors_aux
0000000120025c88 G __dso_handle
000000012000bd74 T __dynamic_cast
0000000120024000 A __fini_array_end
0000000120024000 A __fini_array_start
000000012000d250 T __frame_state_for
0000000120025ce0 g __gthread_active_ptr.0
0000000120025cd8 g __gthread_active_ptr.1
0000000120009c28 T __gxx_personality_v0
0000000120024000 A __init_array_end
0000000120024000 A __init_array_start
00000001200113e0 T __libc_csu_fini
0000000120011350 T __libc_csu_init
0000000120025d00 S __new_handler
000000012000f6f0 T __register_frame
000000012000f6b0 T __register_frame_info
000000012000f5f0 T __register_frame_info_bases
000000012000f820 T __register_frame_info_table
000000012000f760 T __register_frame_info_table_bases
000000012000f860 T __register_frame_table
0000000120002120 W __start
0000000120025ce8 A _edata
0000000120035db0 A _end
00000001200114d0 T _fini
00000001200020b0 T _init
0000000120002120 T _start
0000000120010250 t add_fdes
0000000120025cea s already_printed_error
00000001200094b0 T arm
0000000120010a30 t base_from_cb_data
000000012000fab0 t base_from_object
000000012000bf50 t base_of_encoded_value
00000001200094f8 T checkpoint
00000001200100e0 t classify_object_over_fdes
0000000120025ce8 s completed.1
00000001200024f0 T ctrl_c_handler
0000000120024000 W data_start
0000000120009508 T debugbreak
00000001200094e8 T dump_stats
00000001200094f0 T dumpreset_stats
0000000120035d40 b dwarf_reg_size_table
0000000120025d30 b emergency_buffer
0000000120024008 d emergency_mutex
0000000120025cf0 s emergency_used
000000012000caa0 t execute_cfa_program
000000012000c520 t execute_stack_op
0000000120025ce9 s exitNow
000000012000c2f0 t extract_cie_info
000000012000fd20 t fde_mixed_encoding_compare
000000012000fc60 t fde_single_encoding_compare
00000001200111d0 t fde_split
000000012000fc30 t fde_unencoded_compare
0000000120002200 t frame_dummy
000000012000fe00 t frame_heapsort
000000012000fb40 t get_cie_encoding
0000000120025cf8 s globals_key
0000000120035d30 b globals_static
000000012000ea10 t init_dwarf_reg_size_table
0000000120010e90 t init_object
00000001200094d8 T initparam
00000001200094c0 T ivlb
00000001200094c8 T ivle
00000001200103d0 t linear_search_fdes
00000001200094d0 T m5exit
0000000120002590 T main
0000000120025d10 s marker.1
0000000120035d88 b object_mutex
0000000120025d08 s once_regsizes.0
0000000120025c90 g p.0
00000001200094b8 T quiesce
000000012000c0d0 t read_encoded_value_with_base
000000012000f460 t read_encoded_value_with_base
000000012000c060 t read_sleb128
000000012000f3f0 t read_sleb128
000000012000c020 t read_uleb128
000000012000f3b0 t read_uleb128
0000000120009500 T readfile
00000001200094e0 T reset_stats
0000000120010560 t search_object
0000000120025d20 s seen_objects
000000012000bed0 t size_of_encoded_value
000000012000f330 t size_of_encoded_value
0000000120009510 T switchcpu
0000000120025d18 s unseen_objects
0000000120025cc0 g use_thread_key
000000012000cf90 t uw_frame_state_for
000000012000d590 t uw_init_context_1
000000012000d650 t uw_install_context_1
000000012000d540 t uw_update_context
000000012000d390 t uw_update_context_1

View File

@@ -1,6 +0,0 @@
#!/bin/sh
cd /benchmarks/spec/bzip200/
/sbin/m5 resetstats
/benchmarks/spec/bzip200/bzip2 lgred.graphic 1
/sbin/m5 exit

File diff suppressed because it is too large Load Diff

View File

@@ -1,8 +0,0 @@
insmod /modules/devtime.ko dataAddr=0x9000008 count=100
rmmod devtime
insmod /modules/devtime.ko dataAddr=0x1a0000300 count=100
rmmod devtime
insmod /modules/devtime.ko memTest=1 count=100
rmmod devtime
m5 exit

View File

@@ -1,12 +0,0 @@
#!/bin/sh
cd /benchmarks/spec/equake00/
/sbin/m5 checkpoint 0 0
/sbin/m5 checkpoint 100000000 200000000
/sbin/m5 loadsymbol
/sbin/m5 resetstats
/benchmarks/spec/equake00/equake < lgred.in
/sbin/m5 exit

View File

@@ -1,94 +0,0 @@
000000012001a868 S ARCHcholeskylen
000000012001a878 S ARCHcoord
000000012001a930 S ARCHcorners
000000012001a938 S ARCHduration
000000012001a940 S ARCHelems
000000012001a8b0 S ARCHglobalelem
000000012001a8d0 S ARCHglobalelems
000000012001a8e8 S ARCHglobalnode
000000012001a8a8 S ARCHglobalnodes
000000012001a8d8 S ARCHmatrixcol
000000012001a898 S ARCHmatrixindex
000000012001a924 S ARCHmatrixlen
000000012001a8ac S ARCHmesh_dim
000000012001a8f8 S ARCHmine
000000012001a90c S ARCHnodes
000000012001a908 S ARCHpriv
000000012001a920 S ARCHsubdomains
000000012001a8b8 S ARCHvertex
000000012001a900 S C
000000012001a918 S C23
000000012001a9a8 B Damp
000000012001a9c8 B Exc
000000012001a8a0 S K
000000012001a928 S M
000000012001a888 S M23
000000012001a950 B Src
000000012001a890 S V23
000000012001a388 D _DYNAMIC
000000012001a5f8 D _GLOBAL_OFFSET_TABLE_
000000012001a848 G _IO_stdin_used
000000012001a550 T _PROCEDURE_LINKAGE_TABLE_
000000012001a530 d __CTOR_END__
000000012001a528 d __CTOR_LIST__
000000012001a540 d __DTOR_END__
000000012001a538 d __DTOR_LIST__
000000012001a384 r __FRAME_END__
000000012001a548 d __JCR_END__
000000012001a548 d __JCR_LIST__
000000012001a860 A __bss_start
000000012001a000 D __data_start
0000000120008c50 t __do_global_ctors_aux
00000001200008d0 t __do_global_dtors_aux
000000012001a850 G __dso_handle
000000012001a000 A __fini_array_end
000000012001a000 A __fini_array_start
000000012001a000 A __init_array_end
000000012001a000 A __init_array_start
0000000120008bb0 T __libc_csu_fini
0000000120008b00 T __libc_csu_init
0000000120000890 W __start
000000012001a860 A _edata
000000012001a9e0 A _end
0000000120008cb0 T _fini
0000000120000828 T _init
0000000120000890 T _start
00000001200049c4 T abe_matrix
00000001200056b8 T arch_bail
00000001200056e4 T arch_info
0000000120006584 T arch_init
00000001200057e0 T arch_parsecommandline
0000000120005bf4 T arch_readdouble
0000000120005ad0 T arch_readelemvector
00000001200059ac T arch_readnodevector
0000000120004530 T area_triangle
00000001200051e8 T centroid
000000012001a860 s completed.1
000000012001a000 W data_start
000000012001a948 S disp
00000001200050bc T distance
0000000120003c70 T element_matrices
0000000120000970 t frame_dummy
00000001200036f8 T get_Enu
0000000120003820 T inv_J
00000001200009c0 T main
0000000120007a88 T mem_init
00000001200054b8 T mv12x12
000000012001a8c0 S nodekind
000000012001a910 S nodekindf
000000012001a8f0 S options
000000012001a858 g p.0
000000012001a8c8 S packfile
0000000120004bc4 T phi0
0000000120004cc4 T phi1
0000000120004d98 T phi2
00000001200052e8 T point2fault
000000012001a870 S progname
0000000120005cd8 T readpackfile
000000012000360c T shape_ders
0000000120004e84 T slip
0000000120006604 T smvp
00000001200070f8 T smvp_opt
000000012001a880 S source_elms
000000012001a8e0 S vel
000000012000561c T vv12x12

View File

@@ -1,12 +0,0 @@
#!/bin/sh
cd /benchmarks/spec/gcc00/
/sbin/m5 checkpoint 0 0
/sbin/m5 checkpoint 100000000 200000000
/sbin/m5 loadsymbol
/sbin/m5 resetstats
./cc1 mdred.rtlanal.i
/sbin/m5 exit

View File

@@ -1,12 +0,0 @@
#!/bin/sh
cd /benchmarks/spec/gzip00/
/sbin/m5 checkpoint 0 0
/sbin/m5 checkpoint 100000000 200000000
/sbin/m5 loadsymbol
/sbin/m5 resetstats
./gzip lgred.log 1
/sbin/m5 exit

View File

@@ -1,268 +0,0 @@
0000000120022c08 D _DYNAMIC
0000000120022fd0 D _GLOBAL_OFFSET_TABLE_
0000000120023498 G _IO_stdin_used
0000000120022dc0 T _PROCEDURE_LINKAGE_TABLE_
0000000120022da0 d __CTOR_END__
0000000120022d98 d __CTOR_LIST__
0000000120022db0 d __DTOR_END__
0000000120022da8 d __DTOR_LIST__
0000000120022c04 r __FRAME_END__
0000000120022db8 d __JCR_END__
0000000120022db8 d __JCR_LIST__
00000001200234f8 A __bss_start
0000000120021030 D __data_start
000000012000fbc0 t __do_global_ctors_aux
00000001200012a0 t __do_global_dtors_aux
00000001200234a0 G __dso_handle
0000000120021030 A __fini_array_end
0000000120021030 A __fini_array_start
0000000120021030 A __init_array_end
0000000120021030 A __init_array_start
000000012000fb20 T __libc_csu_fini
000000012000fa70 T __libc_csu_init
0000000120001260 W __start
00000001200234f8 A _edata
0000000120073b10 A _end
000000012000fc20 T _fini
00000001200011f8 T _init
0000000120001260 T _start
0000000120004cf0 T abort_gzip
000000012000de80 T add_envopt
0000000120023550 S args
0000000120023520 S ascii
000000012002551c b base_dist
00000001200254a8 b base_length
0000000120023698 S bb
00000001200234fc s bi_buf
0000000120001ad0 T bi_init
0000000120001b20 T bi_reverse
0000000120023500 s bi_valid
00000001200015d0 T bi_windup
00000001200235b8 s bitbuf
00000001200235e0 s bitbuf
00000001200235c0 s bitcount
0000000120023690 S bk
0000000120024654 b bl_count
0000000120021830 d bl_desc
0000000120021858 d bl_order
00000001200245b8 b bl_tree
00000001200234ec G block_mode
0000000120023610 S block_start
00000001200235b4 s blocksize
0000000120021540 d border
0000000120009620 t build_tree
0000000120023650 S bytes_in
0000000120023668 S bytes_out
0000000120004740 t check_ofname
000000012000d5c0 T check_zipfile
000000012000e540 T clear_bufs
00000001200234f8 s completed.1
0000000120023518 s compr_level
00000001200092e0 t compress_block
00000001200235a0 s compressed_len
0000000120021030 d configuration_table
000000012000e280 T copy
00000001200017d0 T copy_block
0000000120004ae0 t copy_stat
0000000120021644 d cpdext
0000000120021608 d cpdist
000000012002158c d cplens
00000001200215ca d cplext
00000001200235f8 s crc
00000001200234f0 g crc.0
0000000120021870 D crc_32_tab
0000000120002b90 t create_outfile
0000000120008450 T ct_init
0000000120008f60 T ct_tally
000000012002ea20 B d_buf
0000000120021808 d d_desc
0000000120021030 W data_start
00000001200234e8 G dbglvl
00000001200234e4 G dbits
0000000120008440 T debug_time
000000012000a5e0 t decode
000000012000ad50 t decode_c
000000012000ab90 t decode_start
0000000120023528 S decompress
00000001200236c0 S decrypt
0000000120002250 T deflate
0000000120002770 t deflate_fast
0000000120024f68 b depth
000000012000ee70 T display_ratio
00000001200252a5 b dist_code
0000000120004c60 t do_exit
0000000120003f00 t do_list
0000000120023540 S do_lzw
00000001200235c8 s done
0000000120023fcc b dyn_dtree
00000001200236d8 b dyn_ltree
0000000120023678 S env
000000012002350c s eofile
000000012000e1c0 T error
0000000120023548 S exit_code
00000001200235f4 S ext_header
0000000120021794 d extra_blbits
000000012002171c d extra_dbits
00000001200216a8 d extra_lbits
00000001200236b8 S file_method
000000012000f9c0 T file_read
00000001200236b0 S file_type
000000012000e580 T fill_inbuf
0000000120002030 t fill_window
00000001200234d8 g first_time.2
000000012002358d s flag_bit
0000000120025594 b flag_buf
000000012002358c s flags
0000000120008ba0 T flush_block
000000012000e730 T flush_outbuf
000000012000e860 T flush_window
000000012002352c S force
0000000120023640 S foreground
0000000120001340 t frame_dummy
000000012000a1a0 t gen_bitlen
0000000120008a80 t gen_codes
0000000120002dd0 t get_istat
00000001200032c0 T get_method
0000000120004d50 t get_suffix
0000000120023618 S good_match
000000012000ebf0 T gzipbasename
00000001200236d0 S header_bytes
0000000120024674 b heap
0000000120023578 s heap_len
000000012002357c s heap_max
00000001200214b8 d help_msg.5
0000000120004ee0 T huft_build
0000000120005670 T huft_free
00000001200236a0 S hufts
00000001200235b0 s i.0
0000000120023688 S ifd
0000000120023658 S ifile_size
000000012005eea8 B ifname
000000012002356c s in_exit.4
00000001200269e0 B inbuf
0000000120006e00 T inflate
0000000120006bf0 T inflate_block
00000001200056d0 T inflate_codes
00000001200062b0 T inflate_dynamic
00000001200060f0 T inflate_fixed
0000000120005e10 T inflate_stored
0000000120008960 t init_block
0000000120023684 S inptr
00000001200235a8 s input_len
0000000120023508 s ins_h
0000000120023644 S insize
000000012003ea20 B istat
00000001200235c4 s j
00000001200236c8 S key
00000001200213f8 d known_suffixes.0
00000001200217e0 d l_desc
0000000120023584 s last_dist
0000000120023588 s last_flags
0000000120023580 s last_lit
000000012002364c S last_member
00000001200234e0 G lbits
0000000120026910 b leaves
00000001200251a5 b length_code
00000001200234c8 G level
0000000120021080 d license_msg
0000000120023534 S list
00000001200268a8 b lit_base
00000001200267a8 b literal
0000000120001b60 T lm_init
0000000120001d90 T longest_match
00000001200210f8 D longopts
0000000120023510 s lookahead
0000000120006ed0 T lzw
0000000120007a80 T main
0000000120003040 t make_ofname
000000012000ec40 T make_simple_name
000000012000c130 t make_table
0000000120021680 D mask_bits
0000000120023624 S match_start
000000012002361c S max_chain_length
0000000120023514 s max_lazy_match
00000001200235d8 s max_len
00000001200234c0 G maxbits
00000001200234c4 G method
0000000120021470 d methods.3
0000000120023570 s msg_done
0000000120004310 t name_too_long
0000000120023608 S nice_match
00000001200234b8 G no_name
00000001200234bc G no_time
0000000120023630 S ofd
000000012003eaa8 B ofname
0000000120023590 s opt_len
00000001200235d0 s orig_len
000000012005f2a8 B outbuf
0000000120023648 S outcnt
00000001200234a8 g p.0
0000000120026978 b parents
0000000120023680 S part_nb
00000001200235dc s peek_bits
00000001200235f0 S pkzip
000000012003eea8 B prev
000000012002360c S prev_length
0000000120023628 S progname
0000000120026594 b pt_len
00000001200265a8 b pt_table
000000012002353c S quiet
00000001200080c0 T ran
0000000120023600 S read_buf
000000012000b8c0 t read_c_len
000000012000ed50 T read_error
000000012000b130 t read_pt_len
000000012000d2a0 t read_tree
0000000120023530 S recursive
0000000120023568 S remove_ofname
0000000120023660 S save_orig_name
0000000120009d90 t scan_tree
00000001200236a8 S seedi
0000000120001390 T send_bits
0000000120009f40 t send_tree
0000000120009540 t set_file_type
0000000120004420 t shorten_name
0000000120007f90 T spec_compress
0000000120073ac8 B spec_fd
0000000120007800 T spec_getc
0000000120006f70 T spec_init
0000000120007f40 T spec_initbufs
0000000120007430 T spec_load
0000000120008350 T spec_putc
0000000120007090 T spec_random_load
0000000120007670 T spec_read
00000001200081b0 T spec_reset
0000000120008190 T spec_rewind
0000000120008010 T spec_uncompress
0000000120007930 T spec_ungetc
0000000120008210 T spec_write
0000000120024540 b static_dtree
0000000120023598 s static_len
00000001200240c0 b static_ltree
000000012000eb20 T strlwr
0000000120023620 S strstart
00000001200235bc s subbitbuf
0000000120021440 d suffixes.1
0000000120023544 S test
0000000120023638 S time_stamp
0000000120023524 S to_stdout
0000000120023558 S total_in
0000000120023560 S total_out
000000012000a510 T unlzh
000000012000c5c0 T unlzw
000000012000cde0 T unpack
000000012000d7a0 T unzip
000000012000e4c0 T updcrc
00000001200235e8 s valid
0000000120023538 S verbose
000000012000ecd0 T warn
0000000120063aa8 B window
00000001200234b0 G window_size
00000001200234d0 G work
000000012000ea20 T write_buf
000000012000ee00 T write_error
000000012000e220 T xmalloc
0000000120023670 S z_len
0000000120073aa8 B z_suffix
0000000120023504 s zfile
000000012000ef80 T zip

View File

@@ -1,107 +0,0 @@
#!/bin/sh
#
# /etc/init.d/rcS
#
echo -n "mounting swap..."
/sbin/swapon /dev/hdc
echo "done."
echo -n "setting up network..."
/sbin/ifconfig lo 127.0.0.1
/sbin/ifconfig eth0 192.168.0.10 txqueuelen 1000
echo "1" > /proc/sys/net/ipv4/tcp_tw_recycle
echo "1" > /proc/sys/net/ipv4/tcp_tw_reuse
echo "1" > /proc/sys/net/ipv4/tcp_window_scaling
echo "0" > /proc/sys/net/ipv4/tcp_timestamps
echo "0" > /proc/sys/net/ipv4/tcp_sack
echo "15" > /proc/sys/net/ipv4/tcp_fin_timeout
echo "16384" > /proc/sys/net/ipv4/tcp_max_syn_backlog
echo "262144" > /proc/sys/net/ipv4/ip_conntrack_max
echo "1024 65535" > /proc/sys/net/ipv4/ip_local_port_range
echo "10000000 10000000 10000000" > /proc/sys/net/ipv4/tcp_rmem
echo "10000000 10000000 10000000" > /proc/sys/net/ipv4/tcp_wmem
echo "10000000 10000000 10000000" > /proc/sys/net/ipv4/tcp_mem
#echo "262144" > /proc/sys/net/ipv4/ip_conntrack_max
echo "524287" > /proc/sys/net/core/rmem_max
echo "524287" > /proc/sys/net/core/wmem_max
echo "524287" > /proc/sys/net/core/optmem_max
echo "300000" > /proc/sys/net/core/netdev_max_backlog
echo "131072" > /proc/sys/fs/file-max
echo "1" > /proc/sys/vm/dirty_writeback_centisecs
echo "done."
cat > /etc/initiatorname.iscsi <<EOF
InitiatorName=iqn.1987-05.10.0.168.192
EOF
cat > /etc/iscsid.conf <<EOF
node.active_cnx = 1
node.startup = manual
#node.session.auth.username = dima
#node.session.auth.password = aloha
node.session.timeo.replacement_timeout = 0
node.session.err_timeo.abort_timeout = 10
node.session.err_timeo.reset_timeout = 30
node.session.iscsi.InitialR2T = No
node.session.iscsi.ImmediateData = Yes
node.session.iscsi.FirstBurstLength = 262144
node.session.iscsi.MaxBurstLength = 16776192
node.session.iscsi.DefaultTime2Wait = 0
node.session.iscsi.DefaultTime2Retain = 0
node.session.iscsi.MaxConnections = 0
node.cnx[0].iscsi.HeaderDigest = None
node.cnx[0].iscsi.DataDigest = None
node.cnx[0].iscsi.MaxRecvDataSegmentLength = 65536
#discovery.sendtargets.auth.authmethod = CHAP
#discovery.sendtargets.auth.username = dima
#discovery.sendtargets.auth.password = aloha
EOF
#mount -t sysfs none /sys
echo "" > /var/log/iscsi.log
chmod 0600 /var/log/iscsi.log
chmod 0666 -R /var/db/iscsi
# Required for udev to activate/deactivate devices.
echo "/sbin/hotplug" > /proc/sys/kernel/hotplug
/sbin/insmod /modules/scsi_transport_iscsi.ko
/sbin/insmod /modules/iscsi_tcp.ko
echo "Starting iscsid..."
/iscsi/iscsid -f &
sleep 1
echo "Waiting for server..."
netcat -c -l -p 8000
echo "Attaching target..."
/iscsi/iscsiadm -m discovery -t st -p 192.168.0.1
/iscsi/iscsiadm -m node -r a0c049 --login
echo "done."
sleep 5
#PARAMS="-n 8 -s 8 -r .666 -c 50" # lisa default
#PARAMS="-n 8 -s 5120 -r .666 -c 20" # very unstable
#PARAMS="-n 8 -s 8 -r 0 -c 20" # very unstable
#PARAMS="-n 8 -s 8 -r 1 -c 20" # stable 960 Mbps
#PARAMS="-n 8 -s 1024 -r 1 -c 20" # very unstable
#PARAMS="-n 16 -s 32 -r 1 -c 50" # stable ~1.5 Gbps
#PARAMS="-n 50 -s 32 -r 1 -c 50" # stable ~1.5 Gbps
PARAMS="-n 50 -s 8 -r .666 -c 50"
COMMAND="/benchmarks/aio-bench $PARAMS -i 1000000 -C 50000 /dev/sda"
echo "Starting aio benchmark..."
echo $COMMAND
eval $COMMAND
echo "starting bash shell..."
/bin/bash
echo -n "halting machine"
m5 exit

View File

@@ -1,59 +0,0 @@
#!/bin/sh
#
# /etc/init.d/rcS
#
echo -n "mounting swap..."
/sbin/swapon /dev/hdc
echo "done."
echo -n "setting up network..."
/sbin/ifconfig lo 127.0.0.1
/sbin/ifconfig eth0 192.168.0.1 txqueuelen 1000
echo "1" > /proc/sys/net/ipv4/tcp_tw_recycle
echo "1" > /proc/sys/net/ipv4/tcp_tw_reuse
echo "1" > /proc/sys/net/ipv4/tcp_window_scaling
echo "0" > /proc/sys/net/ipv4/tcp_timestamps
echo "0" > /proc/sys/net/ipv4/tcp_sack
echo "15" > /proc/sys/net/ipv4/tcp_fin_timeout
echo "16384" > /proc/sys/net/ipv4/tcp_max_syn_backlog
echo "262144" > /proc/sys/net/ipv4/ip_conntrack_max
echo "1024 65535" > /proc/sys/net/ipv4/ip_local_port_range
echo "524287" > /proc/sys/net/core/optmem_max
echo "300000" > /proc/sys/net/core/netdev_max_backlog
echo "131072" > /proc/sys/fs/file-max
echo "10" > /proc/sys/vm/dirty_writeback_centisecs
echo "done."
# specific for iscsi-target
MEM_SIZE=1048576
echo ${MEM_SIZE} > /proc/sys/net/core/wmem_max
echo ${MEM_SIZE} > /proc/sys/net/core/rmem_max
echo ${MEM_SIZE} > /proc/sys/net/core/wmem_default
echo ${MEM_SIZE} > /proc/sys/net/core/rmem_default
echo "${MEM_SIZE} ${MEM_SIZE} ${MEM_SIZE}" > /proc/sys/net/ipv4/tcp_mem
echo "${MEM_SIZE} ${MEM_SIZE} ${MEM_SIZE}" > /proc/sys/net/ipv4/tcp_rmem
echo "${MEM_SIZE} ${MEM_SIZE} ${MEM_SIZE}" > /proc/sys/net/ipv4/tcp_wmem
mke2fs -F /dev/sda
cat > /etc/ietd.conf <<EOF
Target iqn.2005-05.1.0.168.192
Lun 0 Sectors=8000000,Type=nullio
EOF
/sbin/insmod /modules/iscsi_trgt.ko
echo -n "start enterprise target..."
/iscsi/ietd -f &
echo "done."
sleep 3
echo "notifying client..."
echo "server ready" | netcat -c 192.168.0.10 8000
echo "done"
echo "starting bash shell..."
/bin/bash

View File

@@ -1,18 +0,0 @@
ls
ls
ls
ls
cd bin
ls
ls
ls
ls
ls
ls
ls
ls
cd ../benchmarks
ls
ls
ls
ls

View File

@@ -1,12 +0,0 @@
#!/bin/sh
cd /benchmarks/spec/mcf00/
/sbin/m5 checkpoint 0 0
/sbin/m5 checkpoint 100000000 200000000
/sbin/m5 loadsymbol
/sbin/m5 resetstats
/benchmarks/spec/mcf00/mcf mdred.in
/sbin/m5 exit

View File

@@ -1,65 +0,0 @@
0000000120014350 D _DYNAMIC
0000000120014608 D _GLOBAL_OFFSET_TABLE_
0000000120014770 G _IO_stdin_used
0000000120014518 T _PROCEDURE_LINKAGE_TABLE_
00000001200144f8 d __CTOR_END__
00000001200144f0 d __CTOR_LIST__
0000000120014508 d __DTOR_END__
0000000120014500 d __DTOR_LIST__
000000012001434c r __FRAME_END__
0000000120014510 d __JCR_END__
0000000120014510 d __JCR_LIST__
0000000120014790 A __bss_start
0000000120014000 D __data_start
00000001200034d0 t __do_global_ctors_aux
0000000120000a40 t __do_global_dtors_aux
0000000120014778 G __dso_handle
0000000120014000 A __fini_array_end
0000000120014000 A __fini_array_start
0000000120014000 A __init_array_end
0000000120014000 A __init_array_start
0000000120003430 T __libc_csu_fini
0000000120003380 T __libc_csu_init
0000000120000a00 W __start
0000000120014790 A _edata
0000000120017c30 A _end
0000000120003530 T _fini
0000000120000998 T _init
0000000120000a00 T _start
00000001200147b0 b basket
0000000120014798 s basket_size
0000000120003320 T bea_compute_red_cost
0000000120003340 T bea_is_dual_infeasible
0000000120014790 s completed.1
0000000120002410 T compute_red_cost
0000000120014000 W data_start
0000000120001480 T dual_feasible
0000000120001090 T flow_cost
00000001200011d0 T flow_org_cost
0000000120000ae0 t frame_dummy
00000001200015f0 T getfree
0000000120000e30 T global_opt
00000001200147a8 s group_pos
0000000120014788 g initialize
0000000120002420 T insert_new_arc
0000000120000b30 T main
00000001200179d0 B net
00000001200147a0 s nr_group
0000000120014780 g p.0
0000000120016d48 b perm
0000000120001d20 T price_out_impl
0000000120003080 T primal_bea_mpp
0000000120001310 T primal_feasible
0000000120002a60 T primal_iminus
0000000120002c00 T primal_net_simplex
0000000120002510 T primal_start_artificial
0000000120002ba0 T primal_update_flow
00000001200016b0 T read_min
0000000120001580 T refresh_neighbour_lists
0000000120000fa0 T refresh_potential
0000000120001c10 T replace_weaker_arc
0000000120002310 T resize_prob
0000000120002f30 T sort_basket
00000001200021b0 T suspend_impl
00000001200027e0 T update_tree
0000000120002600 T write_circulations

View File

@@ -1,12 +0,0 @@
#!/bin/sh
cd /benchmarks/spec/mesa00/
/sbin/m5 checkpoint 0 0
/sbin/m5 checkpoint 100000000 200000000
/sbin/m5 loadsymbol
/sbin/m5 resetstats
/benchmarks/spec/mesa00/mesa -frames 1 -meshfile lgred.in
/sbin/m5 exit

File diff suppressed because it is too large Load Diff

View File

@@ -1,3 +0,0 @@
/benchmarks/micros/lmbench/bin/alphaev6-linux-gnu/lat_ctx 2 4 8 16
m5 exit

View File

@@ -1,4 +0,0 @@
m5 checkpoint 1 999999999
/benchmarks/micros/lmbench/bin/alphaev6-linux-gnu/lat_mem_rd 64
m5 exit

View File

@@ -1,3 +0,0 @@
/benchmarks/micros/lmbench/bin/alphaev6-linux-gnu/lat_mem_rd_2MB 2 64
m5 exit

View File

@@ -1,3 +0,0 @@
/benchmarks/micros/lmbench/bin/alphaev6-linux-gnu/lat_mem_rd 128 8
m5 exit

View File

@@ -1,3 +0,0 @@
/benchmarks/micros/lmbench/bin/alphaev6-linux-gnu/lat_mem_rd_8MB 8 64
m5 exit

View File

@@ -1,3 +0,0 @@
/benchmarks/micros/simstream
m5 exit

View File

@@ -1,3 +0,0 @@
/benchmarks/micros/simstreamcopy
m5 exit

View File

@@ -1,3 +0,0 @@
/benchmarks/micros/simstreamscale
m5 exit

View File

@@ -1,3 +0,0 @@
/benchmarks/micros/lmbench/bin/alphaev6-linux-gnu/lat_syscall read
m5 exit

View File

@@ -1,3 +0,0 @@
/benchmarks/micros/lmbench/bin/alphaev6-linux-gnu/lat_mem_rd_2MB 20 8192
m5 exit

View File

@@ -1,3 +0,0 @@
/benchmarks/micros/lmbench/bin/alphaev6-linux-gnu/lat_mem_rd_2MB 2 8192
m5 exit

View File

@@ -1,3 +0,0 @@
/benchmarks/micros/lmbench/bin/alphaev6-linux-gnu/lat_mem_rd_2MB 20 8192
m5 exit

View File

@@ -1,6 +0,0 @@
#!/bin/sh
cd /benchmarks
/sbin/m5 resetstats
./pthread_mutex_test 4 10000
/sbin/m5 exit

View File

@@ -1,48 +0,0 @@
#!/bin/sh
SERVER=192.168.0.1
CLIENT=10.0.0.2
echo "setting up network..."
ifconfig lo 127.0.0.1
ifconfig eth0 $CLIENT txqueuelen 1000
echo "modifying route table..."
route add default gw 10.0.0.1
echo "0" > /proc/sys/net/ipv4/tcp_timestamps
echo "0" > /proc/sys/net/ipv4/tcp_sack
echo "1" > /proc/sys/net/ipv4/tcp_vegas_cong_avoid
echo "5000000 5000000 5000000" > /proc/sys/net/ipv4/tcp_rmem
echo "5000000 5000000 5000000" > /proc/sys/net/ipv4/tcp_wmem
echo "5000000 5000000 5000000" > /proc/sys/net/ipv4/tcp_mem
echo "262143" > /proc/sys/net/core/rmem_max
echo "262143" > /proc/sys/net/core/wmem_max
echo "262143" > /proc/sys/net/core/rmem_default
echo "262143" > /proc/sys/net/core/wmem_default
echo "262143" > /proc/sys/net/core/optmem_max
echo "100000" > /proc/sys/net/core/netdev_max_backlog
echo -n "waiting for natbox..."
netcat -c -l -p 8000
BINARY=/benchmarks/netperf-bin/netperf
TEST="TCP_MAERTS"
SHORT_ARGS="-l -100k"
LONG_ARGS="-k16384,0 -K16384,0 -- -m 65536 -M 65536 -s 262144 -S 262144"
SHORT="$BINARY -H $SERVER -t $TEST $SHORT_ARGS"
LONG="$BINARY -H $SERVER -t $TEST $LONG_ARGS"
echo "starting test..."
echo "netperf warmup"
echo $SHORT
eval $SHORT
echo "netperf benchmark"
echo $LONG
/sbin/m5 resetstats
/sbin/m5 dumpresetstats 200000000 2000000000
/sbin/m5 checkpoint 200000000 2000000000
eval $LONG
/sbin/m5 exit

View File

@@ -1,32 +0,0 @@
#!/bin/sh
SERVER=192.168.0.1
CLIENT=10.0.0.2
NATBOX=192.168.0.2
echo "setting up network..."
ifconfig lo 127.0.0.1
ifconfig eth0 $SERVER txqueuelen 1000
echo "0" > /proc/sys/net/ipv4/tcp_timestamps
echo "0" > /proc/sys/net/ipv4/tcp_sack
echo "1" > /proc/sys/net/ipv4/tcp_vegas_cong_avoid
echo "5000000 5000000 5000000" > /proc/sys/net/ipv4/tcp_rmem
echo "5000000 5000000 5000000" > /proc/sys/net/ipv4/tcp_wmem
echo "5000000 5000000 5000000" > /proc/sys/net/ipv4/tcp_mem
echo "262143" > /proc/sys/net/core/rmem_max
echo "262143" > /proc/sys/net/core/wmem_max
echo "262143" > /proc/sys/net/core/rmem_default
echo "262143" > /proc/sys/net/core/wmem_default
echo "262143" > /proc/sys/net/core/optmem_max
echo "100000" > /proc/sys/net/core/netdev_max_backlog
echo "running netserver..."
/benchmarks/netperf-bin/netserver
echo -n "signal natbox to begin..."
sleep 5
echo "server ready" | netcat -c $NATBOX 8000
echo "done."
echo "starting bash..."
exec /bin/bash

View File

@@ -1,50 +0,0 @@
#!/bin/sh
SERVER=192.168.0.1
CLIENT=10.0.0.2
echo "setting up network..."
ifconfig lo 127.0.0.1
ifconfig eth0 $CLIENT txqueuelen 1000
echo "0" > /proc/sys/net/ipv4/tcp_timestamps
echo "0" > /proc/sys/net/ipv4/tcp_sack
echo "1" > /proc/sys/net/ipv4/tcp_vegas_cong_avoid
echo "262144" > /proc/sys/net/ipv4/ip_conntrack_max
echo "5000000 5000000 5000000" > /proc/sys/net/ipv4/tcp_rmem
echo "5000000 5000000 5000000" > /proc/sys/net/ipv4/tcp_wmem
echo "5000000 5000000 5000000" > /proc/sys/net/ipv4/tcp_mem
echo "262143" > /proc/sys/net/core/rmem_max
echo "262143" > /proc/sys/net/core/wmem_max
echo "262143" > /proc/sys/net/core/rmem_default
echo "262143" > /proc/sys/net/core/wmem_default
echo "262143" > /proc/sys/net/core/optmem_max
echo "100000" > /proc/sys/net/core/netdev_max_backlog
echo "modifying route table"
route add default gw 10.0.0.1
echo -n "waiting for server..."
netcat -c -l -p 8000
BINARY=/benchmarks/netperf-bin/netperf
TEST="TCP_STREAM"
SHORT_ARGS="-l -100k"
LONG_ARGS="-k16384,0 -K16384,0 -- -m 65536 -M 65536 -s 262144 -S 262144"
SHORT="$BINARY -H $SERVER -t $TEST $SHORT_ARGS"
LONG="$BINARY -H $SERVER -t $TEST $LONG_ARGS"
echo "starting test..."
echo "netperf warmup"
echo $SHORT
eval $SHORT
echo "netperf benchmark"
echo $LONG
/sbin/m5 ivlb 1
/sbin/m5 resetstats
/sbin/m5 dumpresetstats 200000000 2000000000
/sbin/m5 checkpoint 200000000 2000000000
eval $LONG
/sbin/m5 exit

View File

@@ -1,51 +0,0 @@
#!/bin/sh
#
# /etc/init.d/rcS
#
CLIENT=10.0.0.2
SERVER=192.168.0.1
echo -n "mounting swap..."
/sbin/swapon /dev/hdc
echo "done."
echo -n "setting up network..."
/sbin/ifconfig eth0 $CLIENT txqueuelen 1000
/sbin/ifconfig lo 127.0.0.1
echo "1" > /proc/sys/net/ipv4/tcp_tw_recycle
echo "1" > /proc/sys/net/ipv4/tcp_tw_reuse
echo "1" > /proc/sys/net/ipv4/tcp_window_scaling
echo "0" > /proc/sys/net/ipv4/tcp_timestamps
echo "0" > /proc/sys/net/ipv4/tcp_sack
echo "15" > /proc/sys/net/ipv4/tcp_fin_timeout
echo "16384" > /proc/sys/net/ipv4/tcp_max_syn_backlog
echo "1" > /proc/sys/net/ipv4/tcp_vegas_cong_avoid
echo "262144" > /proc/sys/net/ipv4/ip_conntrack_max
echo "1024 65535" > /proc/sys/net/ipv4/ip_local_port_range
echo "10000000 10000000 10000000" > /proc/sys/net/ipv4/tcp_rmem
echo "10000000 10000000 10000000" > /proc/sys/net/ipv4/tcp_wmem
echo "10000000 10000000 10000000" > /proc/sys/net/ipv4/tcp_mem
echo "262144" > /proc/sys/net/ipv4/ip_conntrack_max
echo "524287" > /proc/sys/net/core/rmem_max
echo "524287" > /proc/sys/net/core/wmem_max
echo "524287" > /proc/sys/net/core/optmem_max
echo "300000" > /proc/sys/net/core/netdev_max_backlog
echo "131072" > /proc/sys/fs/file-max
echo "done."
echo "changing route table..."
route add default gw 10.0.0.1
echo "waiting for server..."
netcat -c -l -p 8000
echo -n "running surge client..."
/bin/bash -c "cd /benchmarks/surge && ./spec-m5 1 20 1 $SERVER 5 40000 1000000000 1000"
echo "done."
echo -n "halting machine"
m5 exit
echo -n "starting bash shell..."
/bin/bash

View File

@@ -1,56 +0,0 @@
#!/bin/sh
#
# /etc/init.d/rcS
#
NATBOX=192.168.0.7
echo -n "mounting swap..."
/sbin/swapon /dev/hdc
echo "done."
echo -n "setting up network..."
/sbin/ifconfig eth0 192.168.0.1 txqueuelen 1000
/sbin/ifconfig eth0:1 192.168.0.2 txqueuelen 1000
/sbin/ifconfig eth0:2 192.168.0.3 txqueuelen 1000
/sbin/ifconfig eth0:3 192.168.0.4 txqueuelen 1000
/sbin/ifconfig eth0:4 192.168.0.5 txqueuelen 1000
/sbin/ifconfig lo 127.0.0.1
echo "1" > /proc/sys/net/ipv4/tcp_tw_recycle
echo "1" > /proc/sys/net/ipv4/tcp_tw_reuse
echo "1" > /proc/sys/net/ipv4/tcp_window_scaling
echo "0" > /proc/sys/net/ipv4/tcp_timestamps
echo "0" > /proc/sys/net/ipv4/tcp_sack
echo "15" > /proc/sys/net/ipv4/tcp_fin_timeout
echo "16384" > /proc/sys/net/ipv4/tcp_max_syn_backlog
echo "1" > /proc/sys/net/ipv4/tcp_vegas_cong_avoid
echo "262144" > /proc/sys/net/ipv4/ip_conntrack_max
echo "1024 65535" > /proc/sys/net/ipv4/ip_local_port_range
echo "10000000 10000000 10000000" > /proc/sys/net/ipv4/tcp_rmem
echo "10000000 10000000 10000000" > /proc/sys/net/ipv4/tcp_wmem
echo "10000000 10000000 10000000" > /proc/sys/net/ipv4/tcp_mem
echo "524287" > /proc/sys/net/core/rmem_max
echo "524287" > /proc/sys/net/core/wmem_max
echo "524287" > /proc/sys/net/core/optmem_max
echo "300000" > /proc/sys/net/core/netdev_max_backlog
echo "131072" > /proc/sys/fs/file-max
echo "done."
echo -n "mounting file set..."
mkdir -p /z/htdocs
mount /dev/hdb1 /z/htdocs
echo "done."
echo -n "starting httpd..."
/benchmarks/apache2/bin/apachectl start
sleep 2
cat /benchmarks/apache2/logs/error_log
echo "done."
echo "notifying natbox..."
sleep 5
echo "server ready" | netcat -c $NATBOX 8000
echo "done"
echo -n "starting bash shell..."
/bin/bash

View File

@@ -1,53 +0,0 @@
#!/bin/sh
EXTIF=192.168.0.2
INTIF=10.0.0.1
CLIENT=10.0.0.2
echo "setting up network..."
ifconfig lo 127.0.0.1
ifconfig eth0 $EXTIF txqueuelen 1000
ifconfig eth1 $INTIF txqueuelen 1000
echo "0" > /proc/sys/net/ipv4/tcp_timestamps
echo "0" > /proc/sys/net/ipv4/tcp_sack
echo "1" > /proc/sys/net/ipv4/tcp_vegas_cong_avoid
echo "262144" > /proc/sys/net/ipv4/ip_conntrack_max
echo "5000000 5000000 5000000" > /proc/sys/net/ipv4/tcp_rmem
echo "5000000 5000000 5000000" > /proc/sys/net/ipv4/tcp_wmem
echo "5000000 5000000 5000000" > /proc/sys/net/ipv4/tcp_mem
echo "262143" > /proc/sys/net/core/rmem_max
echo "262143" > /proc/sys/net/core/wmem_max
echo "262143" > /proc/sys/net/core/rmem_default
echo "262143" > /proc/sys/net/core/wmem_default
echo "262143" > /proc/sys/net/core/optmem_max
echo "100000" > /proc/sys/net/core/netdev_max_backlog
echo "1" > /proc/sys/net/ipv4/ip_forward
echo "waiting for netserver..."
netcat -c -l -p 8000
echo "setting up iptables..."
IPTABLES=/sbin/iptables
EXTIF=eth0
INTIF=eth1
$IPTABLES -P INPUT ACCEPT
$IPTABLES -F INPUT
$IPTABLES -P OUTPUT ACCEPT
$IPTABLES -F OUTPUT
$IPTABLES -P FORWARD DROP
$IPTABLES -F FORWARD
$IPTABLES -t nat -F
$IPTABLES -A FORWARD -i $EXTIF -o $INTIF -m state --state ESTABLISHED,RELATED -j ACCEPT
$IPTABLES -A FORWARD -i $INTIF -o $EXTIF -j ACCEPT
$IPTABLES -A FORWARD -j LOG
$IPTABLES -t nat -A POSTROUTING -o $EXTIF -j MASQUERADE
echo "informing client..."
sleep 5
echo "server ready" | netcat -c $CLIENT 8000
echo "starting bash..."
exec /bin/bash

View File

@@ -1,56 +0,0 @@
#!/bin/sh
EXTIF=192.168.0.7
INTIF=10.0.0.1
CLIENT=10.0.0.2
echo "setting up network..."
ifconfig lo 127.0.0.1
ifconfig eth0 $EXTIF txqueuelen 1000
ifconfig eth1 $INTIF txqueuelen 1000
echo "0" > /proc/sys/net/ipv4/tcp_timestamps
echo "0" > /proc/sys/net/ipv4/tcp_sack
echo "1" > /proc/sys/net/ipv4/tcp_vegas_cong_avoid
echo "262144" > /proc/sys/net/ipv4/ip_conntrack_max
echo "5000000 5000000 5000000" > /proc/sys/net/ipv4/tcp_rmem
echo "5000000 5000000 5000000" > /proc/sys/net/ipv4/tcp_wmem
echo "5000000 5000000 5000000" > /proc/sys/net/ipv4/tcp_mem
echo "262143" > /proc/sys/net/core/rmem_max
echo "262143" > /proc/sys/net/core/wmem_max
echo "262143" > /proc/sys/net/core/rmem_default
echo "262143" > /proc/sys/net/core/wmem_default
echo "262143" > /proc/sys/net/core/optmem_max
echo "100000" > /proc/sys/net/core/netdev_max_backlog
echo "1" > /proc/sys/net/ipv4/ip_forward
echo "262144" > /proc/sys/net/ipv4/ip_conntrack_max
echo "waiting for netserver..."
netcat -c -l -p 8000
echo "setting up iptables..."
IPTABLES=/sbin/iptables
EXTIF=eth0
INTIF=eth1
$IPTABLES -P INPUT ACCEPT
$IPTABLES -F INPUT
$IPTABLES -P OUTPUT ACCEPT
$IPTABLES -F OUTPUT
$IPTABLES -P FORWARD DROP
$IPTABLES -F FORWARD
$IPTABLES -t nat -F
$IPTABLES -A FORWARD -i $EXTIF -o $INTIF -m state --state ESTABLISHED,RELATED -j ACCEPT
$IPTABLES -A FORWARD -i $INTIF -o $EXTIF -j ACCEPT
$IPTABLES -A FORWARD -j LOG
$IPTABLES -t nat -A POSTROUTING -o $EXTIF -j MASQUERADE
echo "informing client..."
sleep 5
echo "server ready" | netcat -c $CLIENT 8000
echo "starting bash..."
exec /bin/bash

View File

@@ -1,57 +0,0 @@
#!/bin/sh
SERVER=10.0.0.1
CLIENT=10.0.0.2
echo "setting up network..."
ifconfig lo 127.0.0.1
ifconfig eth0 $CLIENT txqueuelen 1000
echo "0" > /proc/sys/net/ipv4/tcp_timestamps
echo "0" > /proc/sys/net/ipv4/tcp_sack
echo "5000000 5000000 5000000" > /proc/sys/net/ipv4/tcp_rmem
echo "5000000 5000000 5000000" > /proc/sys/net/ipv4/tcp_wmem
echo "5000000 5000000 5000000" > /proc/sys/net/ipv4/tcp_mem
echo "262143" > /proc/sys/net/core/rmem_max
echo "262143" > /proc/sys/net/core/wmem_max
echo "262143" > /proc/sys/net/core/rmem_default
echo "262143" > /proc/sys/net/core/wmem_default
echo "262143" > /proc/sys/net/core/optmem_max
echo "100000" > /proc/sys/net/core/netdev_max_backlog
echo -n "waiting for server..."
/usr/bin/netcat -c -l -p 8000
BINARY=/benchmarks/netperf-bin/netperf
TEST="TCP_MAERTS"
SHORT_ARGS="-l -100k"
LONG_ARGS="-k16384,0 -K16384,0 -- -m 65536 -M 65536 -s 262144 -S 262144"
SHORT="$BINARY -H $SERVER -t $TEST $SHORT_ARGS"
LONG="$BINARY -H $SERVER -t $TEST $LONG_ARGS"
echo "starting test..."
echo "netperf warmup"
echo $SHORT
eval $SHORT
NUMCLNTS=`/sbin/m5 initparam`
[ "$NUMCLNTS" -eq "0" ] && NUMCLNTS=1
echo "netperf benchmark... starting $NUMCLNTS..."
lcv=0
while [ "$lcv" -lt "$NUMCLNTS" ]
do
echo $LONG
eval $LONG &
((lcv += 1))
done
ckpt=200000000
((ckpt = ckpt * 12/3 + 600000000))
echo "configuring checkpointing at $ckpt..."
/sbin/m5 checkpoint $ckpt 2000000000
echo "done configuring checkpointing..."
sleep 100000

View File

@@ -1,45 +0,0 @@
#!/bin/sh
SERVER=10.0.0.1
CLIENT=10.0.0.2
echo "setting up network..."
ifconfig lo 127.0.0.1
ifconfig eth0 $CLIENT txqueuelen 1000
echo "0" > /proc/sys/net/ipv4/tcp_timestamps
echo "0" > /proc/sys/net/ipv4/tcp_sack
echo "5000000 5000000 5000000" > /proc/sys/net/ipv4/tcp_rmem
echo "5000000 5000000 5000000" > /proc/sys/net/ipv4/tcp_wmem
echo "5000000 5000000 5000000" > /proc/sys/net/ipv4/tcp_mem
echo "262143" > /proc/sys/net/core/rmem_max
echo "262143" > /proc/sys/net/core/wmem_max
echo "262143" > /proc/sys/net/core/rmem_default
echo "262143" > /proc/sys/net/core/wmem_default
echo "262143" > /proc/sys/net/core/optmem_max
echo "100000" > /proc/sys/net/core/netdev_max_backlog
echo -n "waiting for server..."
netcat -c -l -p 8000
BINARY=/benchmarks/netperf-bin/netperf
TEST="TCP_RR"
SHORT_ARGS="-l -1k"
LONG_ARGS="-k10000,0 -K10000,0"
SHORT="$BINARY -H $SERVER -t $TEST $SHORT_ARGS"
LONG="$BINARY -H $SERVER -t $TEST $LONG_ARGS"
echo "starting test..."
echo "netperf warmup"
echo $SHORT
eval $SHORT
echo "netperf benchmark"
echo $LONG
/sbin/m5 ivlb 1
/sbin/m5 resetstats
/sbin/m5 dumpresetstats 200000000 2000000000
/sbin/m5 checkpoint 200000000 2000000000
eval $LONG
/sbin/m5 exit

View File

@@ -1,30 +0,0 @@
#!/bin/sh
SERVER=10.0.0.1
CLIENT=10.0.0.2
echo "setting up network..."
ifconfig lo 127.0.0.1
ifconfig eth0 $SERVER txqueuelen 1000
echo "0" > /proc/sys/net/ipv4/tcp_timestamps
echo "0" > /proc/sys/net/ipv4/tcp_sack
echo "5000000 5000000 5000000" > /proc/sys/net/ipv4/tcp_rmem
echo "5000000 5000000 5000000" > /proc/sys/net/ipv4/tcp_wmem
echo "5000000 5000000 5000000" > /proc/sys/net/ipv4/tcp_mem
echo "262143" > /proc/sys/net/core/rmem_max
echo "262143" > /proc/sys/net/core/wmem_max
echo "262143" > /proc/sys/net/core/rmem_default
echo "262143" > /proc/sys/net/core/wmem_default
echo "262143" > /proc/sys/net/core/optmem_max
echo "100000" > /proc/sys/net/core/netdev_max_backlog
echo "running netserver..."
/benchmarks/netperf-bin/netserver
echo -n "signal client to begin..."
sleep 1
echo "server ready" | netcat -c $CLIENT 8000
echo "done."
echo "starting bash..."
exec /bin/bash

View File

@@ -1,45 +0,0 @@
#!/bin/sh
SERVER=10.0.0.1
CLIENT=10.0.0.2
echo "setting up network..."
ifconfig lo 127.0.0.1
ifconfig eth0 $CLIENT txqueuelen 1000
echo "0" > /proc/sys/net/ipv4/tcp_timestamps
echo "0" > /proc/sys/net/ipv4/tcp_sack
echo "5000000 5000000 5000000" > /proc/sys/net/ipv4/tcp_rmem
echo "5000000 5000000 5000000" > /proc/sys/net/ipv4/tcp_wmem
echo "5000000 5000000 5000000" > /proc/sys/net/ipv4/tcp_mem
echo "262143" > /proc/sys/net/core/rmem_max
echo "262143" > /proc/sys/net/core/wmem_max
echo "262143" > /proc/sys/net/core/rmem_default
echo "262143" > /proc/sys/net/core/wmem_default
echo "262143" > /proc/sys/net/core/optmem_max
echo "100000" > /proc/sys/net/core/netdev_max_backlog
echo -n "waiting for server..."
netcat -c -l -p 8000
BINARY=/benchmarks/netperf-bin/netperf
TEST="TCP_STREAM"
SHORT_ARGS="-l -100k"
LONG_ARGS="-k16384,0 -K16384,0 -- -m 65536 -M 65536 -s 262144 -S 262144"
SHORT="$BINARY -H $SERVER -t $TEST $SHORT_ARGS"
LONG="$BINARY -H $SERVER -t $TEST $LONG_ARGS"
echo "starting test..."
echo "netperf warmup"
echo $SHORT
eval $SHORT
echo "netperf benchmark"
echo $LONG
/sbin/m5 ivlb 1
/sbin/m5 resetstats
/sbin/m5 dumpresetstats 200000000 2000000000
/sbin/m5 checkpoint 200000000 2000000000
eval $LONG
/sbin/m5 exit

View File

@@ -1,45 +0,0 @@
#!/bin/sh
SERVER=10.0.0.1
CLIENT=10.0.0.2
echo "setting up network..."
ifconfig lo 127.0.0.1
ifconfig eth0 $CLIENT txqueuelen 1000
echo "0" > /proc/sys/net/ipv4/tcp_timestamps
echo "0" > /proc/sys/net/ipv4/tcp_sack
echo "5000000 5000000 5000000" > /proc/sys/net/ipv4/tcp_rmem
echo "5000000 5000000 5000000" > /proc/sys/net/ipv4/tcp_wmem
echo "5000000 5000000 5000000" > /proc/sys/net/ipv4/tcp_mem
echo "262143" > /proc/sys/net/core/rmem_max
echo "262143" > /proc/sys/net/core/wmem_max
echo "262143" > /proc/sys/net/core/rmem_default
echo "262143" > /proc/sys/net/core/wmem_default
echo "262143" > /proc/sys/net/core/optmem_max
echo "100000" > /proc/sys/net/core/netdev_max_backlog
echo -n "waiting for server..."
netcat -c -l -p 8000
BINARY=/benchmarks/netperf-bin/netperf
TEST="TCP_STREAM"
SHORT_ARGS="-l -100k"
LONG_ARGS="-- -m 65536 -M 65536 -s 262144 -S 262144"
SHORT="$BINARY -H $SERVER -t $TEST $SHORT_ARGS"
LONG="$BINARY -H $SERVER -t $TEST $LONG_ARGS"
echo "starting test..."
echo "netperf warmup"
echo $SHORT
eval $SHORT
echo "netperf benchmark"
echo $LONG
/sbin/m5 ivlb 1
/sbin/m5 resetstats
/sbin/m5 dumpresetstats 200000000 2000000000
/sbin/m5 checkpoint 200000000 2000000000
eval $LONG
/sbin/m5 exit

View File

@@ -1,45 +0,0 @@
#!/bin/sh
SERVER=10.0.0.1
CLIENT=10.0.0.2
echo "setting up network..."
ifconfig lo 127.0.0.1
ifconfig eth0 $CLIENT txqueuelen 1000
echo "0" > /proc/sys/net/ipv4/tcp_timestamps
echo "0" > /proc/sys/net/ipv4/tcp_sack
echo "5000000 5000000 5000000" > /proc/sys/net/ipv4/tcp_rmem
echo "5000000 5000000 5000000" > /proc/sys/net/ipv4/tcp_wmem
echo "5000000 5000000 5000000" > /proc/sys/net/ipv4/tcp_mem
echo "262143" > /proc/sys/net/core/rmem_max
echo "262143" > /proc/sys/net/core/wmem_max
echo "262143" > /proc/sys/net/core/rmem_default
echo "262143" > /proc/sys/net/core/wmem_default
echo "262143" > /proc/sys/net/core/optmem_max
echo "100000" > /proc/sys/net/core/netdev_max_backlog
echo -n "waiting for server..."
netcat -c -l -p 8000
BINARY=/benchmarks/netperf-bin/netperf
TEST="UDP_STREAM"
SHORT_ARGS="-l 2 -- -m 16384 -M 16384 -s 262144 -S 262144"
#LONG_ARGS="-k16384,0 -K16384,0 -- -m 65536 -M 65536 -s 262144 -S 262144"
SHORT="$BINARY -H $SERVER -t $TEST $SHORT_ARGS"
LONG="$BINARY -H $SERVER -t $TEST $LONG_ARGS"
echo "starting test..."
echo "netperf warmup"
echo $SHORT
eval $SHORT
#echo "netperf benchmark"
#echo $LONG
#/sbin/m5 ivlb 1
#/sbin/m5 resetstats
#/sbin/m5 dumpresetstats 200000000 2000000000
#/sbin/m5 checkpoint 200000000 2000000000
#eval $LONG
/sbin/m5 exit

View File

@@ -1,22 +0,0 @@
#!/bin/sh
SERVER=127.0.0.1
CLIENT=127.0.0.1
echo "setting up network..."
ifconfig lo 127.0.0.1
BINARY=/benchmarks/netperf-bin/netperf
TEST="UDP_STREAM"
SHORT_ARGS="-l 2 -- -m 4096"
echo "running netserver..."
/benchmarks/netperf-bin/netserver
SHORT="$BINARY -H $SERVER -t $TEST $SHORT_ARGS"
echo "starting test..."
echo $SHORT
eval $SHORT
/sbin/m5 exit

View File

@@ -1,59 +0,0 @@
#!/bin/sh
#
# /etc/init.d/rcS
#
echo -n "mounting swap..."
/sbin/swapon /dev/hdc
echo "done."
echo -n "setting up network..."
/sbin/ifconfig eth0 10.0.0.2 txqueuelen 1000
/sbin/ifconfig lo 127.0.0.1
echo "1" > /proc/sys/net/ipv4/tcp_tw_recycle
echo "1" > /proc/sys/net/ipv4/tcp_tw_reuse
echo "1" > /proc/sys/net/ipv4/tcp_window_scaling
echo "0" > /proc/sys/net/ipv4/tcp_timestamps
echo "0" > /proc/sys/net/ipv4/tcp_sack
echo "15" > /proc/sys/net/ipv4/tcp_fin_timeout
echo "16384" > /proc/sys/net/ipv4/tcp_max_syn_backlog
echo "262144" > /proc/sys/net/ipv4/ip_conntrack_max
echo "1024 65535" > /proc/sys/net/ipv4/ip_local_port_range
echo "10000000 10000000 10000000" > /proc/sys/net/ipv4/tcp_rmem
echo "10000000 10000000 10000000" > /proc/sys/net/ipv4/tcp_wmem
echo "10000000 10000000 10000000" > /proc/sys/net/ipv4/tcp_mem
echo "524287" > /proc/sys/net/core/rmem_max
echo "524287" > /proc/sys/net/core/wmem_max
echo "524287" > /proc/sys/net/core/optmem_max
echo "300000" > /proc/sys/net/core/netdev_max_backlog
echo "131072" > /proc/sys/fs/file-max
echo "10" > /proc/sys/vm/dirty_writeback_centisecs
echo "done."
echo -n "starting nfs client..."
/sbin/portmap &
/sbin/lockd &
echo "done."
echo -n "waiting for server..."
/usr/bin/netcat -c -l -p 8000
echo -n "mounting remote share..."
mkdir /nfs
mount 10.0.0.1:/nfs /nfs
echo "done."
cd /nfs
initparam=`m5 initparam`
if test X$initparam == X0; then
/sbin/m5 checkpoint 100000000 2000000000
dd if=/dev/zero of=foo bs=1024k count=512
else
/sbin/m5 checkpoint 1000000000 2000000000
/benchmarks/dbench/dbench $initparam
fi
/sbin/m5 exit

View File

@@ -1,49 +0,0 @@
#!/bin/sh
#
# /etc/init.d/rcS
#
echo -n "mounting swap..."
/sbin/swapon /dev/hdc
echo "done."
echo -n "setting up network..."
/sbin/ifconfig eth0 10.0.0.2 txqueuelen 1000
/sbin/ifconfig lo 127.0.0.1
echo "1" > /proc/sys/net/ipv4/tcp_tw_recycle
echo "1" > /proc/sys/net/ipv4/tcp_tw_reuse
echo "1" > /proc/sys/net/ipv4/tcp_window_scaling
echo "0" > /proc/sys/net/ipv4/tcp_timestamps
echo "0" > /proc/sys/net/ipv4/tcp_sack
echo "15" > /proc/sys/net/ipv4/tcp_fin_timeout
echo "16384" > /proc/sys/net/ipv4/tcp_max_syn_backlog
echo "262144" > /proc/sys/net/ipv4/ip_conntrack_max
echo "1024 65535" > /proc/sys/net/ipv4/ip_local_port_range
echo "10000000 10000000 10000000" > /proc/sys/net/ipv4/tcp_rmem
echo "10000000 10000000 10000000" > /proc/sys/net/ipv4/tcp_wmem
echo "10000000 10000000 10000000" > /proc/sys/net/ipv4/tcp_mem
echo "524287" > /proc/sys/net/core/rmem_max
echo "524287" > /proc/sys/net/core/wmem_max
echo "524287" > /proc/sys/net/core/optmem_max
echo "300000" > /proc/sys/net/core/netdev_max_backlog
echo "131072" > /proc/sys/fs/file-max
echo "done."
echo -n "starting nfs client..."
/sbin/portmap &
/sbin/lockd &
echo "done."
echo -n "waiting for server..."
netcat -c -l -p 8000
echo -n "mounting remote share..."
mkdir /nfs
mount 10.0.0.1:/nfs /nfs
echo "done."
/sbin/m5 checkpoint 8000000000 2000000000
/sbin/nhfsstone /nfs
/sbin/m5 exit

View File

@@ -1,48 +0,0 @@
#!/bin/sh
#
# /etc/init.d/rcS
#
echo -n "mounting swap..."
/sbin/swapon /dev/hdc
echo "done."
echo -n "setting up network..."
/sbin/ifconfig eth0 10.0.0.2 txqueuelen 1000
/sbin/ifconfig lo 127.0.0.1
echo "1" > /proc/sys/net/ipv4/tcp_tw_recycle
echo "1" > /proc/sys/net/ipv4/tcp_tw_reuse
echo "1" > /proc/sys/net/ipv4/tcp_window_scaling
echo "0" > /proc/sys/net/ipv4/tcp_timestamps
echo "0" > /proc/sys/net/ipv4/tcp_sack
echo "15" > /proc/sys/net/ipv4/tcp_fin_timeout
echo "16384" > /proc/sys/net/ipv4/tcp_max_syn_backlog
echo "262144" > /proc/sys/net/ipv4/ip_conntrack_max
echo "1024 65535" > /proc/sys/net/ipv4/ip_local_port_range
echo "10000000 10000000 10000000" > /proc/sys/net/ipv4/tcp_rmem
echo "10000000 10000000 10000000" > /proc/sys/net/ipv4/tcp_wmem
echo "10000000 10000000 10000000" > /proc/sys/net/ipv4/tcp_mem
echo "524287" > /proc/sys/net/core/rmem_max
echo "524287" > /proc/sys/net/core/wmem_max
echo "524287" > /proc/sys/net/core/optmem_max
echo "300000" > /proc/sys/net/core/netdev_max_backlog
echo "131072" > /proc/sys/fs/file-max
echo "done."
echo -n "starting nfs client..."
/sbin/portmap &
/sbin/lockd &
echo "done."
echo -n "waiting for server..."
/usr/bin/netcat -c -l -p 8000
echo -n "mounting remote share..."
mkdir /nfs
mount -o rsize=1460,wsize=1460 10.0.0.1:/nfs /nfs
echo "done."
/bin/bonnie++ -u 99 -s 700 -r 0 -n 0 -f -F -d /nfs
/sbin/m5 exit

View File

@@ -1,48 +0,0 @@
#!/bin/sh
#
# /etc/init.d/rcS
#
echo -n "mounting swap..."
/sbin/swapon /dev/hdc
echo "done."
echo -n "setting up network..."
/sbin/ifconfig eth0 10.0.0.2 txqueuelen 1000
/sbin/ifconfig lo 127.0.0.1
echo "1" > /proc/sys/net/ipv4/tcp_tw_recycle
echo "1" > /proc/sys/net/ipv4/tcp_tw_reuse
echo "1" > /proc/sys/net/ipv4/tcp_window_scaling
echo "0" > /proc/sys/net/ipv4/tcp_timestamps
echo "0" > /proc/sys/net/ipv4/tcp_sack
echo "15" > /proc/sys/net/ipv4/tcp_fin_timeout
echo "16384" > /proc/sys/net/ipv4/tcp_max_syn_backlog
echo "262144" > /proc/sys/net/ipv4/ip_conntrack_max
echo "1024 65535" > /proc/sys/net/ipv4/ip_local_port_range
echo "10000000 10000000 10000000" > /proc/sys/net/ipv4/tcp_rmem
echo "10000000 10000000 10000000" > /proc/sys/net/ipv4/tcp_wmem
echo "10000000 10000000 10000000" > /proc/sys/net/ipv4/tcp_mem
echo "524287" > /proc/sys/net/core/rmem_max
echo "524287" > /proc/sys/net/core/wmem_max
echo "524287" > /proc/sys/net/core/optmem_max
echo "300000" > /proc/sys/net/core/netdev_max_backlog
echo "131072" > /proc/sys/fs/file-max
echo "done."
echo -n "starting nfs client..."
/sbin/portmap &
/sbin/lockd &
echo "done."
echo -n "waiting for server..."
netcat -c -l -p 8000
echo -n "mounting remote share..."
mkdir /nfs
mount -o rsize=1460,wsize=1460,tcp 10.0.0.1:/nfs /nfs
echo "done."
/usr/bin/bonnie++ -u 99 -s 700 -r 0 -n 0 -f -F -d /nfs
/sbin/m5 exit

View File

@@ -1,48 +0,0 @@
#!/bin/sh
#
# /etc/init.d/rcS
#
echo -n "mounting swap..."
/sbin/swapon /dev/hdc
echo "done."
echo -n "setting up network..."
/sbin/ifconfig eth0 10.0.0.2 txqueuelen 1000
/sbin/ifconfig lo 127.0.0.1
echo "1" > /proc/sys/net/ipv4/tcp_tw_recycle
echo "1" > /proc/sys/net/ipv4/tcp_tw_reuse
echo "1" > /proc/sys/net/ipv4/tcp_window_scaling
echo "0" > /proc/sys/net/ipv4/tcp_timestamps
echo "0" > /proc/sys/net/ipv4/tcp_sack
echo "15" > /proc/sys/net/ipv4/tcp_fin_timeout
echo "16384" > /proc/sys/net/ipv4/tcp_max_syn_backlog
echo "262144" > /proc/sys/net/ipv4/ip_conntrack_max
echo "1024 65535" > /proc/sys/net/ipv4/ip_local_port_range
echo "10000000 10000000 10000000" > /proc/sys/net/ipv4/tcp_rmem
echo "10000000 10000000 10000000" > /proc/sys/net/ipv4/tcp_wmem
echo "10000000 10000000 10000000" > /proc/sys/net/ipv4/tcp_mem
echo "524287" > /proc/sys/net/core/rmem_max
echo "524287" > /proc/sys/net/core/wmem_max
echo "524287" > /proc/sys/net/core/optmem_max
echo "300000" > /proc/sys/net/core/netdev_max_backlog
echo "131072" > /proc/sys/fs/file-max
echo "done."
echo -n "starting nfs client..."
/sbin/portmap &
/sbin/lockd &
echo "done."
echo -n "waiting for server..."
netcat -c -l -p 8000
echo -n "mounting remote share..."
mkdir /nfs
mount -o tcp 10.0.0.1:/nfs /nfs
echo "done."
/usr/bin/bonnie++ -u 99 -s 700 -r 0 -n 0 -f -F -d /nfs
/sbin/m5 exit

View File

@@ -1,48 +0,0 @@
#!/bin/sh
#
# /etc/init.d/rcS
#
echo -n "mounting swap..."
/sbin/swapon /dev/hdc
echo "done."
echo -n "setting up network..."
/sbin/ifconfig eth0 10.0.0.2 txqueuelen 1000
/sbin/ifconfig lo 127.0.0.1
echo "1" > /proc/sys/net/ipv4/tcp_tw_recycle
echo "1" > /proc/sys/net/ipv4/tcp_tw_reuse
echo "1" > /proc/sys/net/ipv4/tcp_window_scaling
echo "0" > /proc/sys/net/ipv4/tcp_timestamps
echo "0" > /proc/sys/net/ipv4/tcp_sack
echo "15" > /proc/sys/net/ipv4/tcp_fin_timeout
echo "16384" > /proc/sys/net/ipv4/tcp_max_syn_backlog
echo "262144" > /proc/sys/net/ipv4/ip_conntrack_max
echo "1024 65535" > /proc/sys/net/ipv4/ip_local_port_range
echo "10000000 10000000 10000000" > /proc/sys/net/ipv4/tcp_rmem
echo "10000000 10000000 10000000" > /proc/sys/net/ipv4/tcp_wmem
echo "10000000 10000000 10000000" > /proc/sys/net/ipv4/tcp_mem
echo "524287" > /proc/sys/net/core/rmem_max
echo "524287" > /proc/sys/net/core/wmem_max
echo "524287" > /proc/sys/net/core/optmem_max
echo "300000" > /proc/sys/net/core/netdev_max_backlog
echo "131072" > /proc/sys/fs/file-max
echo "done."
echo -n "starting nfs client..."
/sbin/portmap &
/sbin/lockd &
echo "done."
echo -n "waiting for server..."
netcat -c -l -p 8000
echo -n "mounting remote share..."
mkdir /nfs
mount 10.0.0.1:/nfs /nfs
echo "done."
/usr/bin/bonnie++ -u 99 -s 700 -r 0 -n 0 -f -F -d /nfs
/sbin/m5 exit

View File

@@ -1,66 +0,0 @@
#!/bin/sh
#
# /etc/init.d/rcS
#
echo -n "mounting swap..."
/sbin/swapon /dev/hdc
echo "done."
echo -n "setting up network..."
/sbin/ifconfig eth0 10.0.0.1 txqueuelen 1000
/sbin/ifconfig lo 127.0.0.1
echo "1" > /proc/sys/net/ipv4/tcp_tw_recycle
echo "1" > /proc/sys/net/ipv4/tcp_tw_reuse
echo "1" > /proc/sys/net/ipv4/tcp_window_scaling
echo "0" > /proc/sys/net/ipv4/tcp_timestamps
echo "0" > /proc/sys/net/ipv4/tcp_sack
echo "15" > /proc/sys/net/ipv4/tcp_fin_timeout
echo "16384" > /proc/sys/net/ipv4/tcp_max_syn_backlog
echo "262144" > /proc/sys/net/ipv4/ip_conntrack_max
echo "1024 65535" > /proc/sys/net/ipv4/ip_local_port_range
echo "10000000 10000000 10000000" > /proc/sys/net/ipv4/tcp_rmem
echo "10000000 10000000 10000000" > /proc/sys/net/ipv4/tcp_wmem
echo "10000000 10000000 10000000" > /proc/sys/net/ipv4/tcp_mem
echo "524287" > /proc/sys/net/core/rmem_max
echo "524287" > /proc/sys/net/core/wmem_max
echo "524287" > /proc/sys/net/core/optmem_max
echo "300000" > /proc/sys/net/core/netdev_max_backlog
echo "131072" > /proc/sys/fs/file-max
echo "done."
#if [ ! -x /dev/sda ]
#then
# mknod /dev/sda b 8 0
# mknod /dev/sda1 b 8 1
#fi
/sbin/insmod /modules/scsi_debug.ko dev_size_mb=80
echo -n "creating partition and formatting..."
/sbin/mke2fs -F /dev/sda
mkdir /nfs
/bin/mount /dev/sda /nfs
chmod a+rwx /nfs
echo "done."
echo "/nfs 10.0.0.0/255.0.0.0(rw,sync,no_root_squash)" > /etc/exports
echo -n "starting nfs kernel server..."
/sbin/portmap
/sbin/lockd
/sbin/statd
/sbin/nfsd 8
/sbin/mountd
echo "done."
echo "Exporting shares..."
/sbin/exportfs -r -v
echo -n "signal client to mount..."
sleep 5
echo "server ready" | netcat -c 10.0.0.2 8000
echo "done."
echo -n "starting bash shell..."
/bin/bash

View File

@@ -1,68 +0,0 @@
#!/bin/sh
#
# /etc/init.d/rcS
#
echo -n "mounting swap..."
/sbin/swapon /dev/hdc
echo "done."
echo -n "setting up network..."
/sbin/ifconfig eth0 10.0.0.1 txqueuelen 1000
/sbin/ifconfig lo 127.0.0.1
echo "1" > /proc/sys/net/ipv4/tcp_tw_recycle
echo "1" > /proc/sys/net/ipv4/tcp_tw_reuse
echo "1" > /proc/sys/net/ipv4/tcp_window_scaling
echo "0" > /proc/sys/net/ipv4/tcp_timestamps
echo "0" > /proc/sys/net/ipv4/tcp_sack
echo "15" > /proc/sys/net/ipv4/tcp_fin_timeout
echo "16384" > /proc/sys/net/ipv4/tcp_max_syn_backlog
echo "262144" > /proc/sys/net/ipv4/ip_conntrack_max
echo "1024 65535" > /proc/sys/net/ipv4/ip_local_port_range
echo "10000000 10000000 10000000" > /proc/sys/net/ipv4/tcp_rmem
echo "10000000 10000000 10000000" > /proc/sys/net/ipv4/tcp_wmem
echo "10000000 10000000 10000000" > /proc/sys/net/ipv4/tcp_mem
echo "524287" > /proc/sys/net/core/rmem_max
echo "524287" > /proc/sys/net/core/wmem_max
echo "524287" > /proc/sys/net/core/optmem_max
echo "300000" > /proc/sys/net/core/netdev_max_backlog
echo "131072" > /proc/sys/fs/file-max
echo "done."
#if [ ! -x /dev/sda ]
#then
# mknod /dev/sda b 8 0
# mknod /dev/sda1 b 8 1
#fi
/sbin/insmod /modules/scsi_debug.ko dev_size_mb=768
echo -n "creating partition and formatting..."
#echo "1,767,L" > /tmp/sfdisk.run
#/usr/sbin/sfdisk -uM --force /dev/sda < /tmp/sfdisk.run
/sbin/mke2fs -F /dev/sda
mkdir /nfs
/bin/mount /dev/sda /nfs
chmod a+rwx /nfs
#/usr/sbin/sfdisk -uM -l /dev/sda
echo "done."
echo "/nfs 10.0.0.0/255.0.0.0(rw,sync,no_root_squash)" > /etc/exports
echo -n "starting nfs kernel server..."
/sbin/portmap
/sbin/lockd
/sbin/statd
/sbin/nfsd 15
/sbin/mountd
echo "done."
echo "Exporting shares..."
/sbin/exportfs -r -v
echo -n "signal client to mount..."
echo "server ready" | netcat -c 10.0.0.2 8000
echo "done."
echo -n "starting bash shell..."
/bin/bash

View File

View File

@@ -1,25 +0,0 @@
#!/bin/sh
SERVER=10.0.0.1
CLIENT=10.0.0.2
echo "setting up network..."
ifconfig lo 127.0.0.1
ifconfig eth0 $CLIENT txqueuelen 1000
echo "0" > /proc/sys/net/ipv4/tcp_timestamps
echo "0" > /proc/sys/net/ipv4/tcp_sack
echo "5000000 5000000 5000000" > /proc/sys/net/ipv4/tcp_rmem
echo "5000000 5000000 5000000" > /proc/sys/net/ipv4/tcp_wmem
echo "5000000 5000000 5000000" > /proc/sys/net/ipv4/tcp_mem
echo "262143" > /proc/sys/net/core/rmem_max
echo "262143" > /proc/sys/net/core/wmem_max
echo "262143" > /proc/sys/net/core/rmem_default
echo "262143" > /proc/sys/net/core/wmem_default
echo "262143" > /proc/sys/net/core/optmem_max
echo "100000" > /proc/sys/net/core/netdev_max_backlog
echo -n "waiting for server..."
netcat -c -l -p 8000
ping -c 5 $SERVER
/sbin/m5 exit

View File

@@ -1,26 +0,0 @@
#!/bin/sh
SERVER=10.0.0.1
CLIENT=10.0.0.2
echo "setting up network..."
ifconfig lo 127.0.0.1
ifconfig eth0 $SERVER txqueuelen 1000
echo "0" > /proc/sys/net/ipv4/tcp_timestamps
echo "0" > /proc/sys/net/ipv4/tcp_sack
echo "5000000 5000000 5000000" > /proc/sys/net/ipv4/tcp_rmem
echo "5000000 5000000 5000000" > /proc/sys/net/ipv4/tcp_wmem
echo "5000000 5000000 5000000" > /proc/sys/net/ipv4/tcp_mem
echo "262143" > /proc/sys/net/core/rmem_max
echo "262143" > /proc/sys/net/core/wmem_max
echo "262143" > /proc/sys/net/core/rmem_default
echo "262143" > /proc/sys/net/core/wmem_default
echo "262143" > /proc/sys/net/core/optmem_max
echo "100000" > /proc/sys/net/core/netdev_max_backlog
echo -n "signal client to begin..."
echo "server ready" | netcat -c $CLIENT 8000
echo "done."
echo "starting bash..."
exec /bin/bash

View File

@@ -1,37 +0,0 @@
ifconfig eth1 mtu 9000 txqueuelen 1000 up
### IPV4 specific settings
# turns TCP timestamp support off, default 1, reduces CPU use
echo "0" > /proc/sys/net/ipv4/tcp_timestamps
# turn SACK support off, default on
echo "0" > /proc/sys/net/ipv4/tcp_sack
# sets min/default/max TCP read buffer, default 4096 87380 174760
echo "10000000 10000000 10000000" > /proc/sys/net/ipv4/tcp_rmem
# sets min/pressure/max TCP write buffer, default 4096 16384 131072
echo "10000000 10000000 10000000" > /proc/sys/net/ipv4/tcp_wmem
# sets min/pressure/max TCP buffer space, default 31744 32256 32768
echo "10000000 10000000 10000000" > /proc/sys/net/ipv4/tcp_mem
### CORE settings (mostly for socket and UDP effect)
# maximum receive socket buffer size, default 131071
echo "524287" > /proc/sys/net/core/rmem_max
# maximum send socket buffer size, default 131071
echo "524287" > /proc/sys/net/core/wmem_max
# default receive socket buffer size, default 65535
echo "524287" > /proc/sys/net/core/rmem_default
# default send socket buffer size, default 65535
echo "524287" > /proc/sys/net/core/wmem_default
# maximum amount of option memory buffers, default 10240
echo "524287" > /proc/sys/net/core/optmem_max
# number of unprocessed input packets before kernel starts dropping them,
# default 300
echo "300000" > /proc/sys/net/core/netdev_max_backlog

View File

@@ -1,45 +0,0 @@
#!/bin/sh
#
# /etc/init.d/rcS
#
echo -n "mounting swap..."
/sbin/swapon /dev/hdc
echo "done."
echo -n "setting up network..."
/sbin/ifconfig eth0 192.168.0.10 txqueuelen 1000
/sbin/ifconfig lo 127.0.0.1
echo "1" > /proc/sys/net/ipv4/tcp_tw_recycle
echo "1" > /proc/sys/net/ipv4/tcp_tw_reuse
echo "1" > /proc/sys/net/ipv4/tcp_window_scaling
echo "0" > /proc/sys/net/ipv4/tcp_timestamps
echo "0" > /proc/sys/net/ipv4/tcp_sack
echo "15" > /proc/sys/net/ipv4/tcp_fin_timeout
echo "16384" > /proc/sys/net/ipv4/tcp_max_syn_backlog
echo "262144" > /proc/sys/net/ipv4/ip_conntrack_max
echo "1024 65535" > /proc/sys/net/ipv4/ip_local_port_range
echo "10000000 10000000 10000000" > /proc/sys/net/ipv4/tcp_rmem
echo "10000000 10000000 10000000" > /proc/sys/net/ipv4/tcp_wmem
echo "10000000 10000000 10000000" > /proc/sys/net/ipv4/tcp_mem
echo "262144" > /proc/sys/net/ipv4/ip_conntrack_max
echo "524287" > /proc/sys/net/core/rmem_max
echo "524287" > /proc/sys/net/core/wmem_max
echo "524287" > /proc/sys/net/core/optmem_max
echo "300000" > /proc/sys/net/core/netdev_max_backlog
echo "131072" > /proc/sys/fs/file-max
echo "done."
echo "waiting for server..."
netcat -c -l -p 8000
echo -n "running surge client..."
/bin/bash -c "cd /benchmarks/surge && ./spec-m5 1 20 1 192.168.0.1 5 40000 1000000000 1000"
echo "done."
echo -n "halting machine"
m5 exit
echo -n "starting bash shell..."
/bin/bash

View File

@@ -1,53 +0,0 @@
#!/bin/sh
#
# /etc/init.d/rcS
#
echo -n "mounting swap..."
/sbin/swapon /dev/hdc
echo "done."
echo -n "setting up network..."
/sbin/ifconfig eth0 192.168.0.1 txqueuelen 1000
/sbin/ifconfig eth0:1 192.168.0.2 txqueuelen 1000
/sbin/ifconfig eth0:2 192.168.0.3 txqueuelen 1000
/sbin/ifconfig eth0:3 192.168.0.4 txqueuelen 1000
/sbin/ifconfig eth0:4 192.168.0.5 txqueuelen 1000
/sbin/ifconfig lo 127.0.0.1
echo "1" > /proc/sys/net/ipv4/tcp_tw_recycle
echo "1" > /proc/sys/net/ipv4/tcp_tw_reuse
echo "1" > /proc/sys/net/ipv4/tcp_window_scaling
echo "0" > /proc/sys/net/ipv4/tcp_timestamps
echo "0" > /proc/sys/net/ipv4/tcp_sack
echo "15" > /proc/sys/net/ipv4/tcp_fin_timeout
echo "16384" > /proc/sys/net/ipv4/tcp_max_syn_backlog
echo "262144" > /proc/sys/net/ipv4/ip_conntrack_max
echo "1024 65535" > /proc/sys/net/ipv4/ip_local_port_range
echo "10000000 10000000 10000000" > /proc/sys/net/ipv4/tcp_rmem
echo "10000000 10000000 10000000" > /proc/sys/net/ipv4/tcp_wmem
echo "10000000 10000000 10000000" > /proc/sys/net/ipv4/tcp_mem
echo "524287" > /proc/sys/net/core/rmem_max
echo "524287" > /proc/sys/net/core/wmem_max
echo "524287" > /proc/sys/net/core/optmem_max
echo "300000" > /proc/sys/net/core/netdev_max_backlog
echo "131072" > /proc/sys/fs/file-max
echo "done."
echo -n "mounting file set..."
mkdir -p /z/htdocs
mount /dev/hdb1 /z/htdocs
echo "done."
echo -n "starting httpd..."
/usr/sbin/apache2 -f /etc/apache2/httpd.conf -k start
sleep 2
cat /usr/share/apache2/logs/error_log
echo "done."
echo "notifying client..."
echo "server ready" | netcat -c 192.168.0.10 8000
echo "done"
echo -n "starting bash shell..."
/bin/bash

View File

@@ -1,44 +0,0 @@
#!/bin/sh
#
# /etc/init.d/rcS
#
echo -n "mounting swap..."
/sbin/swapon /dev/hdc
echo "done."
echo -n "setting up network..."
/sbin/ifconfig eth0 192.168.0.10 txqueuelen 1000
/sbin/ifconfig lo 127.0.0.1
echo "1" > /proc/sys/net/ipv4/tcp_tw_recycle
echo "1" > /proc/sys/net/ipv4/tcp_tw_reuse
echo "1" > /proc/sys/net/ipv4/tcp_window_scaling
echo "0" > /proc/sys/net/ipv4/tcp_timestamps
echo "0" > /proc/sys/net/ipv4/tcp_sack
echo "15" > /proc/sys/net/ipv4/tcp_fin_timeout
echo "16384" > /proc/sys/net/ipv4/tcp_max_syn_backlog
echo "262144" > /proc/sys/net/ipv4/ip_conntrack_max
echo "1024 65535" > /proc/sys/net/ipv4/ip_local_port_range
echo "10000000 10000000 10000000" > /proc/sys/net/ipv4/tcp_rmem
echo "10000000 10000000 10000000" > /proc/sys/net/ipv4/tcp_wmem
echo "10000000 10000000 10000000" > /proc/sys/net/ipv4/tcp_mem
echo "524287" > /proc/sys/net/core/rmem_max
echo "524287" > /proc/sys/net/core/wmem_max
echo "524287" > /proc/sys/net/core/optmem_max
echo "300000" > /proc/sys/net/core/netdev_max_backlog
echo "131072" > /proc/sys/fs/file-max
echo "done."
echo "waiting for server..."
netcat -c -l -p 8000
echo -n "running surge client..."
/bin/bash -c "cd /benchmarks/specsurge && ./Surge 2 100 1 192.168.0.1 5"
echo "done."
echo -n "halting machine"
m5 exit
echo -n "starting bash shell..."
/bin/bash

View File

@@ -1,52 +0,0 @@
#!/bin/sh
#
# /etc/init.d/rcS
#
echo -n "mounting swap..."
/sbin/swapon /dev/hdc
echo "done."
echo -n "setting up network..."
/sbin/ifconfig eth0 192.168.0.1 txqueuelen 1000
/sbin/ifconfig eth0:1 192.168.0.2 txqueuelen 1000
/sbin/ifconfig eth0:2 192.168.0.3 txqueuelen 1000
/sbin/ifconfig eth0:3 192.168.0.4 txqueuelen 1000
/sbin/ifconfig eth0:4 192.168.0.5 txqueuelen 1000
/sbin/ifconfig lo 127.0.0.1
echo "1" > /proc/sys/net/ipv4/tcp_tw_recycle
echo "1" > /proc/sys/net/ipv4/tcp_tw_reuse
echo "1" > /proc/sys/net/ipv4/tcp_window_scaling
echo "0" > /proc/sys/net/ipv4/tcp_timestamps
echo "0" > /proc/sys/net/ipv4/tcp_sack
echo "15" > /proc/sys/net/ipv4/tcp_fin_timeout
echo "16384" > /proc/sys/net/ipv4/tcp_max_syn_backlog
echo "262144" > /proc/sys/net/ipv4/ip_conntrack_max
echo "1024 65535" > /proc/sys/net/ipv4/ip_local_port_range
echo "10000000 10000000 10000000" > /proc/sys/net/ipv4/tcp_rmem
echo "10000000 10000000 10000000" > /proc/sys/net/ipv4/tcp_wmem
echo "10000000 10000000 10000000" > /proc/sys/net/ipv4/tcp_mem
echo "524287" > /proc/sys/net/core/rmem_max
echo "524287" > /proc/sys/net/core/wmem_max
echo "524287" > /proc/sys/net/core/optmem_max
echo "300000" > /proc/sys/net/core/netdev_max_backlog
echo "131072" > /proc/sys/fs/file-max
echo "done."
echo -n "mounting file set..."
mkdir -p /z/htdocs
mount /dev/hdb1 /z/htdocs
echo "done."
echo -n "starting httpd..."
/usr/sbin/apache2 -f /etc/apache2/httpd.conf -k start
sleep 2
cat /usr/share/apache2/logs/error_log
echo "done."
echo "server ready" | netcat -c 192.168.10 8000
echo -n "starting bash shell..."
/bin/bash

View File

@@ -41,12 +41,17 @@
from __future__ import print_function
from __future__ import absolute_import
import six
import m5
from m5.objects import *
from m5.util import *
from common.Benchmarks import *
from common import ObjectList
if six.PY3:
long = int
# Populate to reflect supported os types per target ISA
os_types = { 'mips' : [ 'linux' ],
'riscv' : [ 'linux' ], # TODO that's a lie
@@ -574,7 +579,7 @@ def makeLinuxX86System(mem_mode, numCPUs=1, mdesc=None, Ruby=False,
# We assume below that there's at least 1MB of memory. We'll require 2
# just to avoid corner cases.
phys_mem_size = sum(map(lambda r: r.size(), self.mem_ranges))
phys_mem_size = sum([r.size() for r in self.mem_ranges])
assert(phys_mem_size >= 0x200000)
assert(len(self.mem_ranges) <= 2)

View File

@@ -132,7 +132,7 @@ def config_filesystem(system, options = None):
file_append((procdir, 'cpuinfo'), one_cpu)
file_append((procdir, 'stat'), 'cpu 0 0 0 0 0 0 0\n')
for i in xrange(len(cpus)):
for i in range(len(cpus)):
file_append((procdir, 'stat'), 'cpu%d 0 0 0 0 0 0 0\n' % i)
# Set up /sys

View File

@@ -432,7 +432,7 @@ def config_hmc_dev(opt, system, hmc_host):
for i in range(numx*(opt.mem_chunk-1))]
# Buffer iterator
it = iter(range(len(system.hmc_dev.buffers)))
it = iter(list(range(len(system.hmc_dev.buffers))))
# necesarry to add system_port to one of the xbar
system.system_port = system.hmc_dev.xbar[3].slave
@@ -443,7 +443,7 @@ def config_hmc_dev(opt, system, hmc_host):
# connect xbar to all other xbars except itself
if i != j:
# get the next index of buffer
index = it.next()
index = next(it)
# Change the default values for ranges of bridge
system.hmc_dev.buffers[index].ranges = system.mem_ranges[

View File

@@ -75,7 +75,7 @@ class ObjectList(object):
print("Available {} classes:".format(self.base_cls))
doc_wrapper = TextWrapper(initial_indent="\t\t",
subsequent_indent="\t\t")
for name, cls in self._sub_classes.items():
for name, cls in list(self._sub_classes.items()):
print("\t{}".format(name))
# Try to extract the class documentation from the class help
@@ -87,7 +87,7 @@ class ObjectList(object):
if self._aliases:
print("\Aliases:")
for alias, target in self._aliases.items():
for alias, target in list(self._aliases.items()):
print("\t{} => {}".format(alias, target))
def get_names(self):
@@ -156,7 +156,7 @@ class EnumList(ObjectList):
def _add_objects(self):
""" Add all enum values to the ObjectList """
self._sub_classes = {}
for (key, value) in self.base_cls.__members__.items():
for (key, value) in list(self.base_cls.__members__.items()):
# All Enums have a value Num_NAME at the end which we
# do not want to include
if not key.startswith("Num_"):

View File

@@ -110,7 +110,7 @@ def addNoISAOptions(parser):
help="Specify the physical memory size (single memory)")
parser.add_option("--enable-dram-powerdown", action="store_true",
help="Enable low-power states in DRAMCtrl")
parser.add_option("--mem-channels-intlv", type="int",
parser.add_option("--mem-channels-intlv", type="int", default=0,
help="Memory channels interleave")

View File

@@ -40,6 +40,7 @@
from __future__ import print_function
from __future__ import absolute_import
import six
import sys
from os import getcwd
from os.path import join as joinpath
@@ -52,6 +53,9 @@ from m5.defines import buildEnv
from m5.objects import *
from m5.util import *
if six.PY3:
long = int
addToPath('../common')
def getCPUClass(cpu_type):

View File

@@ -55,10 +55,10 @@ class PathSearchFunc(object):
paths = [ '/dist/m5/system', '/n/poolfs/z/dist/m5/system' ]
# expand '~' and '~user' in paths
paths = map(os.path.expanduser, paths)
paths = list(map(os.path.expanduser, paths))
# filter out non-existent directories
paths = filter(os.path.isdir, paths)
paths = list(filter(os.path.isdir, paths))
if not paths:
raise IOError(

View File

@@ -37,6 +37,7 @@ from __future__ import print_function
from __future__ import absolute_import
import gzip
import six
import optparse
import os
@@ -52,6 +53,9 @@ from common import MemConfig
addToPath('../../util')
import protolib
if six.PY3:
long = int
# this script is helpful to observe the memory latency for various
# levels in a cache hierarchy, and various cache and memory
# configurations, in essence replicating the lmbench lat_mem_rd thrash

View File

@@ -73,7 +73,7 @@ parser.add_option("--rd_perc", type="int", default=100,
help = "Percentage of read commands")
parser.add_option("--mode", type="choice", default="DRAM",
choices=dram_generators.keys(),
choices=list(dram_generators.keys()),
help = "DRAM: Random traffic; \
DRAM_ROTATE: Traffic rotating across banks and ranks")

View File

@@ -203,7 +203,7 @@ def main():
help="Disk to instantiate")
parser.add_argument("--readfile", type=str, default="",
help = "File to return with the m5 readfile command")
parser.add_argument("--cpu", type=str, choices=cpu_types.keys(),
parser.add_argument("--cpu", type=str, choices=list(cpu_types.keys()),
default="atomic",
help="CPU model to use")
parser.add_argument("--cpu-freq", type=str, default="4GHz")

View File

@@ -38,12 +38,17 @@
from __future__ import print_function
from __future__ import absolute_import
import six
import m5
from m5.objects import *
m5.util.addToPath('../../')
from common.Caches import *
from common import ObjectList
if six.PY3:
long = int
have_kvm = "ArmV8KvmCPU" in ObjectList.cpu_list.get_names()
have_fastmodel = "FastModelCortexA76" in ObjectList.cpu_list.get_names()

View File

@@ -177,7 +177,7 @@ def addOptions(parser):
help="Disks to instantiate")
parser.add_argument("--bootscript", type=str, default=default_rcs,
help="Linux bootscript")
parser.add_argument("--cpu-type", type=str, choices=cpu_types.keys(),
parser.add_argument("--cpu-type", type=str, choices=list(cpu_types.keys()),
default="timing",
help="CPU simulation mode. Default: %(default)s")
parser.add_argument("--kernel-init", type=str, default="/sbin/init",

View File

@@ -208,7 +208,7 @@ def main():
help="Disk to instantiate")
parser.add_argument("--script", type=str, default="",
help = "Linux bootscript")
parser.add_argument("--cpu", type=str, choices=cpu_types.keys(),
parser.add_argument("--cpu", type=str, choices=list(cpu_types.keys()),
default="atomic",
help="CPU model to use")
parser.add_argument("--cpu-freq", type=str, default="4GHz")

View File

@@ -183,7 +183,7 @@ def main():
parser.add_argument("commands_to_run", metavar="command(s)", nargs='*',
help="Command(s) to run")
parser.add_argument("--cpu", type=str, choices=cpu_types.keys(),
parser.add_argument("--cpu", type=str, choices=list(cpu_types.keys()),
default="atomic",
help="CPU model to use")
parser.add_argument("--cpu-freq", type=str, default="4GHz")

View File

@@ -49,7 +49,7 @@ from __future__ import print_function
from __future__ import absolute_import
import argparse
import ConfigParser
from six.moves import configparser
import inspect
import json
import re
@@ -63,7 +63,7 @@ if six.PY3:
long = int
sim_object_classes_by_name = {
cls.__name__: cls for cls in m5.objects.__dict__.values()
cls.__name__: cls for cls in list(m5.objects.__dict__.values())
if inspect.isclass(cls) and issubclass(cls, m5.objects.SimObject) }
# Add some parsing functions to Param classes to handle reading in .ini
@@ -129,7 +129,7 @@ param_parsers = {
'EthernetAddr': simple_parser()
}
for name, parser in param_parsers.items():
for name, parser in list(param_parsers.items()):
setattr(m5.params.__dict__[name], 'parse_ini', classmethod(parser))
class PortConnection(object):
@@ -193,7 +193,7 @@ class ConfigManager(object):
parsed_params = {}
for param_name, param in object_class._params.items():
for param_name, param in list(object_class._params.items()):
if issubclass(param.ptype, m5.params.ParamValue):
if isinstance(param, m5.params.VectorParamDesc):
param_values = self.config.get_param_vector(object_name,
@@ -221,7 +221,7 @@ class ConfigManager(object):
if object_name == 'Null':
return NULL
for param_name, param in obj.__class__._params.items():
for param_name, param in list(obj.__class__._params.items()):
if issubclass(param.ptype, m5.objects.SimObject):
if isinstance(param, m5.params.VectorParamDesc):
param_values = self.config.get_param_vector(object_name,
@@ -286,11 +286,11 @@ class ConfigManager(object):
return NULL
parsed_ports = []
for port_name, port in obj.__class__._ports.items():
for port_name, port in list(obj.__class__._ports.items()):
# Assume that unnamed ports are unconnected
peers = self.config.get_port_peers(object_name, port_name)
for index, peer in zip(range(0, len(peers)), peers):
for index, peer in zip(list(range(0, len(peers))), peers):
parsed_ports.append((
PortConnection(object_name, port.name, index),
PortConnection.from_string(peer)))
@@ -368,12 +368,12 @@ class ConfigManager(object):
# Now fill in SimObject-valued parameters in the knowledge that
# this won't be interpreted as becoming the parent of objects
# which are already in the root hierarchy
for name, obj in self.objects_by_name.items():
for name, obj in list(self.objects_by_name.items()):
self.fill_in_simobj_parameters(name, obj)
# Gather a list of all port-to-port connections
connections = []
for name, obj in self.objects_by_name.items():
for name, obj in list(self.objects_by_name.items()):
connections += self.gather_port_connections(name, obj)
# Find an acceptable order to bind those port connections and
@@ -415,7 +415,7 @@ class ConfigFile(object):
class ConfigIniFile(ConfigFile):
def __init__(self):
self.parser = ConfigParser.ConfigParser()
self.parser = configparser.ConfigParser()
def load(self, config_file):
self.parser.read(config_file)
@@ -466,7 +466,7 @@ class ConfigJsonFile(ConfigFile):
for elem in node:
self.find_all_objects(elem)
elif isinstance(node, dict):
for elem in node.values():
for elem in list(node.values()):
self.find_all_objects(elem)
def load(self, config_file):
@@ -505,7 +505,7 @@ class ConfigJsonFile(ConfigFile):
obj = self.object_dicts[object_name]
children = []
for name, node in obj.items():
for name, node in list(obj.items()):
if self.is_sim_object(node):
children.append((name, node['path']))
elif isinstance(node, list) and node != [] and all([

View File

@@ -34,7 +34,7 @@ import m5
from m5.objects import *
from m5.defines import buildEnv
from m5.util import addToPath, convert
from CntrlBase import *
from .CntrlBase import *
addToPath('../')

View File

@@ -29,19 +29,23 @@
# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
# POSSIBILITY OF SUCH DAMAGE.
import six
import math
import m5
from m5.objects import *
from m5.defines import buildEnv
from m5.util import addToPath
from Ruby import create_topology
from Ruby import send_evicts
from .Ruby import create_topology
from .Ruby import send_evicts
addToPath('../')
from topologies.Cluster import Cluster
from topologies.Crossbar import Crossbar
if six.PY3:
long = int
class CntrlBase:
_seqs = 0
@classmethod

View File

@@ -29,19 +29,23 @@
# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
# POSSIBILITY OF SUCH DAMAGE.
import six
import math
import m5
from m5.objects import *
from m5.defines import buildEnv
from m5.util import addToPath
from Ruby import create_topology
from Ruby import send_evicts
from .Ruby import create_topology
from .Ruby import send_evicts
addToPath('../')
from topologies.Cluster import Cluster
from topologies.Crossbar import Crossbar
if six.PY3:
long = int
class CntrlBase:
_seqs = 0
@classmethod
@@ -516,16 +520,16 @@ def create_system(options, full_system, system, dma_devices, bootmem,
# Register CPUs and caches for each CorePair and directory (SE mode only)
if not full_system:
for i in xrange((options.num_cpus + 1) // 2):
for i in range((options.num_cpus + 1) // 2):
FileSystemConfig.register_cpu(physical_package_id = 0,
core_siblings = \
xrange(options.num_cpus),
range(options.num_cpus),
core_id = i*2,
thread_siblings = [])
FileSystemConfig.register_cpu(physical_package_id = 0,
core_siblings = \
xrange(options.num_cpus),
range(options.num_cpus),
core_id = i*2+1,
thread_siblings = [])
@@ -564,7 +568,7 @@ def create_system(options, full_system, system, dma_devices, bootmem,
line_size = options.cacheline_size,
assoc = options.l3_assoc,
cpus = [n for n in
xrange(options.num_cpus)])
range(options.num_cpus)])
gpuCluster = None
if hasattr(options, 'bw_scalor') and options.bw_scalor > 0:

View File

@@ -29,19 +29,23 @@
# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
# POSSIBILITY OF SUCH DAMAGE.
import six
import math
import m5
from m5.objects import *
from m5.defines import buildEnv
from m5.util import addToPath
from Ruby import create_topology
from Ruby import send_evicts
from .Ruby import create_topology
from .Ruby import send_evicts
addToPath('../')
from topologies.Cluster import Cluster
from topologies.Crossbar import Crossbar
if six.PY3:
long = int
class CntrlBase:
_seqs = 0
@classmethod

View File

@@ -29,17 +29,21 @@
# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
# POSSIBILITY OF SUCH DAMAGE.
import six
import math
import m5
from m5.objects import *
from m5.defines import buildEnv
from m5.util import addToPath
from Ruby import send_evicts
from .Ruby import send_evicts
addToPath('../')
from topologies.Cluster import Cluster
if six.PY3:
long = int
class CntrlBase:
_seqs = 0
@classmethod

View File

@@ -29,7 +29,7 @@ import m5
from m5.objects import *
from m5.defines import buildEnv
from m5.util import addToPath
from Ruby import create_topology, create_directories
from .Ruby import create_topology, create_directories
#
# Declare caches used by the protocol

View File

@@ -31,8 +31,8 @@ import math
import m5
from m5.objects import *
from m5.defines import buildEnv
from Ruby import create_topology, create_directories
from Ruby import send_evicts
from .Ruby import create_topology, create_directories
from .Ruby import send_evicts
from common import FileSystemConfig
#
@@ -121,7 +121,7 @@ def create_system(options, full_system, system, dma_ports, bootmem,
clk_domain = system.cpu[i].clk_domain
# Ruby prefetcher
prefetcher = RubyPrefetcher.Prefetcher(
prefetcher = RubyPrefetcher(
num_streams=16,
unit_filter = 256,
nonunit_filter = 256,
@@ -294,10 +294,10 @@ def create_system(options, full_system, system, dma_ports, bootmem,
all_cntrls = all_cntrls + [io_controller]
# Register configuration with filesystem
else:
for i in xrange(options.num_clusters):
for j in xrange(num_cpus_per_cluster):
for i in range(options.num_clusters):
for j in range(num_cpus_per_cluster):
FileSystemConfig.register_cpu(physical_package_id = 0,
core_siblings = xrange(options.num_cpus),
core_siblings = range(options.num_cpus),
core_id = i*num_cpus_per_cluster+j,
thread_siblings = [])
@@ -329,7 +329,7 @@ def create_system(options, full_system, system, dma_ports, bootmem,
num_l2caches_per_cluster)+'B',
line_size = options.cacheline_size,
assoc = options.l2_assoc,
cpus = [n for n in xrange(i*num_cpus_per_cluster, \
cpus = [n for n in range(i*num_cpus_per_cluster, \
(i+1)*num_cpus_per_cluster)])
ruby_system.network.number_of_virtual_networks = 3

View File

@@ -29,8 +29,8 @@ import math
import m5
from m5.objects import *
from m5.defines import buildEnv
from Ruby import create_topology, create_directories
from Ruby import send_evicts
from .Ruby import create_topology, create_directories
from .Ruby import send_evicts
#
# Declare caches used by the protocol
@@ -78,7 +78,7 @@ def create_system(options, full_system, system, dma_ports, bootmem,
start_index_bit = block_size_bits,
is_icache = False)
prefetcher = RubyPrefetcher.Prefetcher()
prefetcher = RubyPrefetcher()
# the ruby random tester reuses num_cpus to specify the
# number of cpu ports connected to the tester object, which

View File

@@ -29,8 +29,8 @@ import math
import m5
from m5.objects import *
from m5.defines import buildEnv
from Ruby import create_topology, create_directories
from Ruby import send_evicts
from .Ruby import create_topology, create_directories
from .Ruby import send_evicts
#
# Declare caches used by the protocol
@@ -113,7 +113,7 @@ def create_system(options, full_system, system, dma_ports, bootmem,
l1_cntrl.responseToCache = MessageBuffer(ordered = True)
l1_cntrl.responseToCache.slave = ruby_system.network.master
phys_mem_size = sum(map(lambda r: r.size(), system.mem_ranges))
phys_mem_size = sum([r.size() for r in system.mem_ranges])
assert(phys_mem_size % options.num_dirs == 0)
mem_module_size = phys_mem_size / options.num_dirs

View File

@@ -34,8 +34,8 @@ import m5
from m5.objects import *
from m5.defines import buildEnv
from m5.util import addToPath
from Ruby import create_topology
from Ruby import send_evicts
from .Ruby import create_topology
from .Ruby import send_evicts
from common import FileSystemConfig
addToPath('../')
@@ -328,16 +328,16 @@ def create_system(options, full_system, system, dma_devices, bootmem,
# Register CPUs and caches for each CorePair and directory (SE mode only)
if not full_system:
for i in xrange((options.num_cpus + 1) // 2):
for i in range((options.num_cpus + 1) // 2):
FileSystemConfig.register_cpu(physical_package_id = 0,
core_siblings =
xrange(options.num_cpus),
range(options.num_cpus),
core_id = i*2,
thread_siblings = [])
FileSystemConfig.register_cpu(physical_package_id = 0,
core_siblings =
xrange(options.num_cpus),
range(options.num_cpus),
core_id = i*2+1,
thread_siblings = [])
@@ -376,7 +376,7 @@ def create_system(options, full_system, system, dma_devices, bootmem,
line_size = options.cacheline_size,
assoc = options.l3_assoc,
cpus = [n for n in
xrange(options.num_cpus)])
range(options.num_cpus)])
# Assuming no DMA devices
assert(len(dma_devices) == 0)

View File

@@ -41,8 +41,8 @@ import math
import m5
from m5.objects import *
from m5.defines import buildEnv
from Ruby import create_topology, create_directories
from Ruby import send_evicts
from .Ruby import create_topology, create_directories
from .Ruby import send_evicts
#
# Declare caches used by the protocol

View File

@@ -29,8 +29,8 @@ import math
import m5
from m5.objects import *
from m5.defines import buildEnv
from Ruby import create_topology, create_directories
from Ruby import send_evicts
from .Ruby import create_topology, create_directories
from .Ruby import send_evicts
#
# Declare caches used by the protocol

View File

@@ -29,8 +29,8 @@ import math
import m5
from m5.objects import *
from m5.defines import buildEnv
from Ruby import create_topology, create_directories
from Ruby import send_evicts
from .Ruby import create_topology, create_directories
from .Ruby import send_evicts
from common import FileSystemConfig
#
@@ -257,7 +257,7 @@ def create_system(options, full_system, system, dma_ports, bootmem,
all_cntrls = all_cntrls + [io_controller]
# Register configuration with filesystem
else:
for i in xrange(options.num_cpus):
for i in range(options.num_cpus):
FileSystemConfig.register_cpu(physical_package_id = 0,
core_siblings = [],
core_id = i,

View File

@@ -101,7 +101,7 @@ class MeshDirCorners_XY(SimpleTopology):
# NUMA Node for each quadrant
# With odd columns or rows, the nodes will be unequal
numa_nodes = [ [], [], [], []]
for i in xrange(num_routers):
for i in range(num_routers):
if i % num_columns < num_columns / 2 and \
i < num_routers / 2:
numa_nodes[0].append(i)

Some files were not shown because too many files have changed in this diff Show More