Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Wed, 14 Feb 2001 15:29:36 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Wed, 14 Feb 2001 15:29:26 -0500 Received: from router-100M.swansea.linux.org.uk ([194.168.151.17]:49681 "EHLO the-village.bc.nu") by vger.kernel.org with ESMTP id ; Wed, 14 Feb 2001 15:29:08 -0500 Subject: Re: Samba performance / zero-copy network I/O To: glamb@lcis.dyndns.org (Gord R. Lamb) Date: Wed, 14 Feb 2001 20:29:42 +0000 (GMT) Cc: linux-kernel@vger.kernel.org In-Reply-To: from "Gord R. Lamb" at Feb 14, 2001 03:14:19 PM X-Mailer: ELM [version 2.5 PL1] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-Id: From: Alan Cox Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org > When reading the profiler results, the largest consuming kernel (calls?) > are file_read_actor and csum_partial_copy_generic, by a longshot (about > 70% and 20% respectively). > > Presumably, the csum_partial_copy_generic should be eliminated (or at > least reduced) by David Miller's zerocopy patch, right? Or am I > misunderstanding this completely? :) To an extent, providing you are using the samba sendfile() patches. SMB cant make great use of zero copy file I/O due to the fact its not really designed so much as mutated over time and isnt oriented for speed - 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/