From: Andi Kleen Subject: Re: many sockets, slow sendto Date: 06 Mar 2007 20:23:55 +0100 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: netdev@vger.kernel.org To: Zaccomer Lajos Return-path: Received: from cantor.suse.de ([195.135.220.2]:42420 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S965560AbXCFSYd (ORCPT ); Tue, 6 Mar 2007 13:24:33 -0500 In-Reply-To: Sender: netdev-owner@vger.kernel.org List-Id: netdev.vger.kernel.org Zaccomer Lajos writes: > I'm playing around with a simulation, in which many thousands of IP > > addresses (on interface aliases) are used to send/receive TCP/UDP Something seems to be wrong with your emailer. It adds a empty line between each real line. > > packets. I noticed that the time of send/sendto increased linearly > > with the number of file descriptors, and I found it rather strange. Yes that is strange. I would suggest you use oprofile to identify which parts of the kernel use the CPU time with many descriptors. -Andi