From owner-freebsd-stable Wed Dec 8 0:36:59 1999 Delivered-To: freebsd-stable@freebsd.org Received: from io.freibergnet.de (io.freibergnet.de [194.123.255.3]) by hub.freebsd.org (Postfix) with ESMTP id C6BE414EBD for ; Wed, 8 Dec 1999 00:36:54 -0800 (PST) (envelope-from mw@io.freibergnet.de) Received: (from mw@localhost) by io.freibergnet.de (8.9.3/8.9.1) id JAA21452; Wed, 8 Dec 1999 09:36:40 +0100 (CET) (envelope-from mw) Message-ID: X-Mailer: XFMail 1.3.1 [p0] on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <384DC4D4.99AB4960@es.co.nz> Date: Wed, 08 Dec 1999 09:36:39 +0100 (CET) Reply-To: mw@freibergnet.de Organization: FreibergNet Systemhaus / Liebscher & Partner From: Martin Welk To: Mike Muir Subject: Re: Samba Performance Cc: stable@FreeBSD.ORG, Greg Lewis Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On 08-Dec-99 Mike Muir wrote: () smb: \incoming\> put #math.xchatlog () putting file #math.xchatlog as \incoming\#math.xchatlog (107.262 kb/s) () (average 107.262 kb/s) () smb: \incoming\> get #math.xchatlog () getting file #math.xchatlog of size 2692307 as #math.xchatlog (1021.84 () kb/s) () (average 1021.84 kb/s) Somewhere in the Usenet somebody said, that the generic answer to such a question is to always increase the receive/send buffers for the socket. Look at [g|s]etockopt(2) for more information. I have added socket options = IPTOS_LOWDELAY TCP_NODELAY SO_SNDBUF=262144 \ SO_RCVBUF=262144 (I'm not sure if 256k is really needed, I left it because there are some Windows boxes connected to the Samba server and I haven't tried if there's a difference - with 128k I experienced same speed as it's now with only one machine. But the raising speed was highly noticeable, especially when copying many many small files!) () >From speeds increased (quite a bit.. now we're talking :) but upload () (incoming) speeds still suck ass.. hrmph. That's it without increased buffers. Gruß, Martin -- FreibergNet Systemhaus GbR Martin Welk * Sales, Support Systemhaus für Daten- und Netzwerktechnik phone +49 3731 781387 Unternehmensgruppe Liebscher & Partner fax +49 3731 781377 D-09599 Freiberg * Am St. Niclas Schacht 13 http://www.freibergnet.de/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message