Samba Performance problem

Nick Evans nevans at talkpoint.com
Tue Oct 3 08:27:55 PDT 2006


On Tue, 3 Oct 2006 08:19:49 +0200
Divacky Roman <xdivac02 at stud.fit.vutbr.cz> 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 <mikej at rogers.com> wrote:
> > 
> > > Nick Evans wrote:
> > > > Mike Jakubik <mikej at 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....

Done. I can provide the tracefile if anyone is interested. 


More information about the freebsd-performance mailing list