A couple of newbe questions.



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.
2) for small udp packets the client does not get the jitter stats. I hacked the buffer size for these last messages and I now seem to get the stats sent back.
3) I believe that there are some thread related issues. When I use -P I will get weird results when P>5 on a slower system and where P>10 on one of our faster systems.
I can run a number of indepentant copies and thing work ok. I believe that mBuf is allocated staticly and as such there are a number of possible race conditons that can occur when the threads access mBuf.
I tried to make it thread local but I don't think I have found all the magical places where mBuf is used.


Otherwise this has been a very handy little piece of software. Thanks for all the work that has gone into making it.

--
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