From owner-freebsd-stable Mon Dec 6 7:21:32 1999 Delivered-To: freebsd-stable@freebsd.org Received: from ipt2.iptelecom.net.ua (ipt2.iptelecom.net.ua [212.9.224.2]) by hub.freebsd.org (Postfix) with ESMTP id 7A6E314DA6; Mon, 6 Dec 1999 07:21:25 -0800 (PST) (envelope-from sobomax@altavista.net) Received: from vega.vega.com (dialup7-8.iptelecom.net.ua [212.9.227.136]) by ipt2.iptelecom.net.ua (8.9.3/8.9.3) with ESMTP id QAA26623; Mon, 6 Dec 1999 16:59:03 +0200 (EET) Received: from altavista.net (big_brother.vega.com [192.168.1.1]) by vega.vega.com (8.9.3/8.9.3) with ESMTP id QAA55100; Mon, 6 Dec 1999 16:52:38 +0200 (EET) (envelope-from sobomax@altavista.net) Message-ID: <384BCDB1.BD599C68@altavista.net> Date: Mon, 06 Dec 1999 16:52:33 +0200 From: Maxim Sobolev <sobomax@altavista.net> Reply-To: sobomax@altavista.net Organization: Vega International Capital X-Mailer: Mozilla 4.7 [en] (WinNT; I) X-Accept-Language: uk,ru,en MIME-Version: 1.0 To: l.farr@epcdirect.co.uk Cc: stable@FreeBSD.ORG, current@FreeBSD.ORG Subject: Re: Samba Performance References: <NDBBIHCFMLAGDJOANEHDOEJHCDAA.l.farr@epcdirect.co.uk> Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 7bit Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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-stable" in the body of the message