From owner-freebsd-performance@FreeBSD.ORG Tue Oct 3 06:19:56 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 F32E216A403 for ; Tue, 3 Oct 2006 06:19:55 +0000 (UTC) (envelope-from xdivac02@stud.fit.vutbr.cz) Received: from eva.fit.vutbr.cz (eva.fit.vutbr.cz [147.229.176.14]) by mx1.FreeBSD.org (Postfix) with ESMTP id 510D643D45 for ; Tue, 3 Oct 2006 06:19:54 +0000 (GMT) (envelope-from xdivac02@stud.fit.vutbr.cz) Received: from eva.fit.vutbr.cz (localhost [127.0.0.1]) by eva.fit.vutbr.cz (envelope-from xdivac02@eva.fit.vutbr.cz) (8.13.8/8.13.7) with ESMTP id k936Jp2o065310 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 3 Oct 2006 08:19:51 +0200 (CEST) Received: (from xdivac02@localhost) by eva.fit.vutbr.cz (8.13.8/8.13.3/Submit) id k936JnQ8065308; Tue, 3 Oct 2006 08:19:49 +0200 (CEST) Date: Tue, 3 Oct 2006 08:19:49 +0200 From: Divacky Roman To: Nick Evans Message-ID: <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> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20061002124241.64891173@pleiades.nextvenue.com> User-Agent: Mutt/1.4.2.2i X-Scanned-By: MIMEDefang 2.57 on 147.229.176.14 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 06:19:56 -0000 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....