From owner-freebsd-performance@FreeBSD.ORG Tue Oct 3 15:27:54 2006 Return-Path: X-Original-To: performance@freebsd.org Delivered-To: freebsd-performance@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EB95916A416 for ; Tue, 3 Oct 2006 15:27:54 +0000 (UTC) (envelope-from nevans@talkpoint.com) Received: from relay.talkpoint.com (pobox.talkpoint.com [204.141.15.158]) by mx1.FreeBSD.org (Postfix) with ESMTP id 212FE43D6E for ; Tue, 3 Oct 2006 15:27:47 +0000 (GMT) (envelope-from nevans@talkpoint.com) Received: from ASSP-nospam ([127.0.0.1]) by relay.talkpoint.com with Microsoft SMTPSVC(5.0.2195.6713); Tue, 3 Oct 2006 11:27:46 -0400 Received: from 204.141.15.136 ([204.141.15.136] helo=postal.talkpoint.com) by ASSP-nospam ; 3 Oct 06 15:27:46 -0000 Received: from pleiades.nextvenue.com ([204.141.15.194]) by postal.talkpoint.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2653.13) id TYVCA6NB; Tue, 3 Oct 2006 11:27:46 -0400 Date: Tue, 3 Oct 2006 11:27:46 -0400 From: Nick Evans To: Divacky Roman Message-ID: <20061003112746.58ce03b3@pleiades.nextvenue.com> In-Reply-To: <20061003061949.GA65231@stud.fit.vutbr.cz> References: <3131aa530609290721o267d55bakff4e801ef4000675@mail.gmail.com> <451D4630.7040902@rogers.com> <451D4F07.7020108@rogers.com> <20061002102806.7addbcdf@pleiades.nextvenue.com> <4521227F.6040801@rogers.com> <20061002124241.64891173@pleiades.nextvenue.com> <20061003061949.GA65231@stud.fit.vutbr.cz> X-Mailer: Sylpheed-Claws 2.4.0 (GTK+ 2.8.20; i386-portbld-freebsd6.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 03 Oct 2006 15:27:46.0667 (UTC) FILETIME=[7A6DCBB0:01C6E700] Cc: Mike Jakubik , performance@freebsd.org, Jan Zacharias Subject: Re: Samba Performance problem X-BeenThere: freebsd-performance@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Performance/tuning List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Oct 2006 15:27:55 -0000 On Tue, 3 Oct 2006 08:19:49 +0200 Divacky Roman wrote: > On Mon, Oct 02, 2006 at 12:42:41PM -0400, Nick Evans wrote: > > On Mon, 02 Oct 2006 10:30:23 -0400 > > Mike Jakubik wrote: > > > > > Nick Evans wrote: > > > > Mike Jakubik wrote: > > > > > > > >> Quite possibly, just as MySQL has been written with Linux primarily > > > >> in mind. > > > > > > > > It should be possible to profile smbd and see where the bottleneck > > > > is, no? Has anyone tried it? > > > > > > > > > > > > > It should be, but i don't believe anyone has tried yet. > > > > > > > Does anyone know how to get gprof to set the gmon.out file with a pid > > number in the filename? It's kind of hard to get output of the pid that > > controls a file transfer without it. Everything I've found via Google is > > not working so far. > > I'd start with plain ktrace and look in the trace to check for 'suspicious > things'. It might be something trivial like calling gettimeofday() way too > often as it was with mysql.... Done. I can provide the tracefile if anyone is interested.