Samba Performance problem
xdivac02 at stud.fit.vutbr.cz
Mon Oct 2 23:19:56 PDT 2006
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
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....
More information about the freebsd-performance