Date: Mon, 06 Dec 1999 16:52:33 +0200 From: Maxim Sobolev <sobomax@altavista.net> To: l.farr@epcdirect.co.uk Cc: stable@FreeBSD.ORG, current@FreeBSD.ORG Subject: Re: Samba Performance Message-ID: <384BCDB1.BD599C68@altavista.net> References: <NDBBIHCFMLAGDJOANEHDOEJHCDAA.l.farr@epcdirect.co.uk>
next in thread | previous in thread | raw e-mail | index | archive | help
Lawrence Farr wrote: > I have installed a couple of FreeBSD machines using 3.3-Release, which have > Appletalk over IP and samba access to them. On a write to a shared disk, the > Macs can write at about 9000kb/sec (Measured with Helios LAN test). From a > P3-500 via samba over switched fast ethernet I get about 100Kb/sec. to the > same disk. > > I have added the usual socket options, and upped the recieve buffer size. On > a read from the same machine, it is comparable to the Mac. > > The same machine running Linux was about equal on both. I have also made > samba from source, which made no difference. > > Any bright ideas? Try to look into the ports/samba/patches for the patch-ah file (which provided to resolve such misbehaviour). If that file doesn't exist than either try to cvsup your ports, or manually add following patch and recompile/reinstall samba: -----patch.ah. Cut Here------------ --- lib/util_sock.c.orig Wed Sep 22 10:52:50 1999 +++ lib/util_sock.c Wed Sep 22 11:30:18 1999 @@ -28,6 +28,9 @@ extern int sslFd; #endif /* WITH_SSL */ +#undef MSG_WAITALL +#define MSG_WAITALL 0 + extern int DEBUGLEVEL; BOOL passive = False; -----patch.ah. Cut Here------------ -Maxim To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?384BCDB1.BD599C68>