spec-surge-client.rcS (3032:dc687512802b) spec-surge-client.rcS (4388:0bb518a13d66)
1#!/bin/sh
2#
3# /etc/init.d/rcS
4#
5
6echo -n "mounting swap..."
7/sbin/swapon /dev/hdc
8echo "done."

--- 21 unchanged lines hidden (view full) ---

30echo "300000" > /proc/sys/net/core/netdev_max_backlog
31echo "131072" > /proc/sys/fs/file-max
32echo "done."
33
34echo "waiting for server..."
35netcat -c -l -p 8000
36
37echo -n "running surge client..."
1#!/bin/sh
2#
3# /etc/init.d/rcS
4#
5
6echo -n "mounting swap..."
7/sbin/swapon /dev/hdc
8echo "done."

--- 21 unchanged lines hidden (view full) ---

30echo "300000" > /proc/sys/net/core/netdev_max_backlog
31echo "131072" > /proc/sys/fs/file-max
32echo "done."
33
34echo "waiting for server..."
35netcat -c -l -p 8000
36
37echo -n "running surge client..."
38/bin/bash -c "cd /benchmarks/specsurge && ./spec-m5 1 20 1 192.168.0.1 5 40000 1000000000 1000"
38/bin/bash -c "cd /benchmarks/surge && ./spec-m5 1 20 1 192.168.0.1 5 40000 1000000000 1000"
39echo "done."
40
41echo -n "halting machine"
42m5 exit
43
44echo -n "starting bash shell..."
45/bin/bash
39echo "done."
40
41echo -n "halting machine"
42m5 exit
43
44echo -n "starting bash shell..."
45/bin/bash