From owner-freebsd-net@FreeBSD.ORG Tue Jan 8 06:14:21 2013 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 36417636; Tue, 8 Jan 2013 06:14:21 +0000 (UTC) (envelope-from delphij@delphij.net) Received: from anubis.delphij.net (anubis.delphij.net [IPv6:2001:470:1:117::25]) by mx1.freebsd.org (Postfix) with ESMTP id F04BFD04; Tue, 8 Jan 2013 06:14:20 +0000 (UTC) Received: from Xins-MacBook-Pro-2.local (unknown [IPv6:2001:470:83bf:0:fde3:6b6f:53d:dc1a]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by anubis.delphij.net (Postfix) with ESMTPSA id 6C50D1FDC7; Mon, 7 Jan 2013 22:14:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=delphij.net; s=anubis; t=1357625660; bh=uLLSAdeAOtEKdK+P87xJDpN3nXAlUDa5WRKDUlkvIcU=; h=Date:From:Reply-To:To:CC:Subject:References:In-Reply-To; b=krGJqOZHx3lY7E36walayarIYEiA38ew+TO5jMW77MFU319detfC9xzcSvkuNs5Uo E3JOYiL3eLTyaFvTFO+JACcZTOUi82pgWnyxHznkHsWewMAKwKvBrFQzB5N5yxoOs5 IgLzuzzBMeKC9lq6zpu4CjfykGnA+49YSJKx/5/c= Message-ID: <50EBB93C.8000709@delphij.net> Date: Mon, 07 Jan 2013 22:14:20 -0800 From: Xin Li Organization: The FreeBSD Project MIME-Version: 1.0 To: freebsd-net@freebsd.org Subject: Re: smbfs slow compared to smbclient References: <50EBB67E.3040704@aldan.algebra.com> In-Reply-To: <50EBB67E.3040704@aldan.algebra.com> X-Enigmail-Version: 1.4.6 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Davide Italiano X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: d@delphij.net List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Jan 2013 06:14:21 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 On 1/7/13 10:02 PM, Mikhail T. wrote: > Hello! > > I found this same question asked back in 2005, but never answered: > > > http://lists.freebsd.org/pipermail/freebsd-questions/2005-September/098717.html > > > > Today, 7 years later, using FreeBSD-9.1 I observe, that copying a > file to an SMB-server (a box with embedded Linux, actually), I get > just under 1Mb/s using an smbfs mount. > > On contrast, uploading the same file to the same remote host using > smbclient runs at between 8 and 9 Mb/s. > > Is this a known discrepancy? Are there tweaks to be applied to the > smbfs mount, that can make it perform better? Thanks! Yours, I think this is a known issue. Davide (cc'ed) had worked on smbfs recently and eliminated Giant on smbfs dependencies so I think he would have a lot of saying on this.. Cheers, -----BEGIN PGP SIGNATURE----- iQEcBAEBCAAGBQJQ67k8AAoJEG80Jeu8UPuzQBAH/jf0FY8EZ+BD+4KKqrpaTmG9 WftAGmnByHUat8OBtb6+Sztkpr14VWcxYNcytTbqH6zMBgeA7koJtuzO8JVpxMM9 Btno2TJkL9zUKC6fkHs5Zd14TNJ/v29CE+6ooQbC4K791PaMcg2vP++Ce9EXmqkA Pew/3846rjhdY0H7weNDtz3G/XBCXEP0i2kq3PH5E9dvazIIXMa3z7KMs4935I29 /PBrNGnaxbXyxUqvLQGlxnR8BZKCewH8camhSNUlbb3gkghug74fwbRw/v8HFZcj SUOV/6ujhcjzmHCGAJsQ+WysCqJb7hFEUOZXbXEEOvmh4Nsm5f4P9JPauv6xs+I= =bZ2X -----END PGP SIGNATURE-----