From owner-freebsd-questions@freebsd.org Wed Jun 21 16:04:39 2017 Return-Path: Delivered-To: freebsd-questions@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 E5CC3D92D95 for ; Wed, 21 Jun 2017 16:04:39 +0000 (UTC) (envelope-from tundra@tundraware.com) Received: from oceanview.tundraware.com (oceanview.tundraware.com [45.55.60.57]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mailman.tundraware.com", Issuer "mailman.tundraware.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id AC2DE72122 for ; Wed, 21 Jun 2017 16:04:39 +0000 (UTC) (envelope-from tundra@tundraware.com) Received: from [192.168.0.153] ([172.58.120.227]) (authenticated bits=0) by oceanview.tundraware.com (8.15.2/8.15.2) with ESMTPSA id v5LG4NNd034471 (version=TLSv1.2 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Wed, 21 Jun 2017 11:04:25 -0500 (CDT) (envelope-from tundra@tundraware.com) To: FreeBSD Mailing List From: Tim Daneliuk Subject: FreeBSD and Linux SSD Write Speeds Message-ID: <45657887-638e-bb6d-c318-7046fdea1ca6@tundraware.com> Date: Wed, 21 Jun 2017 11:04:18 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.1.1 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.6.2 (oceanview.tundraware.com [45.55.60.57]); Wed, 21 Jun 2017 11:04:25 -0500 (CDT) X-TundraWare-MailScanner-Information: Please contact the ISP for more information X-TundraWare-MailScanner-ID: v5LG4NNd034471 X-TundraWare-MailScanner: Found to be clean X-TundraWare-MailScanner-From: tundra@tundraware.com X-Spam-Status: No X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Jun 2017 16:04:40 -0000 Disclaimer: Tests below run on lightly loaded systems, but results are ... surprising: Test Case: dd if=/dev/zero of=foo bs=8M count=512 Linux 4.4.0-21-generic on a 2.66GHz Core2 Duo w/8GB memory, older OCZ SSD/ext4: 310MB/sec writes FreeBSD 10-STABLE on an 3.2 GHz Quad Core i5 w/8GB memory, newer Kingston SSD/ufs: 210MB/sec writes Results are repeatable. So, what is the likely culprit making FreeBSD 1/3 slower? The FreeBSD system does does / nfs exported (which I don't quite yet understand since all the nfs mount points are below it) at the moment, but there is little or no nfs traffic.