[netperf-talk] setting SO_DONTROUTE for UDP tests by default?
Rick Jones
rick.jones2 at hp.com
Mon Oct 26 15:09:18 PDT 2009
Well, I went ahead and put-in some code... the current top-of-trunk will now
default to setting SO_DONTROUTE on a unidirectional UDP test - classic
"nettest_bsd.c" UDP_STREAM as well as a unidirectional UDP xmit or recv omni test.
Any other protocol, or a request response test, will default to *not* setting
SO_DONTROUTE. IE behavior remains unchanged from before.
There is a test-specific -R option that if given an argument of 0 will disallow
routing regardless of test or protocol, and if given a non-zero argument will
allow routing regardless of test.
So, to have a non-local UDP_STREAM test, one must now add a test-specific "-R 1"
option. It will remain that way unless there is sufficient squawking to get it
reverted :) If it doesn't get reverted any time soon, I'll go ahead and
document it further.
happy benchmarking,
rick jones
More information about the netperf-talk
mailing list