Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 9 May 1999 12:41:06 -0500 (EST)
From:      Alfred Perlstein <bright@rush.net>
To:        "Sergey Ayukov (mailing lists)" <asv1@crydee.sai.msu.ru>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Samba performance?
Message-ID:  <Pine.BSF.3.96.990509123908.24802B-100000@cygnus.rush.net>
In-Reply-To: <Pine.BSF.4.05.9905091847270.1592-100000@crydee.sai.msu.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 9 May 1999, Sergey Ayukov (mailing lists) wrote:

> On Sun, 9 May 1999, Alfred Perlstein wrote:
> 
> > > > > Anybody has performance numbers for Samba on FreeBSD? I am getting only
> > > > > about 300KB/sec on write (10MBit/s Ethernet; 21041 cards on both ends).
> > > > 
> > > > have you tried any of the suggested options such as "read prediction"
> > > > and raw write/read?  they are documented in the manpages...
> > > 
> > > I did not try them. The default for "write raw" is yes; "read prediction"
> > > is obsolete and does not work in Samba 2.0. I did not build Samba, took it
> > > from precompiled packages. smb.conf is straight from my previous Linux
> > > installation except one option to lpr which caused me much grief when I
> > > was wondering why damn thing does not want to print.
> > >  
> > > > what's the best you get between 2 windows hosts on your ethernet?
> > > 
> > > Over 900KB/sec. FTP from the Samba server reaches 1MB/sec. (KB and MB are
> > > 1000 and 1000000 bytes here, for simplicity).
> > 
> > Tuning samba is a bit tricky, there are some socket options you may want
> > to turn on, read more docs and experiment, you may also want to compile 
> > it yourself looking at all the options available.
> 
> Weird. It should work out of the box.
> 
> > Was performance this bad under Linux as well?
> 
> Of course not (that is why I am asking). I don't recall exact numbers, but
> I was certainly getting well over 500KB/sec. And read performance is
> reasonable (about 900KB/sec). On local writes I get about 2.3MB/sec which
> looks close to hard drive performance.

please, if possible post your machine's hardware configuration, there
are several tuning tips people never do that may be hindering performance
if you can give me this information I may be able to help more...

cpu, disk type, ram, etc...

if you are using IDE disks, i recommed you try to change the "flags"
parameter to 0xa0ffa0ff and see if that helps, this will enable DMA
on your hardrives.

-Alfred



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.990509123908.24802B-100000>