Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 3 Oct 2006 08:19:49 +0200
From:      Divacky Roman <xdivac02@stud.fit.vutbr.cz>
To:        Nick Evans <nevans@talkpoint.com>
Cc:        Mike Jakubik <mikej@rogers.com>, performance@freebsd.org, Jan Zacharias <fbsd-performance@graphics.cs.uni-sb.de>
Subject:   Re: Samba Performance problem
Message-ID:  <20061003061949.GA65231@stud.fit.vutbr.cz>
In-Reply-To: <20061002124241.64891173@pleiades.nextvenue.com>
References:  <3131aa530609290721o267d55bakff4e801ef4000675@mail.gmail.com> <451D4630.7040902@rogers.com> <op.tgnermsov366f6@bofh.cs.uni-sb.de> <451D4F07.7020108@rogers.com> <20061002102806.7addbcdf@pleiades.nextvenue.com> <4521227F.6040801@rogers.com> <20061002124241.64891173@pleiades.nextvenue.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Oct 02, 2006 at 12:42:41PM -0400, Nick Evans wrote:
> On Mon, 02 Oct 2006 10:30:23 -0400
> Mike Jakubik <mikej@rogers.com> wrote:
> 
> > Nick Evans wrote:
> > > Mike Jakubik <mikej@rogers.com> 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....



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20061003061949.GA65231>