Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Jun 2017 13:33:36 -0500
From:      Tim Daneliuk <tundra@tundraware.com>
To:        FreeBSD Mailing List <freebsd-questions@freebsd.org>
Subject:   Re: FreeBSD and Linux SSD Write Speeds
Message-ID:  <3a2eabbe-1bef-5c56-f7af-8f054baa87e5@tundraware.com>
In-Reply-To: <41839.128.135.52.6.1498062473.squirrel@cosmo.uchicago.edu>
References:  <45657887-638e-bb6d-c318-7046fdea1ca6@tundraware.com> <41839.128.135.52.6.1498062473.squirrel@cosmo.uchicago.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
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/




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3a2eabbe-1bef-5c56-f7af-8f054baa87e5>