Re: A couple of newbe questions.


Marc Herbert wrote:

On Fri, 7 Oct 2005, Alvin Starr wrote:



I just picked up iperf to try and simulate the traffic generated by VOIP
udp packets.

Under Linux I have found a couple of issues.
1) the delay loop chews up huge anounts of system cycles and replacing
it with usleep makes things run MUCH better.



I think I remember hearing here that usleep() is far from being portable.



I buy that. The only thing is that under linux( I would expect that other *nix's are the same) runing more than about 10 threads will pin the CPU. Forget about trying to run 50 or 100 threads.
I was hoping to get iperf hacked into shape to handle several hundred sessions but it looks like I have a distance to go before I have that working.


--
Alvin Starr                   ||   voice: (416)585-9971
Interlink Connectivity        ||   fax:   (416)585-9974
alvin --at-- iplink.net              ||



Other Mailing lists | Author Index | Date Index | Subject Index | Thread Index