Hi,Mohammad  

I am new to dist-gem5, even gem5.  I failed to bash the
APACHE-BENCH-RUN.SH when following the introduction in your video named
1-prepare a simple application on dist-gem5 (apache-bench). 

The result is as follow. 

boyang@panlab-macpro:~/dist-gem5/gem5/util/dist/apache-bench {74}$bash
apache-bench-run.sh 
launch switch gem5 process on 127.0.0.1 ...
waiting for switch to start
../home/boyang/dist-gem5/gem5/util/dist/gem5-dist.sh: line 287: kill:
(27900) - No such process
Failed to start switch 

The simulation just generated the folder rundir in which there were
log.switch file and m5out.switch folder. And in the m5out.switch folder,
there was only stats.txt file. No other files were generated when
running bash apache-bench-run.sh.  

Besides, I seemed to failed to run the APACHE-BENCH-CKPT.SH following
your introduction video after run it for the whole night. All the
content in the log.0 file is as follow. 

> gem5 compiled Dec 20 2017 11:07:49
> gem5 started Jan 18 2018 16:51:07
> gem5 executing on panlab-macpro, pid 24469
> 
> command line: /home/boyang/dist-gem5/gem5/build/ARM/gem5.opt -d 
> /home/boyang/dist-gem5/gem5/util/dist/apache-bench/m5out.0 
> --debug-flags=DistEthernet /home/boyang/dist-gem5/gem5/configs/example/fs.py 
> --cpu-type=AtomicSimpleCPU --num-cpus=1 --machine-type=VExpress_EMM64 
> --disk-image=/home/boyang/dist-gem5/gem5/disks/aarch64-ubuntu-trusty-headless.img
>  --kernel=/home/boyang/dist-gem5/gem5/binaries/vmlinux.aarch64.20140821 
> --dtb-filename=/home/boyang/dist-gem5/gem5/binaries/vexpress.aarch64.20140821.dtb
>  
> --script=/home/boyang/dist-gem5/gem5/util/dist/apache-bench/boot.easy.ckpt.rcS
>  --checkpoint-dir=/home/boyang/dist-gem5/gem5/util/dist/apache-bench/m5out.0 
> --dist --dist-rank=0 --dist-size=2 --dist-server-name=127.0.0.1 
> --dist-server-port=2212 
> 
> info: Standard input is not a terminal, disabling listeners.
> Global frequency set at 1000000000000 ticks per second
> 0: etherlink: DistEtherLink::DistEtherLink() link delay:10000000 
> ticksPerByte:800
> 0: global: DistIface() ctor rank:0
> warn: DRAM device capacity (8192 Mbytes) does not match the address range 
> assigned (512 Mbytes)
> info: kernel located at: 
> /home/boyang/dist-gem5/gem5/binaries/vmlinux.aarch64.20140821
> warn: Highest ARM exception-level set to AArch32 but bootloader is for 
> AArch64. Assuming you wanted these to match.
> warn: Sockets disabled, not accepting vnc client connections
> warn: Sockets disabled, not accepting terminal connections
> 0: etherlink: DistEtherLink::init() called
> 0: global: Connecting to 127.0.0.1:2212
> 0: global: Connected, waiting for ack (distIfaceId:0
> info: Link okay (iface:0 -> switch iface:0)
> info: Next dist synchronisation tick is changed to 5200000000000.
> info: Dist synchronisation interval is changed to 10000000.
> warn: Sockets disabled, not accepting gdb connections
> info: Using bootloader at address 0x10
> info: Using kernel entry physical address at 0x80080000
> info: Loading DTB file: 
> /home/boyang/dist-gem5/gem5/binaries/vexpress.aarch64.20140821.dtb at address 
> 0x88000000 
> 
> **** REAL SIMULATION ****
> 0: etherlink: DistEtherLink::startup() called
> 0: global: DistIface::startup() started
> info: Dist sync scheduled at 5200000000000 and repeats 10000000
> 0: global: DistIface::startup() done
> warn: Existing EnergyCtrl, but no enabled DVFSHandler found.
> info: Entering event queue @ 0. Starting simulation...
> warn: SCReg: Access to unknown device dcc0:site0:pos0:fn7:dev0
> warn: Tried to read RealView I/O at offset 0x60 that doesn't exist
> warn: Tried to read RealView I/O at offset 0x48 that doesn't exist
> warn: Tried to read RealView I/O at offset 0x8 that doesn't exist
> warn: Tried to read RealView I/O at offset 0x48 that doesn't exist
> warn: Device specific PCI config space not implemented for 
> testsys.realview.ethernet!

The attachments are the file LOG.0, LOG.1, LOG.SWITCH running
apache-bench-ckpt.sh 

Looking forward to your reply.

-- 
Best Regards,
Boyang Xu

A graduate student in UVIC
gem5 Simulator System.  http://gem5.org
gem5 is copyrighted software; use the --copyright option for details.

gem5 compiled Dec 20 2017 11:07:49
gem5 started Jan 18 2018 16:51:07
gem5 executing on panlab-macpro, pid 24469
command line: /home/boyang/dist-gem5/gem5/build/ARM/gem5.opt -d 
/home/boyang/dist-gem5/gem5/util/dist/apache-bench/m5out.0 
--debug-flags=DistEthernet /home/boyang/dist-gem5/gem5/configs/example/fs.py 
--cpu-type=AtomicSimpleCPU --num-cpus=1 --machine-type=VExpress_EMM64 
--disk-image=/home/boyang/dist-gem5/gem5/disks/aarch64-ubuntu-trusty-headless.img
 --kernel=/home/boyang/dist-gem5/gem5/binaries/vmlinux.aarch64.20140821 
--dtb-filename=/home/boyang/dist-gem5/gem5/binaries/vexpress.aarch64.20140821.dtb
 --script=/home/boyang/dist-gem5/gem5/util/dist/apache-bench/boot.easy.ckpt.rcS 
--checkpoint-dir=/home/boyang/dist-gem5/gem5/util/dist/apache-bench/m5out.0 
--dist --dist-rank=0 --dist-size=2 --dist-server-name=127.0.0.1 
--dist-server-port=2212

info: Standard input is not a terminal, disabling listeners.
Global frequency set at 1000000000000 ticks per second
      0: etherlink: DistEtherLink::DistEtherLink() link delay:10000000 
ticksPerByte:800
      0: global: DistIface() ctor rank:0
warn: DRAM device capacity (8192 Mbytes) does not match the address range 
assigned (512 Mbytes)
info: kernel located at: 
/home/boyang/dist-gem5/gem5/binaries/vmlinux.aarch64.20140821
warn: Highest ARM exception-level set to AArch32 but bootloader is for AArch64. 
Assuming you wanted these to match.
warn: Sockets disabled, not accepting vnc client connections
warn: Sockets disabled, not accepting terminal connections
      0: etherlink: DistEtherLink::init() called
      0: global: Connecting to 127.0.0.1:2212
      0: global: Connected, waiting for ack (distIfaceId:0
info: Link okay  (iface:0 -> switch iface:0)
info: Next dist synchronisation tick is changed to 5200000000000.
info: Dist synchronisation interval is changed to 10000000.
warn: Sockets disabled, not accepting gdb connections
info: Using bootloader at address 0x10
info: Using kernel entry physical address at 0x80080000
info: Loading DTB file: 
/home/boyang/dist-gem5/gem5/binaries/vexpress.aarch64.20140821.dtb at address 
0x88000000
**** REAL SIMULATION ****
      0: etherlink: DistEtherLink::startup() called
      0: global: DistIface::startup() started
info: Dist sync scheduled at 5200000000000 and repeats 10000000
      0: global: DistIface::startup() done
warn: Existing EnergyCtrl, but no enabled DVFSHandler found.
info: Entering event queue @ 0.  Starting simulation...
warn: SCReg: Access to unknown device dcc0:site0:pos0:fn7:dev0
warn: Tried to read RealView I/O at offset 0x60 that doesn't exist
warn: Tried to read RealView I/O at offset 0x48 that doesn't exist
warn: Tried to read RealView I/O at offset 0x8 that doesn't exist
warn: Tried to read RealView I/O at offset 0x48 that doesn't exist
warn: Device specific PCI config space not implemented for 
testsys.realview.ethernet!
gem5 Simulator System.  http://gem5.org
gem5 is copyrighted software; use the --copyright option for details.

gem5 compiled Dec 20 2017 11:07:49
gem5 started Jan 18 2018 16:51:07
gem5 executing on panlab-macpro, pid 24467
command line: /home/boyang/dist-gem5/gem5/build/ARM/gem5.opt -d 
/home/boyang/dist-gem5/gem5/util/dist/apache-bench/m5out.1 
--debug-flags=DistEthernet /home/boyang/dist-gem5/gem5/configs/example/fs.py 
--cpu-type=AtomicSimpleCPU --num-cpus=1 --machine-type=VExpress_EMM64 
--disk-image=/home/boyang/dist-gem5/gem5/disks/aarch64-ubuntu-trusty-headless.img
 --kernel=/home/boyang/dist-gem5/gem5/binaries/vmlinux.aarch64.20140821 
--dtb-filename=/home/boyang/dist-gem5/gem5/binaries/vexpress.aarch64.20140821.dtb
 --script=/home/boyang/dist-gem5/gem5/util/dist/apache-bench/boot.easy.ckpt.rcS 
--checkpoint-dir=/home/boyang/dist-gem5/gem5/util/dist/apache-bench/m5out.1 
--dist --dist-rank=1 --dist-size=2 --dist-server-name=127.0.0.1 
--dist-server-port=2212

info: Standard input is not a terminal, disabling listeners.
Global frequency set at 1000000000000 ticks per second
      0: etherlink: DistEtherLink::DistEtherLink() link delay:10000000 
ticksPerByte:800
      0: global: DistIface() ctor rank:1
warn: DRAM device capacity (8192 Mbytes) does not match the address range 
assigned (512 Mbytes)
info: kernel located at: 
/home/boyang/dist-gem5/gem5/binaries/vmlinux.aarch64.20140821
warn: Highest ARM exception-level set to AArch32 but bootloader is for AArch64. 
Assuming you wanted these to match.
warn: Sockets disabled, not accepting vnc client connections
warn: Sockets disabled, not accepting terminal connections
      0: etherlink: DistEtherLink::init() called
      0: global: Connecting to 127.0.0.1:2212
      0: global: Connected, waiting for ack (distIfaceId:0
info: Link okay  (iface:0 -> switch iface:1)
info: Next dist synchronisation tick is changed to 5200000000000.
info: Dist synchronisation interval is changed to 10000000.
warn: Sockets disabled, not accepting gdb connections
info: Using bootloader at address 0x10
info: Using kernel entry physical address at 0x80080000
info: Loading DTB file: 
/home/boyang/dist-gem5/gem5/binaries/vexpress.aarch64.20140821.dtb at address 
0x88000000
**** REAL SIMULATION ****
      0: etherlink: DistEtherLink::startup() called
      0: global: DistIface::startup() started
info: Dist sync scheduled at 5200000000000 and repeats 10000000
      0: global: DistIface::startup() done
warn: Existing EnergyCtrl, but no enabled DVFSHandler found.
info: Entering event queue @ 0.  Starting simulation...
warn: SCReg: Access to unknown device dcc0:site0:pos0:fn7:dev0
warn: Tried to read RealView I/O at offset 0x60 that doesn't exist
warn: Tried to read RealView I/O at offset 0x48 that doesn't exist
warn: Tried to read RealView I/O at offset 0x8 that doesn't exist
warn: Tried to read RealView I/O at offset 0x48 that doesn't exist
warn: Device specific PCI config space not implemented for 
testsys.realview.ethernet!
gem5 Simulator System.  http://gem5.org
gem5 is copyrighted software; use the --copyright option for details.

gem5 compiled Dec 20 2017 11:07:49
gem5 started Jan 18 2018 16:51:05
gem5 executing on panlab-macpro, pid 24380
command line: /home/boyang/dist-gem5/gem5/build/ARM/gem5.opt -d 
/home/boyang/dist-gem5/gem5/util/dist/apache-bench/m5out.switch 
--debug-flags=DistEthernet /home/boyang/dist-gem5/gem5/configs/dist/sw.py 
--checkpoint-dir=/home/boyang/dist-gem5/gem5/util/dist/apache-bench/m5out.switch
 --is-switch --dist-size=2 --dist-server-port=2200

info: Standard input is not a terminal, disabling listeners.
Global frequency set at 1000000000000 ticks per second
      0: system.portlink0: DistEtherLink::DistEtherLink() link delay:10000000 
ticksPerByte:800
      0: global: DistIface() ctor rank:0
      0: global: TCPIface(listen): Can't bind port 2200
      0: global: TCPIface(listen): Can't bind port 2201
      0: global: TCPIface(listen): Can't bind port 2202
      0: global: TCPIface(listen): Can't bind port 2203
      0: global: TCPIface(listen): Can't bind port 2204
      0: global: TCPIface(listen): Can't bind port 2205
      0: global: TCPIface(listen): Can't bind port 2206
      0: global: TCPIface(listen): Can't bind port 2207
      0: global: TCPIface(listen): Can't bind port 2208
      0: global: TCPIface(listen): Can't bind port 2209
      0: global: TCPIface(listen): Can't bind port 2210
      0: global: TCPIface(listen): Can't bind port 2211
info: tcp_iface listening on port 2212
      0: global: First connection, waiting for link info
      0: global: First connection, waiting for link info
      0: system.portlink1: DistEtherLink::DistEtherLink() link delay:10000000 
ticksPerByte:800
      0: global: DistIface() ctor rank:0
      0: system.portlink0: DistEtherLink::init() called
info: Link okay  (iface:0 -> (node:0, iface:0))
info: Next dist synchronisation tick is changed to 5200000000000.
info: Dist synchronisation interval is changed to 10000000.
      0: system.portlink1: DistEtherLink::init() called
info: Link okay  (iface:1 -> (node:1, iface:0))
**** REAL SIMULATION ****
      0: system.portlink0: DistEtherLink::startup() called
      0: global: DistIface::startup() started
info: Dist sync scheduled at 5200000000000 and repeats 10000000
      0: global: DistIface::startup() done
      0: system.portlink1: DistEtherLink::startup() called
      0: global: DistIface::startup() started
      0: global: DistIface::startup() done
info: Entering event queue @ 0.  Starting simulation...
_______________________________________________
gem5-users mailing list
gem5-users@gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to