From owner-freebsd-hackers@freebsd.org Sat Nov 14 00:31:03 2015 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id BDED6A2EE6C for ; Sat, 14 Nov 2015 00:31:03 +0000 (UTC) (envelope-from jhellenthal@dataix.net) Received: from mail-ig0-x235.google.com (mail-ig0-x235.google.com [IPv6:2607:f8b0:4001:c05::235]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 804491FAD for ; Sat, 14 Nov 2015 00:31:03 +0000 (UTC) (envelope-from jhellenthal@dataix.net) Received: by igvi2 with SMTP id i2so46773148igv.0 for ; Fri, 13 Nov 2015 16:31:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dataix.net; s=rsa; h=content-type:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=IghE7lfakDNkzhI9W5qc4+uzzKDnKM1pED5eem+A6Ec=; b=aQ6FhR3U1YCGVu8Ek5F3dSknJQ5wPVio25wYo77FHb1RXljoZNIxnfaGLnaV0g6dX2 NoDlyZ/VHyELpFzritrDjsoEewFYZJ2GLOCK61EJwjHsSUVNeY5JDy1RQeLi9X4Ynd1n BqttJjV/D2tfuyg+RrtVT+Y7ljLF94xuKz4rQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:content-type:mime-version:subject:from :in-reply-to:date:cc:content-transfer-encoding:message-id:references :to; bh=IghE7lfakDNkzhI9W5qc4+uzzKDnKM1pED5eem+A6Ec=; b=GuF/yJa2pE66LqPl9Qe2p+F8797rMdqjHeQvLJWl/mdVrOHXH9hKuqEUgwjGA9l5Zy 4RsWln8wA+vRsGCSmuZRQTNrUv/e54JrFrBx7ZZ/97LC0qDIgdLAKCtCmPv3y4gp+rMt 46PV7E2gEAR1chjvAH9FI/xDZ96x3MvPqUfeYRkSPbRz8vDT7cZHTmLX1GBVDU84paOz 1bLsixKpuI7FDSZVMSxiRg70wP1+NKDEq4E9OBSRp/CMDbUyHD0QGtijT13kW4K7CHkN PkCdDXV0BibMIKPhG1o6Oqgi1LzxQ9OPoc54iwkBZC74/tNNOA1YdNkPkxkQZQ+xSfYZ eYwQ== X-Gm-Message-State: ALoCoQnBtMlKAbAWgP4/SboAd6rwCMG4m9tI63QrMurJgeKc/QvKZ506pSSnvlJoqhOQ8FCk9VwF X-Received: by 10.50.3.34 with SMTP id 2mr6889057igz.54.1447461062743; Fri, 13 Nov 2015 16:31:02 -0800 (PST) Received: from [172.31.32.31] (cpe-65-26-238-24.wi.res.rr.com. [65.26.238.24]) by smtp.gmail.com with ESMTPSA id s38sm5971959ioi.18.2015.11.13.16.31.02 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 13 Nov 2015 16:31:02 -0800 (PST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (1.0) Subject: Re: FreeBSD smbfs horribly slow From: Jason Hellenthal X-Mailer: iPhone Mail (13B143) In-Reply-To: <56467E7B.3010704@freebsd.org> Date: Fri, 13 Nov 2015 18:31:01 -0600 Cc: freebsd-hackers@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: References: <20151113162548.61529137@Papi> <56463ACE.5020605@freebsd.org> <56467E7B.3010704@freebsd.org> To: Allan Jude X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 14 Nov 2015 00:31:03 -0000 Is that with the QoS Limit Reservable Bandwidth set to zero ? Or QoS uncheck= ed (disabled) on the source interface of the Win7 machine. By default Win7 l= imits 10% bandwidth reserved without adjusting the local GPO of the system a= nd sometimes fights with itself to get you the information as quick as you'd= like. Changes here are immediate=20 http://windows7themes.net/en-us/disable-bandwidth-limit-in-windows-7-speed-u= p-your-internet/ --=20 Jason Hellenthal JJH48-ARIN On Nov 13, 2015, at 18:21, Allan Jude wrote: > On 2015-11-13 14:32, Allan Jude wrote: >> On 2015-11-13 14:25, Mario Lobo wrote: >> Hi; >>=20 >> It seems no one in @questions had any info/pointers/interest on this >> so I'm trying @hackers for some light. >>=20 >> Thanks, >>=20 >>=20 >> Begin forwarded message: >>=20 >> Date: Wed, 11 Nov 2015 17:53:11 -0300 >> From: Mario Lobo >> To: freebsd-questions >> Subject: FreeBSD smbfs horribly slow >>=20 >> Googling on this subject, I found: >>=20 >> http://lists.freebsd.org/pipermail/freebsd-questions/2005-September/09871= 7.html >> https://lists.freebsd.org/pipermail/freebsd-net/2013-January/034239.html >> https://lists.freebsd.org/pipermail/freebsd-questions/2014-October/261804= .html >>=20 >> I am on 10.2-STABLE and using FreeBSD as a client to any amb share >> continues to be very slow. >>=20 >> The share is mounted through mount_smbfs. I tried smbnetfs (fuse) and >> it is just a tiny bit better but doesn't compare to other clients >> (linux or win) when writing/reading files >>=20 >> It gets even worse if an application is doing operations with variable >> size records inside a data file on the share. >>=20 >> Does anyone have any advice to improve this? >>=20 >> Thanks, >>=20 >>=20 >>=20 >> _______________________________________________ >> freebsd-hackers@freebsd.org mailing list >> https://lists.freebsd.org/mailman/listinfo/freebsd-hackers >> To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org= " >=20 > What kind of operations are you doing? >=20 > I just mounted a share from my windows desktop on my FreeBSD -CURRENT > machine, and was able to write new files at 64 megabytes/s (roughly 1/2 > the available gigabit/sec) >=20 > Reading it back only got 50 megabytes/s, not sure why. My tests: #mount_smbfs -I 10.1.1.2 //allan@seawolf/junk /mnt Password: #cd /mnt #ls bsdnow_ep104_0.mov bsdnow_ep106_8.mov bsdnow_ep114_1.mov bsdnow_ep104_2.mov bsdnow_ep106_8b.mov #dd if=3D/dev/zero of=3Dzerofile bs=3D1m count=3D4k 4096+0 records in 4096+0 records out 4294967296 bytes transferred in 65.787577 secs (65285385 bytes/sec) dd if=3Dzerofile of=3D/dev/null bs=3D1m ^C2446+0 records in 2446+0 records out 2564816896 bytes transferred in 50.894606 secs (50394670 bytes/sec) #cd / #umount /mnt --=20 Allan Jude