Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Tue, 16 Oct 2001 13:10:58 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Tue, 16 Oct 2001 13:10:48 -0400 Received: from inway106.cdi.cz ([213.151.81.106]:6528 "EHLO luxik.cdi.cz") by vger.kernel.org with ESMTP id ; Tue, 16 Oct 2001 13:10:40 -0400 Posted-Date: Tue, 16 Oct 2001 19:11:08 +0200 Date: Tue, 16 Oct 2001 19:11:08 +0200 (CEST) From: Martin Devera To: Francois Romieu cc: linux-kernel@vger.kernel.org Subject: Re: sendto syscall is slow In-Reply-To: <20011016190233.A3347@se1.cogenit.fr> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org > Martin Devera : > [...] > > Are you speaking about rewriting nic driver ? Like try to drain > > waiting packet from nic's memory while enqueuing new one ? > > Partly: simply disabling Rx/Tx interrupt and checking for ack > in buffers descriptor during hard_start_xmit. The profile for > loopback shows your problem is not here however. :o( I just found that PF_SOCKET can be mmaped to improve reads. Only I can't found docs how to use the functionality .. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/