From owner-freebsd-performance@FreeBSD.ORG Sat May 27 16:10:02 2006 Return-Path: X-Original-To: performance@freebsd.org Delivered-To: freebsd-performance@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 91B4816A974 for ; Sat, 27 May 2006 16:10:02 +0000 (UTC) (envelope-from Rich@WhiteOakLabs.com) Received: from whiteoaklabs.com (mail.whiteoaklabs.com [69.55.226.191]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1B61F43D4C for ; Sat, 27 May 2006 16:10:02 +0000 (GMT) (envelope-from Rich@WhiteOakLabs.com) Received: from xa.home.org (cpe-24-174-83-226.houston.res.rr.com [24.174.83.226]) by whiteoaklabs.com (8.12.11/8.12.11) with ESMTP id k4RG9xxX013476 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Sat, 27 May 2006 09:10:01 -0700 Received: from [172.16.1.6] (a.home.org [172.16.1.6]) by xa.home.org (8.13.4/8.13.4) with ESMTP id k4RG9ufW084519 for ; Sat, 27 May 2006 11:09:57 -0500 (CDT) (envelope-from Rich@WhiteOakLabs.com) Message-ID: <447879D3.1070204@WhiteOakLabs.com> Date: Sat, 27 May 2006 11:09:55 -0500 From: "Dr. Rich Murphey" User-Agent: Thunderbird 1.5.0.2 (Windows/20060308) MIME-Version: 1.0 To: performance@freebsd.org References: <20060525174211.46064.qmail@web36315.mail.mud.yahoo.com> <4475F75C.4090908@rogers.com> In-Reply-To: <4475F75C.4090908@rogers.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: Re: Poor Samba throughput on 6.0 X-BeenThere: freebsd-performance@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Performance/tuning List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 May 2006 16:10:12 -0000 Mike Jakubik wrote: > Nash Nipples wrote: >> Hi Guys, >> has anyone actually managed to speed up the thing up to 10-12 MB/s >> >> i have a good 7-9 MB/s on large files and that should be enough, but >> still, out of curiosity? >> > > No, not really. The performance of samba on freebsd still sucks. I > have a gigabit link between my samba server and windows xp > workstation, both use the intel em card. The fastest i can download > from the freebsd server is 15.946 MB/s, fastest upload to is 13.594 > MB/s. Thats pretty poor for a gigabit link. However, 9MB/s on your > link is not bad at all, one has to consider the protocol overhead. I get 25 to 30MB/sec between FreeBSD 6.0 and Windows XP clients with tcp.inflight disabled and interrupt polling enabled on a 1gb link without jumbo frames. The various Linux distributions do about the same on this hardware - 3ware striped raid arrays, dual xeon, and 2Gb ram. in smb.conf I'm using: socket options = TCP_NODELAY strict locking = no use sendfile = yes 6.1 should be easier to tune in that tcp.inflight is selectively disabled by default for low latency (LAN) connections. Rich