[LTP] [PATCH 1/4] network/stress/icmp: add icmp-multi-diffip.sh to implement diffip stress test

Hangbin Liu haliu@redhat.com
Fri May 20 04:38:21 CEST 2016


On Fri, May 20, 2016 at 10:16:33AM +0800, Hangbin Liu wrote:
> > >>>+# Do Stress testing, ping flood
> > >>>+tst_resm TINFO "start ping flood stress testing"
> > >>>+for rhost_addr in ${rhost_addr_array[@]}; do
> > >>>+	for size in ${ICMP_SIZE_ARRAY}; do
> > >>>+		ping$TST_IPV6 -f -q -I $lhost_iface $rhost_addr -s $size &> /dev/null &
> > >>>+	done
> > >>>+done
> > 
> > Can we start ping test in background after adding each IP, i.e. after
> > tst_ping finished?

Ah, suddenly come in mind, If we start ping flood just after adding each IP,
there will have packets loose when we test later added IP address, which may
cause tst_ping failed. What do you think?

Thanks
Hangbin


More information about the ltp mailing list