Hello Peter, Friday, September 7, 2007, 9:33:01 AM, you wrote:
PH> I don't want to discourage you but I did spend quite a time PH> looking at this on Linux a couple of years ago and failed. PH> PH> I came to the conclusion that the 1024 sockets is a C library PH> restriction and without recompiling the library there is not much PH> you can do for a single process. I did try running several PH> processes each with 1000 but at around 3000 sockets total in use PH> Linux went so slowly that there was no point. My guess was that PH> the UDP tables were being searched inefficiently in the kernel. PH> There seems to be a timeout on port use, so you cannot even close PH> and re-use the sockets or keep using the same socket with PH> different ports. I was using 250 aliased IP addresses but I think PH> it was the total IP/port combinations that mattered. PH> PH> Different Linux versions froze at different points - SuSE 9.0 PH> would get to 3000 but SuSE 9.1 and 9.2 froze at anything over PH> 1300. SuSE 10 was not available when I did this. Limits with kernel 2.6 and sipp 2.0 are higher: 50k IPs and 50k ports from single PC is not a problem (from 2 PCs in the same time also works, but when 3rd was run problem occured), but 200k from one PC looks impossible. Should I change and recompile a part of kernel or just set some of tunable parameters? Which part of the kernel is responsible for the situation? PH> What I did in the end was to write a small program to use the PH> "packet" interface to send registrations from different IP PH> addresses. We have sourced 200K IP addresses per Linux that way. So it looks like the SIPp works without problem with 200k IPs, so 200k open sockets? Performance is limited by the system... Can you write more abou this solution? What does the program do, replaces some system functions? Maybe source of your program is available? PH> Peter Higginson PH> Newport Networks Ltd, PH> http://www.newport-networks.com/ -- Best Regards, Marcin Kucharczyk mailto:[EMAIL PROTECTED] ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Sipp-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/sipp-users
