[netperf-talk] Add an option to pause before starting tests

Andrew Gallatin gallatin at cs.duke.edu
Wed Sep 15 06:37:43 PDT 2010


On 09/14/10 18:01, Rick Jones wrote:
> Folks -
>
> I have adapted another patch from Google. This time, a global -s
> <seconds> option is added which will cause an omni test to pause for
> <seconds> after setting-up the test but before actually starting it.
> This is used for situations where one might be starting many, Many, MANY
> concurrent netperfs and is an attempt to avoid them utterly obliterating
> one another.

Cool.  But with a delay, won't they sill be a bit out of
sync due to fork/exec/connect latencies? I almost wonder
if it might be almost as useful to  accept an absolute time,
rather than a delay, so that they all actually start at the
same time.

When I was writing a script to use multiple netperfs, I was
thinking about hacking up some barrier (like waiting on a
named Posix semaphore, listening on a multicast socket, etc).
For my purposes, the startup delay didn't really matter, so
I never got around to it.  I applaud Google for doing something,
which is more than I did ;)

Drew


More information about the netperf-talk mailing list