--
You received this message because you are subscribed to the Google Groups "sockperf-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sockperf-discu...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
It is very hard to really measure the one way latency at microsecond or even sub-microsecond as sockperf need because you need to sync clocks between machines at that high level of accuracy. Hence, the only thing that sockperf measures is RTT.
Everywhere you see latency in sockperf - the meaning is just RTT/2.
Avner
Ping-pong is quite synthetic test in which there is only one packet on the wire and nothing is sent until a reply for this packet arrived. This is far of normal traffic.
For achieving normal traffic use under-load and decrease the value in --pps (or --mps) to something that your network can carry. You can use --reply-every=1 or whatever value that matches the pattern of “normal” traffic in your environment.
From: sockperf...@googlegroups.com [mailto:sockperf...@googlegroups.com]
On Behalf Of materi...@gmail.com
Sent: Tuesday, January 28, 2014 17:34
To: sockperf...@googlegroups.com
Cc: materi...@gmail.com
Subject: Re: Difference between under-load and ping-pong
I think I have it now. I just want to clarify that under-load is a measurement of latency that simulates a heavy, one-way load, while ping-pong measures......I guess......normal traffic by sending and receiving equal amounts of traffic?
--
For advanced users, you can “record” traffic in normal day in your environment using wireshark.
Then, you can use the playback option of sockperf to play it (after converting the packet headers to sockperf CSV playback format).
However, this is beyond what I can explain you at the moment. Sorry.