Re: many sockets, slow sendto
From: Baruch Even <hidden>
Date: 2007-03-06 18:20:40
From: Baruch Even <hidden>
Date: 2007-03-06 18:20:40
* Zaccomer Lajos [off-list ref] [070306 17:39]:
Hi, I'm playing around with a simulation, in which many thousands of IP addresses (on interface aliases) are used to send/receive TCP/UDP packets. I noticed that the time of send/sendto increased linearly with the number of file descriptors, and I found it rather strange.
To better understand the reason for this problem you should first use oprofile to profile the kernel. This will give you the hot spots of the kernel, where the kernel (or userspace) spends most of its time. Baruch