Can you try to do more pings using "-c " option? I think this is because you are only sending one ping request and the latency that you see also includes the latency of sending ARP requests for finding the MAC address of the destination host.
Best, Mohammad On Fri, Mar 2, 2018 at 12:26 AM, 刘文杰 <lwj0...@qq.com> wrote: > Hi, > I have tested the dist-gem5 using the example booting script, which issue > a ping command to test the network connectivity. However, I have noticed > that the latency for the ping command is extremely high, as 993ms. > Is there any way to shorten this latency or is there anything wrong with > the settings? > Thanks. > > > PING 192.168.0.3 (192.168.0.3) 56(84) bytes of data. > 64 bytes from 192.168.0.3: icmp_seq=1 ttl=64 time=993 ms > > --- 192.168.0.3 ping statistics --- > 1 packets transmitted, 1 received, 0% packet loss, time 0ms > rtt min/avg/max/mdev = 993.612/993.612/993.612/0.000 ms > > > dist-gem5 configs: > > GEM5_DIR=$(pwd)/$(dirname $0)/../../.. > > IMG=$M5_PATH/disks/aarch64-ubuntu-trusty-headless.img > VMLINUX=$M5_PATH/binaries/vmlinux.aarch64.20140821 > DTB=$M5_PATH/binaries/vexpress.aarch64.20140821.dtb > > FS_CONFIG=$GEM5_DIR/configs/example/fs.py > SW_CONFIG=$GEM5_DIR/configs/dist/sw.py > GEM5_EXE=$GEM5_DIR/build/ARM/gem5.opt > > BOOT_SCRIPT=$GEM5_DIR/util/dist/test/redis_bootscript.rcS > GEM5_DIST_SH=$GEM5_DIR/util/dist/gem5-dist.sh > > DEBUG_FLAGS="--debug-flags=DistEthernet" > #CHKPT_RESTORE="-r1" > > NNODES=7 > > $GEM5_DIST_SH -n $NNODES > \ > -x $GEM5_EXE > \ > -s $SW_CONFIG > \ > -f $FS_CONFIG > \ > --m5-args > \ > $DEBUG_FLAGS > \ > --fs-args > \ > --cpu-type=AtomicSimpleCPU > \ > --num-cpus=1 > \ > --machine-type=VExpress_EMM64 > \ > --disk-image=$IMG > \ > --ethernet-linkspeed=10Gbps > \ > --ethernet-linkdelay=10us > \ > --kernel=$VMLINUX > \ > --dtb-filename=$DTB > \ > --script=$BOOT_SCRIPT > \ > --cf-args > \ > $CHKPT_RESTORE > > _______________________________________________ > gem5-users mailing list > gem5-users@gem5.org > http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users >
_______________________________________________ gem5-users mailing list gem5-users@gem5.org http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users