From owner-freebsd-questions Thu May 31 13:57:54 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mail.the-i-pa.com (mail.the-i-pa.com [151.201.71.132]) by hub.freebsd.org (Postfix) with SMTP id 77E5037B43C for ; Thu, 31 May 2001 13:57:49 -0700 (PDT) (envelope-from wmoran@iowna.com) Received: (qmail 51229 invoked from network); 31 May 2001 21:05:30 -0000 Received: from unknown (HELO iowna.com) (151.201.71.195) by mail.the-i-pa.com with SMTP; 31 May 2001 21:05:30 -0000 Message-ID: <3B16AFDD.F9167D5D@iowna.com> Date: Thu, 31 May 2001 16:55:57 -0400 From: Bill Moran X-Mailer: Mozilla 4.76 [en] (X11; U; FreeBSD 4.2-RELEASE i386) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: delayed_ack Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi all, I'm curious as to some particulars on this sysctl value. (net.inet.tcp.delayed_ack) I recently found that setting it to 0 produced a very noticable improvement in the performance of SMB traffic from windows machine to a Samba server. This machine is 4.2-STABLE cvsuped on April 5, 12:06. I've seen various messages in the mail archives with relation to this setting and improvements gained. You can add me as one who saw such an improvement. Specifically, on occasion, transfer operations would pause (as if waiting for something to happen ... no network activity) and after 45 seconds, complete. (This is using Windows 95 to connect to the above described machine) Setting delayed_ack=0 eliminated this delay completely. So ... here is my question: Is there a problem with the delayed_ack code in FreeBSD? Is it Windows that is the problem? It seems to me that there's something wrong with SMB, since HTTP and ssh from Window's boxes works fine. This wasn't a little performance improvement, this had the feel of something broken getting fixed. We're talking 45 seconds, with zero network activity, before the operation completed. Not a critical question, mostly curiousity. TIA, Bill To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message