From owner-freebsd-hackers Wed Jan 15 16:34:33 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id QAA09806 for hackers-outgoing; Wed, 15 Jan 1997 16:34:33 -0800 (PST) Received: from who.cdrom.com (who.cdrom.com [204.216.27.3]) by freefall.freebsd.org (8.8.4/8.8.4) with ESMTP id QAA09792 for ; Wed, 15 Jan 1997 16:34:31 -0800 (PST) Received: from awfulhak.demon.co.uk (awfulhak.demon.co.uk [158.152.17.1]) by who.cdrom.com (8.7.5/8.6.11) with ESMTP id QAA29355 for ; Wed, 15 Jan 1997 16:34:27 -0800 (PST) Received: from awfulhak.demon.co.uk (localhost.coverform.lan [127.0.0.1]) by awfulhak.demon.co.uk (8.8.4/8.7.3) with ESMTP id AAA15119; Thu, 16 Jan 1997 00:01:04 GMT Message-Id: <199701160001.AAA15119@awfulhak.demon.co.uk> X-Mailer: exmh version 1.6.9 8/22/96 To: Andrew.Gordon@net-tel.co.uk cc: eivind@dimaga.com, hackers@freebsd.org Subject: Re: IPFW + Samba -> performance problem In-reply-to: Your message of "Tue, 14 Jan 1997 23:09:29 GMT." <"45f6-970114231001-B849*/G=Andrew/S=Gordon/O=NET-TEL Computer Systems Ltd/PRMD=NET-TEL/ADMD=Gold 400/C=GB/"@MHS> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 16 Jan 1997 00:01:04 +0000 From: Brian Somers Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk [.....] > > I haven't hit this exact problem, but I did spend a long time looking > at tcpdump output some while ago to explain variable _read_ performance > we were seeing - all the old client machines (mostly 486s) had been working > fine, but a new P120 client was much slower than the other machines > at reading from Samba. It turned out that TCP_NODELAY was the solution > (and at the time the FreeBSD port of Samba was missing a #include > so that the -O TCP_NODELAY option didn't work!). Perhaps an explanation > of what I found will help diagnose your problem. [Explaination deleted] > Andrew Gordon. Nice one ! Looks like TCP_NODELAY makes about a 100-400% improvement here ! -- Brian , Don't _EVER_ lose your sense of humour....