Junos
Reply
Visitor
RTComm
Posts: 3
Registered: ‎04-02-2010
0

rapid ping

We've used the ping utility in-built into the Junos with the -Interval and -rapid options while trying to estimate the bandwidth capacity of the channel.

We noticed that some sort the intellectual algorithm of the speed adjustment appears when we were trying to use both parameters simultaneously (ping 172.16.20.38 count 10000 size 1400 interval 0.1 rapid).

Where we can look up for this algorithm description?

Distinguished Expert
aarseniev
Posts: 1,679
Registered: ‎08-21-2009
0

Re: rapid ping

Hello,

AFAIK, "rapid" is the almost the same as flood ping on FreeBSD

http://www.freebsd.org/cgi/man.cgi?query=ping&apropos=0&sektion=8&manpath=FreeBSD+6.1-RELEASE&format...

 

 

-f      Flood ping.  Outputs packets as fast as they come back or one
	hundred times per second, whichever is more.  For every
	ECHO_REQUEST sent a period ``.'' is printed, while for
        every ECHO_REPLY received a backspace is printed.  This
        provides a rapid display of how many packets are being dropped. Only the super-user may use this option.

 

 

Of course, flood ping printout and "superuser-only" privileges have been modified from original source.

HTH

Regards

Alex

___________________________________
Accept as Solution = cool !
Accept as Solution+Kudo = You are a Star !
Visitor
RTComm
Posts: 3
Registered: ‎04-02-2010
0

Re: rapid ping

I think generation speed depend on link latency :smileysad:

I can see different speed on different channel 

with the same ping setting.

Trusted Contributor
WadePrice-jnpr
Posts: 37
Registered: ‎11-06-2007
0

Re: rapid ping

Also see that fragmentation (pdu size above mtu size) may slow things down too (account for mac /ip header)

 

Wade

***************************************************************************

If you find this post helpful, please show your appreciation by clicking the Kudos star at the left. If it provides you the solution, please click on the YELLOW Accept as Solution button at below.

Visitor
RTComm
Posts: 3
Registered: ‎04-02-2010
0

Re: rapid ping

How does the generation velocity (pps or bps) change when rapid and interval are appointed sumiltaniously in junos ping? Would it  be similar to the FreeBSD ping command ( -f & -i )?

As i understand ping -f in BSD ping command send 100 pps (1200kbit/s size 1500 Byte)

 

     -f      Flood ping.  Outputs packets as fast as they come back or one
         hundred times per second, whichever is more.  For every
         ECHO_REQUEST sent a period ``.'' is printed, while for every
         ECHO_REPLY received a backspace is printed.  This provides a
         rapid display of how many packets are being dropped.  Only the
         super-user may use this option.  This can be very hard on a net-
         work and should be used with caution.

Distinguished Expert
aarseniev
Posts: 1,679
Registered: ‎08-21-2009
0

Re: rapid ping

[ Edited ]

Hello,

I think the algorithm description is pretty clear:

 

 

        Flood ping.  Outputs packets as fast as they come back or one
	hundred times per second, whichever is more.

 

 

So on fast links , you can see >100 pps, the smaller the ping size, the greater is the achieved rate.

On slower links, it is dropping back to 100pps, and once 100pps is met, it stays there.

Also, there is low-prio traffic throttling on RE-PFE link, and pings are assigned to Q0/best-effort on that link in PFE->RE direction.

So if there is other control traffic going across RE-PFE link, the pings may slow down even more.

This may explain Your observations.

HTH

Regards

Alex

 

___________________________________
Accept as Solution = cool !
Accept as Solution+Kudo = You are a Star !
Copyright© 1999-2013 Juniper Networks, Inc. All rights reserved.