Commit 4677f5b8 authored by Hejing's avatar Hejing
Browse files

multi-instance result and parser

parent a8a7ec8d
# Copyright 2021 Max Planck Institute for Software Systems, and
# National University of Singapore
#
# Permission is hereby granted, free of charge, to any person obtaining
# a copy of this software and associated documentation files (the
# "Software"), to deal in the Software without restriction, including
# without limitation the rights to use, copy, modify, merge, publish,
# distribute, sublicense, and/or sell copies of the Software, and to
# permit persons to whom the Software is furnished to do so, subject to
# the following conditions:
#
# The above copyright notice and this permission notice shall be
# included in all copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
# IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
# CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
# TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
# SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
import sys
import os
import pathlib
import shutil
import json
# How to use
# $ python3 modetcp.py paper_data/modetcp
#
num_runs = 4
outdir = sys.argv[1]
def parse_sim_time(path):
ret = {}
if not os.path.exists(path):
return ret
with open(path, 'r') as f:
data = json.load(f)
ret['simtime'] = (data['end_time'] - data['start_time'])/60
f.close()
return ret
total_time = 0
for n in range (1, num_runs+1):
path = '%s/p-gt-ib-sw-Host-1000m-1-%s.json' % (outdir, n)
data = parse_sim_time(path)
if 'simtime' in data:
t = data['simtime']
total_time += t
else:
t = ''
print(t)
avg = total_time/num_runs
print('avg: ' + str(avg))
{"exp_name": "gt-ib-sw-Host-1000m-1", "metadata": {}, "start_time": 1620314349.616944, "end_time": 1620324728.6440496, "sims": {"nic.server.0.": {"class": "I40eNIC", "cmd": ["/home/hejingli/simbricks/sims/nic//i40e_bm/i40e_bm", "/home/hejingli/simbricks/experiments/out/gt-ib-sw-Host-1000m-1/2/nic.pci.server.0.", "/home/hejingli/simbricks/experiments/out/gt-ib-sw-Host-1000m-1/2/nic.eth.server.0.", "/home/hejingli/simbricks/experiments/out/gt-ib-sw-Host-1000m-1/2/nic.shm.server.0.", "0", "0", "500", "500", "500"], "stdout": ["eth connection accepted", "eth intro sent", "pci connection accepted", "pci intro sent", "pci host info received", "eth net info received"], "stderr": ["69dfbb63fb4c", "sync_pci=1 sync_eth=1", "exit main_time: 13075123180489"]}, "nic.client.0.": {"class": "I40eNIC", "cmd": ["/home/hejingli/simbricks/sims/nic//i40e_bm/i40e_bm", "/home/hejingli/simbricks/experiments/out/gt-ib-sw-Host-1000m-1/2/nic.pci.client.0.", "/home/hejingli/simbricks/experiments/out/gt-ib-sw-Host-1000m-1/2/nic.eth.client.0.", "/home/hejingli/simbricks/experiments/out/gt-ib-sw-Host-1000m-1/2/nic.shm.client.0.", "0", "0", "500", "500", "500"], "stdout": ["eth connection accepted", "eth intro sent", "pci connection accepted", "pci intro sent", "pci host info received", "eth net info received"], "stderr": ["2c05f1cde67c", "sync_pci=1 sync_eth=1", "exit main_time: 13075122640489"]}, "net.": {"class": "SwitchNet", "cmd": ["/home/hejingli/simbricks/sims/net/switch/net_switch", "-m", "0", "-S", "500", "-E", "500", "-s", "/home/hejingli/simbricks/experiments/out/gt-ib-sw-Host-1000m-1/2/nic.eth.server.0.", "-s", "/home/hejingli/simbricks/experiments/out/gt-ib-sw-Host-1000m-1/2/nic.eth.client.0."], "stdout": ["start polling"], "stderr": []}, "host.server.0": {"class": "Gem5Host", "cmd": ["/home/hejingli/simbricks/sims/external/gem5/build/X86/gem5.fast", "--outdir=/home/hejingli/simbricks/experiments/out/gt-ib-sw-Host-1000m-1/2/gem5-out.server.0", "/home/hejingli/simbricks/sims/external/gem5/configs/simbricks/simbricks.py", "--caches", "--l2cache", "--l3cache", "--l1d_size=32kB", "--l1i_size=32kB", "--l2_size=2MB", "--l3_size=32MB", "--l1d_assoc=8", "--l1i_assoc=8", "--l2_assoc=4", "--l3_assoc=16", "--cacheline_size=64", "--cpu-clock=3GHz", "--sys-clock=1GHz", "--checkpoint-dir=/home/hejingli/simbricks/experiments/out/gt-ib-sw-Host-1000m-1/0/gem5-cp.server.0", "--kernel=/home/hejingli/simbricks/images/vmlinux", "--disk-image=/home/hejingli/simbricks/images/output-base/base.raw", "--disk-image=/home/hejingli/simbricks/experiments/out/gt-ib-sw-Host-1000m-1/2/cfg.server.0.tar", "--cpu-type=TimingSimpleCPU", "--mem-size=8192MB", "--num-cpus=1", "--ddio-enabled", "--ddio-way-part=8", "--mem-type=DDR4_2400_16x4", "-r", "0", "--simbricks-pci=/home/hejingli/simbricks/experiments/out/gt-ib-sw-Host-1000m-1/2/nic.pci.server.0.", "--simbricks-shm=/home/hejingli/simbricks/experiments/out/gt-ib-sw-Host-1000m-1/2/nic.shm.server.0.", "--simbricks-sync", "--simbricks-sync_mode=0", "--simbricks-pci-lat=500", "--simbricks-sync-int=500", "--simbricks-type=i40e"], "stdout": ["gem5 Simulator System. http://gem5.org", "gem5 is copyrighted software; use the --copyright option for details.", "", "gem5 version 20.0.0.1", "gem5 compiled May 6 2021 12:36:01", "gem5 started May 6 2021 17:19:10", "gem5 executing on swsnetlab05, pid 67166", "command line: /home/hejingli/simbricks/sims/external/gem5/build/X86/gem5.fast --outdir=/home/hejingli/simbricks/experiments/out/gt-ib-sw-Host-1000m-1/2/gem5-out.server.0 /home/hejingli/simbricks/sims/external/gem5/configs/simbricks/simbricks.py --caches --l2cache --l3cache --l1d_size=32kB --l1i_size=32kB --l2_size=2MB --l3_size=32MB --l1d_assoc=8 --l1i_assoc=8 --l2_assoc=4 --l3_assoc=16 --cacheline_size=64 --cpu-clock=3GHz --sys-clock=1GHz --checkpoint-dir=/home/hejingli/simbricks/experiments/out/gt-ib-sw-Host-1000m-1/0/gem5-cp.server.0 --kernel=/home/hejingli/simbricks/images/vmlinux --disk-image=/home/hejingli/simbricks/images/output-base/base.raw --disk-image=/home/hejingli/simbricks/experiments/out/gt-ib-sw-Host-1000m-1/2/cfg.server.0.tar --cpu-type=TimingSimpleCPU --mem-size=8192MB --num-cpus=1 --ddio-enabled --ddio-way-part=8 --mem-type=DDR4_2400_16x4 -r 0 --simbricks-pci=/home/hejingli/simbricks/experiments/out/gt-ib-sw-Host-1000m-1/2/nic.pci.server.0. --simbricks-shm=/home/hejingli/simbricks/experiments/out/gt-ib-sw-Host-1000m-1/2/nic.shm.server.0. --simbricks-sync --simbricks-sync_mode=0 --simbricks-pci-lat=500 --simbricks-sync-int=500 --simbricks-type=i40e", "", "CEHCKPOINT RESTORE THINGIE", "Global frequency set at 1000000000000 ticks per second", "Switch at curTick count:10000", "Switched CPUS @ tick 1247911676506", "switching cpus", "**** REAL SIMULATION ****", "+ modprobe i40e\r", "[ 0.757932] i40e: Intel(R) Ethernet Connection XL710 Network Driver - version 2.8.20-k\r", "[ 0.757932] i40e: Copyright (c) 2013 - 2019 Intel Corporation.\r", "[ 0.757932] i40e 0000:00:02.0: enabling device (0000 -> 0002)\r", "[ 0.757932] i40e 0000:00:02.0: PCI->APIC IRQ transform: INT A -> IRQ 17\r", "[ 0.767930] i40e 0000:00:02.0: fw 0.0.00000 api 1.10 nvm 0.0.0 [8086:1572] [0000:0000]\r", "[ 0.768930] i40e 0000:00:02.0: The driver for the device detected a newer version of the NVM image v1.10 than expected v1.9. Please install the most recent version of the network driver.\r", "[ 0.889911] i40e 0000:00:02.0: This device is a pre-production adapter/LOM. Please be aware there may be issues with your hardware. If you are experiencing problems please contact your Intel or hardware representative who provided you with this hardware.\r", "[ 0.891911] i40e 0000:00:02.0: Stopping firmware LLDP agent.\r", "[ 0.891911] i40e 0000:00:02.0: MAC address: 4c:fb:63:bb:df:69\r", "[ 0.891911] i40e 0000:00:02.0: FW LLDP is enabled\r", "[ 0.896910] i40e 0000:00:02.0 eth0: NIC Link is Up, 40 Gbps Full Duplex, Flow Control: None\r", "[ 0.975898] i40e 0000:00:02.0: PCI-Express: Speed UnknownGT/s Width xUnknown\r", "[ 0.975898] i40e 0000:00:02.0: PCI-Express bandwidth available for this device may be insufficient for optimal performance.\r", "[ 0.975898] i40e 0000:00:02.0: Please move the device to a different PCI-e link with more lanes and/or higher transfer rate.\r", "[ 0.976898] i40e 0000:00:02.0: Features: PF-id[0] VSIs: 384 QP: 1 RSS VxLAN Geneve PTP VEPA\r", "+ ip link set dev eth0 up\r", "[ 0.991896] i40e 0000:00:02.0: Error OK adding RX filters on PF, promiscuous mode forced on\r", "+ ip addr add 10.0.0.1/24 dev eth0\r", "+ iperf -s -u\r", "------------------------------------------------------------\r", "Server listening on UDP port 5001\r", "Receiving 1470 byte datagrams\r", "UDP buffer size: 208 KByte (default)\r", "------------------------------------------------------------\r", "[ 4] local 10.0.0.1 port 5001 connected with 10.0.0.2 port 56184\r", "[ 2.138722] random: crng init done\r", "[ ID] Interval Transfer Bandwidth Jitter Lost/Total Datagrams\r", "[ 4] 0.0-10.0 sec 1.16 GBytes 1000 Mbits/sec 0.059 ms 238/850301 (0.028%)\r"], "stderr": ["warn: CheckedInt already exists in allParams. This may be caused by the Python 2.7 compatibility layer.", "warn: Enum already exists in allParams. This may be caused by the Python 2.7 compatibility layer.", "warn: ScopedEnum already exists in allParams. This may be caused by the Python 2.7 compatibility layer.", "warn: Physical memory size specified is 8192MB which is greater than 3GB. Twice the number of memory controllers would be created.", "warn: No dot file generated. Please install pydot to generate the dot file and pdf.", "warn: DRAM device capacity (32768 Mbytes) does not match the address range assigned (4096 Mbytes)", "warn: DRAM device capacity (32768 Mbytes) does not match the address range assigned (8192 Mbytes)", "info: kernel located at: /home/hejingli/simbricks/images/vmlinux", "system.pc.com_1.device: Listening for connections on port 3457", "warn: pollInterval=100000000 pciAsync=500000", "0: system.remote_gdb: listening for remote gdb on port 7001", "warn: Reading current count from inactive timer.", "warn: TimingPioPort::getAddrRanges()", "warn: TimingPioPort::getAddrRanges()", "info: Entering event queue @ 1247911666506. Starting simulation...", "info: Entering event queue @ 1247911676506. Starting simulation...", "warn: PowerState: Already in the requested power state, request ignored", "info: Entering event queue @ 1247911676829. Starting simulation...", "warn: instruction 'fwait' unimplemented", "warn: instruction 'verw_Mw_or_Rv' unimplemented", "warn: Don't know what interrupt to clear for console.", "warn: Tried to clear PCI interrupt 14", "warn: MOVNTDQ: Ignoring non-temporal hint, modeling as cacheable!"]}, "host.client.0": {"class": "Gem5Host", "cmd": ["/home/hejingli/simbricks/sims/external/gem5/build/X86/gem5.fast", "--outdir=/home/hejingli/simbricks/experiments/out/gt-ib-sw-Host-1000m-1/2/gem5-out.client.0", "/home/hejingli/simbricks/sims/external/gem5/configs/simbricks/simbricks.py", "--caches", "--l2cache", "--l3cache", "--l1d_size=32kB", "--l1i_size=32kB", "--l2_size=2MB", "--l3_size=32MB", "--l1d_assoc=8", "--l1i_assoc=8", "--l2_assoc=4", "--l3_assoc=16", "--cacheline_size=64", "--cpu-clock=3GHz", "--sys-clock=1GHz", "--checkpoint-dir=/home/hejingli/simbricks/experiments/out/gt-ib-sw-Host-1000m-1/0/gem5-cp.client.0", "--kernel=/home/hejingli/simbricks/images/vmlinux", "--disk-image=/home/hejingli/simbricks/images/output-base/base.raw", "--disk-image=/home/hejingli/simbricks/experiments/out/gt-ib-sw-Host-1000m-1/2/cfg.client.0.tar", "--cpu-type=TimingSimpleCPU", "--mem-size=8192MB", "--num-cpus=1", "--ddio-enabled", "--ddio-way-part=8", "--mem-type=DDR4_2400_16x4", "-r", "0", "--simbricks-pci=/home/hejingli/simbricks/experiments/out/gt-ib-sw-Host-1000m-1/2/nic.pci.client.0.", "--simbricks-shm=/home/hejingli/simbricks/experiments/out/gt-ib-sw-Host-1000m-1/2/nic.shm.client.0.", "--simbricks-sync", "--simbricks-sync_mode=0", "--simbricks-pci-lat=500", "--simbricks-sync-int=500", "--simbricks-type=i40e"], "stdout": ["gem5 Simulator System. http://gem5.org", "gem5 is copyrighted software; use the --copyright option for details.", "", "gem5 version 20.0.0.1", "gem5 compiled May 6 2021 12:36:01", "gem5 started May 6 2021 17:19:10", "gem5 executing on swsnetlab05, pid 67170", "command line: /home/hejingli/simbricks/sims/external/gem5/build/X86/gem5.fast --outdir=/home/hejingli/simbricks/experiments/out/gt-ib-sw-Host-1000m-1/2/gem5-out.client.0 /home/hejingli/simbricks/sims/external/gem5/configs/simbricks/simbricks.py --caches --l2cache --l3cache --l1d_size=32kB --l1i_size=32kB --l2_size=2MB --l3_size=32MB --l1d_assoc=8 --l1i_assoc=8 --l2_assoc=4 --l3_assoc=16 --cacheline_size=64 --cpu-clock=3GHz --sys-clock=1GHz --checkpoint-dir=/home/hejingli/simbricks/experiments/out/gt-ib-sw-Host-1000m-1/0/gem5-cp.client.0 --kernel=/home/hejingli/simbricks/images/vmlinux --disk-image=/home/hejingli/simbricks/images/output-base/base.raw --disk-image=/home/hejingli/simbricks/experiments/out/gt-ib-sw-Host-1000m-1/2/cfg.client.0.tar --cpu-type=TimingSimpleCPU --mem-size=8192MB --num-cpus=1 --ddio-enabled --ddio-way-part=8 --mem-type=DDR4_2400_16x4 -r 0 --simbricks-pci=/home/hejingli/simbricks/experiments/out/gt-ib-sw-Host-1000m-1/2/nic.pci.client.0. --simbricks-shm=/home/hejingli/simbricks/experiments/out/gt-ib-sw-Host-1000m-1/2/nic.shm.client.0. --simbricks-sync --simbricks-sync_mode=0 --simbricks-pci-lat=500 --simbricks-sync-int=500 --simbricks-type=i40e", "", "CEHCKPOINT RESTORE THINGIE", "Global frequency set at 1000000000000 ticks per second", "Switch at curTick count:10000", "Switched CPUS @ tick 1258459854769", "switching cpus", "**** REAL SIMULATION ****", "+ modprobe i40e\r", "[ 0.770931] i40e: Intel(R) Ethernet Connection XL710 Network Driver - version 2.8.20-k\r", "[ 0.771930] i40e: Copyright (c) 2013 - 2019 Intel Corporation.\r", "[ 0.771930] i40e 0000:00:02.0: enabling device (0000 -> 0002)\r", "[ 0.771930] i40e 0000:00:02.0: PCI->APIC IRQ transform: INT A -> IRQ 17\r", "[ 0.782929] i40e 0000:00:02.0: fw 0.0.00000 api 1.10 nvm 0.0.0 [8086:1572] [0000:0000]\r", "[ 0.782929] i40e 0000:00:02.0: The driver for the device detected a newer version of the NVM image v1.10 than expected v1.9. Please install the most recent version of the network driver.\r", "[ 0.903910] i40e 0000:00:02.0: This device is a pre-production adapter/LOM. Please be aware there may be issues with your hardware. If you are experiencing problems please contact your Intel or hardware representative who provided you with this hardware.\r", "[ 0.905910] i40e 0000:00:02.0: Stopping firmware LLDP agent.\r", "[ 0.905910] i40e 0000:00:02.0: MAC address: 7c:e6:cd:f1:05:2c\r", "[ 0.906910] i40e 0000:00:02.0: FW LLDP is enabled\r", "[ 0.911909] i40e 0000:00:02.0 eth0: NIC Link is Up, 40 Gbps Full Duplex, Flow Control: None\r", "[ 0.991897] i40e 0000:00:02.0: PCI-Express: Speed UnknownGT/s Width xUnknown\r", "[ 0.991897] i40e 0000:00:02.0: PCI-Express bandwidth available for this device may be insufficient for optimal performance.\r", "[ 0.991897] i40e 0000:00:02.0: Please move the device to a different PCI-e link with more lanes and/or higher transfer rate.\r", "[ 0.992897] i40e 0000:00:02.0: Features: PF-id[0] VSIs: 384 QP: 1 RSS VxLAN Geneve PTP VEPA\r", "+ ip link set dev eth0 up\r", "[ 1.007895] i40e 0000:00:02.0: Error OK adding RX filters on PF, promiscuous mode forced on\r", "+ ip addr add 10.0.0.2/24 dev eth0\r", "+ sleep 1\r", "+ iperf -c 10.0.0.1 -i 1 -u -b 1000m\r", "------------------------------------------------------------\r", "Client connecting to 10.0.0.1, UDP port 5001\r", "Sending 1470 byte datagrams, IPG target: 11.76 us (kalman adjust)\r", "UDP buffer size: 208 KByte (default)\r", "------------------------------------------------------------\r", "[ 4] local 10.0.0.2 port 56184 connected with 10.0.0.1 port 5001\r", "[ 2.140722] random: crng init done\r", "[ ID] Interval Transfer Bandwidth\r", "[ 4] 0.0- 1.0 sec 119 MBytes 1000 Mbits/sec\r", "[ 4] 1.0- 2.0 sec 119 MBytes 1000 Mbits/sec\r", "[ 4] 2.0- 3.0 sec 119 MBytes 1000 Mbits/sec\r", "[ 4] 3.0- 4.0 sec 119 MBytes 1000 Mbits/sec\r", "[ 4] 4.0- 5.0 sec 119 MBytes 1000 Mbits/sec\r", "[ 4] 5.0- 6.0 sec 119 MBytes 1000 Mbits/sec\r", "[ 4] 6.0- 7.0 sec 119 MBytes 1.00 Gbits/sec\r", "[ 4] 7.0- 8.0 sec 119 MBytes 1000 Mbits/sec\r", "[ 4] 8.0- 9.0 sec 119 MBytes 1000 Mbits/sec\r", "[ 4] 9.0-10.0 sec 119 MBytes 1000 Mbits/sec\r", "[ 4] 0.0-10.0 sec 1.16 GBytes 1000 Mbits/sec\r", "[ 4] Sent 850301 datagrams\r", "[ 4] Server Report:\r", "[ 4] 0.0-10.0 sec 1.16 GBytes 1000 Mbits/sec 0.000 ms 238/850301 (0%)\r", "+ sleep 0.5\r", "+ m5 exit\r", "Exiting @ tick 13075122538251 because m5_exit instruction encountered"], "stderr": ["warn: CheckedInt already exists in allParams. This may be caused by the Python 2.7 compatibility layer.", "warn: Enum already exists in allParams. This may be caused by the Python 2.7 compatibility layer.", "warn: ScopedEnum already exists in allParams. This may be caused by the Python 2.7 compatibility layer.", "warn: Physical memory size specified is 8192MB which is greater than 3GB. Twice the number of memory controllers would be created.", "warn: No dot file generated. Please install pydot to generate the dot file and pdf.", "warn: DRAM device capacity (32768 Mbytes) does not match the address range assigned (4096 Mbytes)", "warn: DRAM device capacity (32768 Mbytes) does not match the address range assigned (8192 Mbytes)", "info: kernel located at: /home/hejingli/simbricks/images/vmlinux", "system.pc.com_1.device: Listening for connections on port 3463", "warn: pollInterval=100000000 pciAsync=500000", "0: system.remote_gdb: listening for remote gdb on port 7006", "warn: Reading current count from inactive timer.", "warn: TimingPioPort::getAddrRanges()", "warn: TimingPioPort::getAddrRanges()", "info: Entering event queue @ 1258459844769. Starting simulation...", "info: Entering event queue @ 1258459854769. Starting simulation...", "warn: PowerState: Already in the requested power state, request ignored", "info: Entering event queue @ 1258459855092. Starting simulation...", "warn: instruction 'fwait' unimplemented", "warn: instruction 'verw_Mw_or_Rv' unimplemented", "warn: Don't know what interrupt to clear for console.", "warn: Tried to clear PCI interrupt 14", "warn: MOVNTDQ: Ignoring non-temporal hint, modeling as cacheable!"]}}, "success": true}
\ No newline at end of file
{"exp_name": "gt-ib-sw-Host-1000m-1", "metadata": {}, "start_time": 1620314349.6100562, "end_time": 1620324170.9869623, "sims": {"nic.server.0.": {"class": "I40eNIC", "cmd": ["/home/hejingli/simbricks/sims/nic//i40e_bm/i40e_bm", "/home/hejingli/simbricks/experiments/out/gt-ib-sw-Host-1000m-1/3/nic.pci.server.0.", "/home/hejingli/simbricks/experiments/out/gt-ib-sw-Host-1000m-1/3/nic.eth.server.0.", "/home/hejingli/simbricks/experiments/out/gt-ib-sw-Host-1000m-1/3/nic.shm.server.0.", "0", "0", "500", "500", "500"], "stdout": ["eth connection accepted", "eth intro sent", "pci connection accepted", "pci intro sent", "pci host info received", "eth net info received"], "stderr": ["74eac46792c", "sync_pci=1 sync_eth=1", "exit main_time: 13075128180489"]}, "nic.client.0.": {"class": "I40eNIC", "cmd": ["/home/hejingli/simbricks/sims/nic//i40e_bm/i40e_bm", "/home/hejingli/simbricks/experiments/out/gt-ib-sw-Host-1000m-1/3/nic.pci.client.0.", "/home/hejingli/simbricks/experiments/out/gt-ib-sw-Host-1000m-1/3/nic.eth.client.0.", "/home/hejingli/simbricks/experiments/out/gt-ib-sw-Host-1000m-1/3/nic.shm.client.0.", "0", "0", "500", "500", "500"], "stdout": ["eth connection accepted", "eth intro sent", "pci connection accepted", "pci intro sent", "pci host info received", "eth net info received"], "stderr": ["384323bf0aec", "sync_pci=1 sync_eth=1", "exit main_time: 13075127640489"]}, "net.": {"class": "SwitchNet", "cmd": ["/home/hejingli/simbricks/sims/net/switch/net_switch", "-m", "0", "-S", "500", "-E", "500", "-s", "/home/hejingli/simbricks/experiments/out/gt-ib-sw-Host-1000m-1/3/nic.eth.server.0.", "-s", "/home/hejingli/simbricks/experiments/out/gt-ib-sw-Host-1000m-1/3/nic.eth.client.0."], "stdout": ["start polling"], "stderr": []}, "host.server.0": {"class": "Gem5Host", "cmd": ["/home/hejingli/simbricks/sims/external/gem5/build/X86/gem5.fast", "--outdir=/home/hejingli/simbricks/experiments/out/gt-ib-sw-Host-1000m-1/3/gem5-out.server.0", "/home/hejingli/simbricks/sims/external/gem5/configs/simbricks/simbricks.py", "--caches", "--l2cache", "--l3cache", "--l1d_size=32kB", "--l1i_size=32kB", "--l2_size=2MB", "--l3_size=32MB", "--l1d_assoc=8", "--l1i_assoc=8", "--l2_assoc=4", "--l3_assoc=16", "--cacheline_size=64", "--cpu-clock=3GHz", "--sys-clock=1GHz", "--checkpoint-dir=/home/hejingli/simbricks/experiments/out/gt-ib-sw-Host-1000m-1/0/gem5-cp.server.0", "--kernel=/home/hejingli/simbricks/images/vmlinux", "--disk-image=/home/hejingli/simbricks/images/output-base/base.raw", "--disk-image=/home/hejingli/simbricks/experiments/out/gt-ib-sw-Host-1000m-1/3/cfg.server.0.tar", "--cpu-type=TimingSimpleCPU", "--mem-size=8192MB", "--num-cpus=1", "--ddio-enabled", "--ddio-way-part=8", "--mem-type=DDR4_2400_16x4", "-r", "0", "--simbricks-pci=/home/hejingli/simbricks/experiments/out/gt-ib-sw-Host-1000m-1/3/nic.pci.server.0.", "--simbricks-shm=/home/hejingli/simbricks/experiments/out/gt-ib-sw-Host-1000m-1/3/nic.shm.server.0.", "--simbricks-sync", "--simbricks-sync_mode=0", "--simbricks-pci-lat=500", "--simbricks-sync-int=500", "--simbricks-type=i40e"], "stdout": ["gem5 Simulator System. http://gem5.org", "gem5 is copyrighted software; use the --copyright option for details.", "", "gem5 version 20.0.0.1", "gem5 compiled May 6 2021 12:36:01", "gem5 started May 6 2021 17:19:10", "gem5 executing on swsnetlab05, pid 67163", "command line: /home/hejingli/simbricks/sims/external/gem5/build/X86/gem5.fast --outdir=/home/hejingli/simbricks/experiments/out/gt-ib-sw-Host-1000m-1/3/gem5-out.server.0 /home/hejingli/simbricks/sims/external/gem5/configs/simbricks/simbricks.py --caches --l2cache --l3cache --l1d_size=32kB --l1i_size=32kB --l2_size=2MB --l3_size=32MB --l1d_assoc=8 --l1i_assoc=8 --l2_assoc=4 --l3_assoc=16 --cacheline_size=64 --cpu-clock=3GHz --sys-clock=1GHz --checkpoint-dir=/home/hejingli/simbricks/experiments/out/gt-ib-sw-Host-1000m-1/0/gem5-cp.server.0 --kernel=/home/hejingli/simbricks/images/vmlinux --disk-image=/home/hejingli/simbricks/images/output-base/base.raw --disk-image=/home/hejingli/simbricks/experiments/out/gt-ib-sw-Host-1000m-1/3/cfg.server.0.tar --cpu-type=TimingSimpleCPU --mem-size=8192MB --num-cpus=1 --ddio-enabled --ddio-way-part=8 --mem-type=DDR4_2400_16x4 -r 0 --simbricks-pci=/home/hejingli/simbricks/experiments/out/gt-ib-sw-Host-1000m-1/3/nic.pci.server.0. --simbricks-shm=/home/hejingli/simbricks/experiments/out/gt-ib-sw-Host-1000m-1/3/nic.shm.server.0. --simbricks-sync --simbricks-sync_mode=0 --simbricks-pci-lat=500 --simbricks-sync-int=500 --simbricks-type=i40e", "", "CEHCKPOINT RESTORE THINGIE", "Global frequency set at 1000000000000 ticks per second", "Switch at curTick count:10000", "Switched CPUS @ tick 1247911676506", "switching cpus", "**** REAL SIMULATION ****", "+ modprobe i40e\r", "[ 0.757932] i40e: Intel(R) Ethernet Connection XL710 Network Driver - version 2.8.20-k\r", "[ 0.757932] i40e: Copyright (c) 2013 - 2019 Intel Corporation.\r", "[ 0.757932] i40e 0000:00:02.0: enabling device (0000 -> 0002)\r", "[ 0.757932] i40e 0000:00:02.0: PCI->APIC IRQ transform: INT A -> IRQ 17\r", "[ 0.767930] i40e 0000:00:02.0: fw 0.0.00000 api 1.10 nvm 0.0.0 [8086:1572] [0000:0000]\r", "[ 0.768930] i40e 0000:00:02.0: The driver for the device detected a newer version of the NVM image v1.10 than expected v1.9. Please install the most recent version of the network driver.\r", "[ 0.889911] i40e 0000:00:02.0: This device is a pre-production adapter/LOM. Please be aware there may be issues with your hardware. If you are experiencing problems please contact your Intel or hardware representative who provided you with this hardware.\r", "[ 0.891911] i40e 0000:00:02.0: Stopping firmware LLDP agent.\r", "[ 0.891911] i40e 0000:00:02.0: MAC address: 2c:79:46:ac:4e:07\r", "[ 0.891911] i40e 0000:00:02.0: FW LLDP is enabled\r", "[ 0.896910] i40e 0000:00:02.0 eth0: NIC Link is Up, 40 Gbps Full Duplex, Flow Control: None\r", "[ 0.975898] i40e 0000:00:02.0: PCI-Express: Speed UnknownGT/s Width xUnknown\r", "[ 0.975898] i40e 0000:00:02.0: PCI-Express bandwidth available for this device may be insufficient for optimal performance.\r", "[ 0.975898] i40e 0000:00:02.0: Please move the device to a different PCI-e link with more lanes and/or higher transfer rate.\r", "[ 0.976898] i40e 0000:00:02.0: Features: PF-id[0] VSIs: 384 QP: 1 RSS VxLAN Geneve PTP VEPA\r", "+ ip link set dev eth0 up\r", "[ 0.991896] i40e 0000:00:02.0: Error OK adding RX filters on PF, promiscuous mode forced on\r", "+ ip addr add 10.0.0.1/24 dev eth0\r", "+ iperf -s -u\r", "------------------------------------------------------------\r", "Server listening on UDP port 5001\r", "Receiving 1470 byte datagrams\r", "UDP buffer size: 208 KByte (default)\r", "------------------------------------------------------------\r", "[ 4] local 10.0.0.1 port 5001 connected with 10.0.0.2 port 56184\r", "[ 2.138722] random: crng init done\r", "[ ID] Interval Transfer Bandwidth Jitter Lost/Total Datagrams\r", "[ 4] 0.0-10.0 sec 1.16 GBytes 1000 Mbits/sec 0.059 ms 238/850301 (0.028%)\r"], "stderr": ["warn: CheckedInt already exists in allParams. This may be caused by the Python 2.7 compatibility layer.", "warn: Enum already exists in allParams. This may be caused by the Python 2.7 compatibility layer.", "warn: ScopedEnum already exists in allParams. This may be caused by the Python 2.7 compatibility layer.", "warn: Physical memory size specified is 8192MB which is greater than 3GB. Twice the number of memory controllers would be created.", "warn: No dot file generated. Please install pydot to generate the dot file and pdf.", "warn: DRAM device capacity (32768 Mbytes) does not match the address range assigned (4096 Mbytes)", "warn: DRAM device capacity (32768 Mbytes) does not match the address range assigned (8192 Mbytes)", "info: kernel located at: /home/hejingli/simbricks/images/vmlinux", "system.pc.com_1.device: Listening for connections on port 3458", "warn: pollInterval=100000000 pciAsync=500000", "0: system.remote_gdb: listening for remote gdb on port 7002", "warn: Reading current count from inactive timer.", "warn: TimingPioPort::getAddrRanges()", "warn: TimingPioPort::getAddrRanges()", "info: Entering event queue @ 1247911666506. Starting simulation...", "info: Entering event queue @ 1247911676506. Starting simulation...", "warn: PowerState: Already in the requested power state, request ignored", "info: Entering event queue @ 1247911676829. Starting simulation...", "warn: instruction 'fwait' unimplemented", "warn: instruction 'verw_Mw_or_Rv' unimplemented", "warn: Don't know what interrupt to clear for console.", "warn: Tried to clear PCI interrupt 14", "warn: MOVNTDQ: Ignoring non-temporal hint, modeling as cacheable!"]}, "host.client.0": {"class": "Gem5Host", "cmd": ["/home/hejingli/simbricks/sims/external/gem5/build/X86/gem5.fast", "--outdir=/home/hejingli/simbricks/experiments/out/gt-ib-sw-Host-1000m-1/3/gem5-out.client.0", "/home/hejingli/simbricks/sims/external/gem5/configs/simbricks/simbricks.py", "--caches", "--l2cache", "--l3cache", "--l1d_size=32kB", "--l1i_size=32kB", "--l2_size=2MB", "--l3_size=32MB", "--l1d_assoc=8", "--l1i_assoc=8", "--l2_assoc=4", "--l3_assoc=16", "--cacheline_size=64", "--cpu-clock=3GHz", "--sys-clock=1GHz", "--checkpoint-dir=/home/hejingli/simbricks/experiments/out/gt-ib-sw-Host-1000m-1/0/gem5-cp.client.0", "--kernel=/home/hejingli/simbricks/images/vmlinux", "--disk-image=/home/hejingli/simbricks/images/output-base/base.raw", "--disk-image=/home/hejingli/simbricks/experiments/out/gt-ib-sw-Host-1000m-1/3/cfg.client.0.tar", "--cpu-type=TimingSimpleCPU", "--mem-size=8192MB", "--num-cpus=1", "--ddio-enabled", "--ddio-way-part=8", "--mem-type=DDR4_2400_16x4", "-r", "0", "--simbricks-pci=/home/hejingli/simbricks/experiments/out/gt-ib-sw-Host-1000m-1/3/nic.pci.client.0.", "--simbricks-shm=/home/hejingli/simbricks/experiments/out/gt-ib-sw-Host-1000m-1/3/nic.shm.client.0.", "--simbricks-sync", "--simbricks-sync_mode=0", "--simbricks-pci-lat=500", "--simbricks-sync-int=500", "--simbricks-type=i40e"], "stdout": ["gem5 Simulator System. http://gem5.org", "gem5 is copyrighted software; use the --copyright option for details.", "", "gem5 version 20.0.0.1", "gem5 compiled May 6 2021 12:36:01", "gem5 started May 6 2021 17:19:10", "gem5 executing on swsnetlab05, pid 67167", "command line: /home/hejingli/simbricks/sims/external/gem5/build/X86/gem5.fast --outdir=/home/hejingli/simbricks/experiments/out/gt-ib-sw-Host-1000m-1/3/gem5-out.client.0 /home/hejingli/simbricks/sims/external/gem5/configs/simbricks/simbricks.py --caches --l2cache --l3cache --l1d_size=32kB --l1i_size=32kB --l2_size=2MB --l3_size=32MB --l1d_assoc=8 --l1i_assoc=8 --l2_assoc=4 --l3_assoc=16 --cacheline_size=64 --cpu-clock=3GHz --sys-clock=1GHz --checkpoint-dir=/home/hejingli/simbricks/experiments/out/gt-ib-sw-Host-1000m-1/0/gem5-cp.client.0 --kernel=/home/hejingli/simbricks/images/vmlinux --disk-image=/home/hejingli/simbricks/images/output-base/base.raw --disk-image=/home/hejingli/simbricks/experiments/out/gt-ib-sw-Host-1000m-1/3/cfg.client.0.tar --cpu-type=TimingSimpleCPU --mem-size=8192MB --num-cpus=1 --ddio-enabled --ddio-way-part=8 --mem-type=DDR4_2400_16x4 -r 0 --simbricks-pci=/home/hejingli/simbricks/experiments/out/gt-ib-sw-Host-1000m-1/3/nic.pci.client.0. --simbricks-shm=/home/hejingli/simbricks/experiments/out/gt-ib-sw-Host-1000m-1/3/nic.shm.client.0. --simbricks-sync --simbricks-sync_mode=0 --simbricks-pci-lat=500 --simbricks-sync-int=500 --simbricks-type=i40e", "", "CEHCKPOINT RESTORE THINGIE", "Global frequency set at 1000000000000 ticks per second", "Switch at curTick count:10000", "Switched CPUS @ tick 1258459854769", "switching cpus", "**** REAL SIMULATION ****", "+ modprobe i40e\r", "[ 0.770931] i40e: Intel(R) Ethernet Connection XL710 Network Driver - version 2.8.20-k\r", "[ 0.771930] i40e: Copyright (c) 2013 - 2019 Intel Corporation.\r", "[ 0.771930] i40e 0000:00:02.0: enabling device (0000 -> 0002)\r", "[ 0.771930] i40e 0000:00:02.0: PCI->APIC IRQ transform: INT A -> IRQ 17\r", "[ 0.782929] i40e 0000:00:02.0: fw 0.0.00000 api 1.10 nvm 0.0.0 [8086:1572] [0000:0000]\r", "[ 0.782929] i40e 0000:00:02.0: The driver for the device detected a newer version of the NVM image v1.10 than expected v1.9. Please install the most recent version of the network driver.\r", "[ 0.903910] i40e 0000:00:02.0: This device is a pre-production adapter/LOM. Please be aware there may be issues with your hardware. If you are experiencing problems please contact your Intel or hardware representative who provided you with this hardware.\r", "[ 0.905910] i40e 0000:00:02.0: Stopping firmware LLDP agent.\r", "[ 0.905910] i40e 0000:00:02.0: MAC address: ec:0a:bf:23:43:38\r", "[ 0.906910] i40e 0000:00:02.0: FW LLDP is enabled\r", "[ 0.911909] i40e 0000:00:02.0 eth0: NIC Link is Up, 40 Gbps Full Duplex, Flow Control: None\r", "[ 0.991897] i40e 0000:00:02.0: PCI-Express: Speed UnknownGT/s Width xUnknown\r", "[ 0.991897] i40e 0000:00:02.0: PCI-Express bandwidth available for this device may be insufficient for optimal performance.\r", "[ 0.991897] i40e 0000:00:02.0: Please move the device to a different PCI-e link with more lanes and/or higher transfer rate.\r", "[ 0.992897] i40e 0000:00:02.0: Features: PF-id[0] VSIs: 384 QP: 1 RSS VxLAN Geneve PTP VEPA\r", "+ ip link set dev eth0 up\r", "[ 1.007895] i40e 0000:00:02.0: Error OK adding RX filters on PF, promiscuous mode forced on\r", "+ ip addr add 10.0.0.2/24 dev eth0\r", "+ sleep 1\r", "+ iperf -c 10.0.0.1 -i 1 -u -b 1000m\r", "------------------------------------------------------------\r", "Client connecting to 10.0.0.1, UDP port 5001\r", "Sending 1470 byte datagrams, IPG target: 11.76 us (kalman adjust)\r", "UDP buffer size: 208 KByte (default)\r", "------------------------------------------------------------\r", "[ 4] local 10.0.0.2 port 56184 connected with 10.0.0.1 port 5001\r", "[ 2.140722] random: crng init done\r", "[ ID] Interval Transfer Bandwidth\r", "[ 4] 0.0- 1.0 sec 119 MBytes 1000 Mbits/sec\r", "[ 4] 1.0- 2.0 sec 119 MBytes 1000 Mbits/sec\r", "[ 4] 2.0- 3.0 sec 119 MBytes 1000 Mbits/sec\r", "[ 4] 3.0- 4.0 sec 119 MBytes 1000 Mbits/sec\r", "[ 4] 4.0- 5.0 sec 119 MBytes 1000 Mbits/sec\r", "[ 4] 5.0- 6.0 sec 119 MBytes 1000 Mbits/sec\r", "[ 4] 6.0- 7.0 sec 119 MBytes 1.00 Gbits/sec\r", "[ 4] 7.0- 8.0 sec 119 MBytes 1000 Mbits/sec\r", "[ 4] 8.0- 9.0 sec 119 MBytes 1000 Mbits/sec\r", "[ 4] 9.0-10.0 sec 119 MBytes 1000 Mbits/sec\r", "[ 4] 0.0-10.0 sec 1.16 GBytes 1000 Mbits/sec\r", "[ 4] Sent 850301 datagrams\r", "[ 4] Server Report:\r", "[ 4] 0.0-10.0 sec 1.16 GBytes 1000 Mbits/sec 0.000 ms 238/850301 (0%)\r", "+ sleep 0.5\r", "+ m5 exit\r", "Exiting @ tick 13075127565885 because m5_exit instruction encountered"], "stderr": ["warn: CheckedInt already exists in allParams. This may be caused by the Python 2.7 compatibility layer.", "warn: Enum already exists in allParams. This may be caused by the Python 2.7 compatibility layer.", "warn: ScopedEnum already exists in allParams. This may be caused by the Python 2.7 compatibility layer.", "warn: Physical memory size specified is 8192MB which is greater than 3GB. Twice the number of memory controllers would be created.", "warn: No dot file generated. Please install pydot to generate the dot file and pdf.", "warn: DRAM device capacity (32768 Mbytes) does not match the address range assigned (4096 Mbytes)", "warn: DRAM device capacity (32768 Mbytes) does not match the address range assigned (8192 Mbytes)", "info: kernel located at: /home/hejingli/simbricks/images/vmlinux", "system.pc.com_1.device: Listening for connections on port 3456", "warn: pollInterval=100000000 pciAsync=500000", "0: system.remote_gdb: listening for remote gdb on port 7000", "warn: Reading current count from inactive timer.", "warn: TimingPioPort::getAddrRanges()", "warn: TimingPioPort::getAddrRanges()", "info: Entering event queue @ 1258459844769. Starting simulation...", "info: Entering event queue @ 1258459854769. Starting simulation...", "warn: PowerState: Already in the requested power state, request ignored", "info: Entering event queue @ 1258459855092. Starting simulation...", "warn: instruction 'fwait' unimplemented", "warn: instruction 'verw_Mw_or_Rv' unimplemented", "warn: Don't know what interrupt to clear for console.", "warn: Tried to clear PCI interrupt 14", "warn: MOVNTDQ: Ignoring non-temporal hint, modeling as cacheable!"]}}, "success": true}
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment