From owner-freebsd-questions@freebsd.org Wed Jun 21 18:33:50 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 18C62D96005 for ; Wed, 21 Jun 2017 18:33:50 +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 D0281783BD for ; Wed, 21 Jun 2017 18:33:49 +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 v5LIXgrP036956 (version=TLSv1.2 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Wed, 21 Jun 2017 13:33:43 -0500 (CDT) (envelope-from tundra@tundraware.com) Subject: Re: FreeBSD and Linux SSD Write Speeds To: FreeBSD Mailing List References: <45657887-638e-bb6d-c318-7046fdea1ca6@tundraware.com> <41839.128.135.52.6.1498062473.squirrel@cosmo.uchicago.edu> From: Tim Daneliuk Message-ID: <3a2eabbe-1bef-5c56-f7af-8f054baa87e5@tundraware.com> Date: Wed, 21 Jun 2017 13:33:36 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.1.1 MIME-Version: 1.0 In-Reply-To: <41839.128.135.52.6.1498062473.squirrel@cosmo.uchicago.edu> 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 13:33:44 -0500 (CDT) X-TundraWare-MailScanner-Information: Please contact the ISP for more information X-TundraWare-MailScanner-ID: v5LIXgrP036956 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 18:33:50 -0000 On 06/21/2017 11:27 AM, Valeri Galtsev wrote: > sync; date; dd if=/dev/zero of=foo bs=8M count=512; sync; date So I just did this: sync; date; dd if=/dev/zero of=foo bs=8M count=1024; sync; date And got this: Linux: Wed Jun 21 13:30:22 CDT 2017 1024+0 records in 1024+0 records out 8589934592 bytes (8.6 GB, 8.0 GiB) copied, 33.523 s, 256 MB/s Wed Jun 21 13:30:57 CDT 2017 FreeBSD: Wed Jun 21 13:28:23 CDT 2017 1024+0 records in 1024+0 records out 8589934592 bytes transferred in 46.508336 secs (184696666 bytes/sec) Wed Jun 21 13:29:10 CDT 2017 So ... still a pretty big disparity I don't want to test against a raw device or partition because that's not how these systems get used. My FreeBSD FS is UFS and maybe that simply is not as efficient on an SSD as ext4. This isn't a big deal, just an eyebrow raiser for me. I've used FreeBSD as a production OS since 2.x and have always found it to be consistently quicker and have a smaller footprint than Linux. This was just a surprise. -- ---------------------------------------------------------------------------- Tim Daneliuk tundra@tundraware.com PGP Key: http://www.tundraware.com/PGP/