Re: Samba Performance problem

2006-10-03 Thread Joseph Koshy
mc> Also make sure that you don't use a giant-locked driver mc> somewhere in the chain to the filessystem and that WITNESS mc> and friends are off. Is this a SMP machine? As a general suggestion, you can use hwpmc(4) and pmcstat(8) to understand where the bottlenecks are. For example, you can c

Re: Samba Performance problem

2006-10-03 Thread Martin Cracauer
Jan Zacharias wrote on Fri, Sep 29, 2006 at 05:28:27PM +0200: > Hi Olivier, > > generally the Samba performance on *BSD just sucks, > I wrote to this list with the same problem some weeks ago, > no one was able to tune smbd so that it would outperform > as well as under linux. I haven't seen pre

Re: Samba Performance problem

2006-10-03 Thread Bill Moran
In response to Nick Evans <[EMAIL PROTECTED]>: > > 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 intere

Re: Samba Performance problem

2006-10-03 Thread Nick Evans
On Tue, 3 Oct 2006 08:19:49 +0200 Divacky Roman <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]> wrote: > > > > > Nick Evans wrote: > > > > Mike Jakubik <[EMAIL PROTECTED]> wrote: >

Re: Samba Performance problem

2006-10-02 Thread Divacky Roman
On Mon, Oct 02, 2006 at 12:42:41PM -0400, Nick Evans wrote: > On Mon, 02 Oct 2006 10:30:23 -0400 > Mike Jakubik <[EMAIL PROTECTED]> wrote: > > > Nick Evans wrote: > > > Mike Jakubik <[EMAIL PROTECTED]> wrote: > > > > > >> Quite possibly, just as MySQL has been written with Linux primarily in >

Re: Samba Performance problem

2006-10-02 Thread Nick Evans
On Mon, 02 Oct 2006 10:30:23 -0400 Mike Jakubik <[EMAIL PROTECTED]> wrote: > Nick Evans wrote: > > Mike Jakubik <[EMAIL PROTECTED]> 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

Re: Samba Performance problem

2006-10-02 Thread Mike Jakubik
Nick Evans wrote: Mike Jakubik <[EMAIL PROTECTED]> 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 trie

Re: Samba Performance problem

2006-10-02 Thread Nick Evans
On Fri, 29 Sep 2006 12:51:19 -0400 Mike Jakubik <[EMAIL PROTECTED]> wrote: > Jan Zacharias wrote: > > Btw. the same problem exists on MAC OSX, as OSX also uses a BSD Kernel > > the problem might be, that samba was optimized for the linux kernel > > tcp stack. > > Quite possibly, just as MySQL has

Re: Samba Performance problem

2006-09-29 Thread Jan Zacharias
Hi Olivier, generally the Samba performance on *BSD just sucks, I wrote to this list with the same problem some weeks ago, no one was able to tune smbd so that it would outperform as well as under linux. The only solution is to migrate your fileserver to a Linux distribution as I did. Performanc

Re: Samba Performance problem

2006-09-29 Thread Mike Jakubik
Jan Zacharias wrote: Btw. the same problem exists on MAC OSX, as OSX also uses a BSD Kernel the problem might be, that samba was optimized for the linux kernel tcp stack. Quite possibly, just as MySQL has been written with Linux primarily in mind. _

Re: Samba Performance problem

2006-09-29 Thread David Touitou
Hi all, Jan Zacharias a écrit : generally the Samba performance on *BSD just sucks, The only solution is to migrate your fileserver to a Linux distribution as I did. Olivier being the main developper/maintainer of FreeNAS, this is not an option 8) (bravo au fait) David. -- A: Yes. >Q:

Re: Samba Performance problem

2006-09-29 Thread Jan Zacharias
Hi Olivier, generally the Samba performance on *BSD just sucks, I wrote to this list with the same problem some weeks ago, no one was able to tune smbd so that it would outperform as well as under linux. The only solution is to migrate your fileserver to a Linux distribution as I did. Performanc

Re: Samba Performance problem

2006-09-29 Thread Mike Jakubik
Olivier Cochard-Labbe wrote: Hi all, I meet a performance problem with my customized distro of FreeBSD 6.1(FreeNAS). Lot's of FreeNAS users compare the performance of FreeNAS with Linux, and the Samba performance are very poor under FreeNAS (but not with NFS or FTP). ... But there is no

Samba Performance problem

2006-09-29 Thread Olivier Cochard-Labbe
Hi all, I meet a performance problem with my customized distro of FreeBSD 6.1(FreeNAS). Lot's of FreeNAS users compare the performance of FreeNAS with Linux, and the Samba performance are very poor under FreeNAS (but not with NFS or FTP). I've use this value on the default samba configuration: