From owner-freebsd-stable Sun Oct 7 0:50: 8 2001 Delivered-To: freebsd-stable@freebsd.org Received: from msgbas1.cos.agilent.com (msgbas1x.cos.agilent.com [192.25.240.36]) by hub.freebsd.org (Postfix) with ESMTP id 8362F37B405 for ; Sun, 7 Oct 2001 00:50:04 -0700 (PDT) Received: from msgrel1.cos.agilent.com (msgrel1.cos.agilent.com [130.29.152.77]) by msgbas1.cos.agilent.com (Postfix) with ESMTP id 0D1C92B68 for ; Sun, 7 Oct 2001 01:50:04 -0600 (MDT) Received: from mina.soco.agilent.com (mina.soco.agilent.com [141.121.54.157]) by msgrel1.cos.agilent.com (Postfix) with ESMTP id 92CBB14E for ; Sun, 7 Oct 2001 01:50:03 -0600 (MDT) Received: from mina.soco.agilent.com (darrylo@localhost [127.0.0.1]) by mina.soco.agilent.com (8.9.3 (PHNE_22672)/8.9.3 SMKit7.1.1_Agilent) with ESMTP id AAA22558 for ; Sun, 7 Oct 2001 00:50:02 -0700 (PDT) Message-Id: <200110070750.AAA22558@mina.soco.agilent.com> To: freebsd-stable@FreeBSD.ORG Subject: Slow samba performance w/DOS (Drive Image 5.0). Reply-To: Darryl Okahata Mime-Version: 1.0 (generated by tm-edit 1.6) Content-Type: text/plain; charset=US-ASCII Date: Sun, 07 Oct 2001 00:50:01 -0700 From: Darryl Okahata Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG [ This is being posted so that it gets put into the archives. ] If you are experiencing slow samba performance with DOS clients, where samba-to-DOS is fine, but where DOS-to-samba is very slow (~60KB/sec, in my case), the solution is to upgrade to the latest version of samba and apply the fixes outlined in: http://groups.google.com/groups?hl=en&lr=lang_en&threadm=9ktrkl%24g7f%241%40FreeBSD.csie.NCTU.edu.tw&rnum=15&prev=/groups%3Fas_q%3Dsamba%2520slow%26as_oq%3Ddos%2520msdos%26lr%3Dlang_en%26num%3D100%26as_scoring%3Dd However, if you're still experiencing slow transfers from samba to DOS, you may have to further decrease SO_RCVBUF. In my case, I was still having abysmal throughput with Drive Image 5.0, even though the DOS copy command was (finally!) able to transfer data quickly. I was able to fix this using a buffer size of 4096 (8192 did not work), such as (in smb.conf): socket options = TCP_NODELAY SO_RCVBUF=4096 (I should have tried, but did not, increasing SO_RCVBUF to locate the threshold where the throughput drops.) -- Darryl Okahata darrylo@soco.agilent.com DISCLAIMER: this message is the author's personal opinion and does not constitute the support, opinion, or policy of Agilent Technologies, or of the little green men that have been following him all day. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message