Date: Wed, 21 Jun 2017 16:04:00 -0500 (CDT) From: "Valeri Galtsev" <galtsev@kicp.uchicago.edu> To: "Tim Daneliuk" <tundra@tundraware.com> Cc: "FreeBSD Mailing List" <freebsd-questions@freebsd.org> Subject: Re: FreeBSD and Linux SSD Write Speeds Message-ID: <18281.128.135.52.6.1498079040.squirrel@cosmo.uchicago.edu> In-Reply-To: <3a2eabbe-1bef-5c56-f7af-8f054baa87e5@tundraware.com> References: <45657887-638e-bb6d-c318-7046fdea1ca6@tundraware.com> <41839.128.135.52.6.1498062473.squirrel@cosmo.uchicago.edu> <3a2eabbe-1bef-5c56-f7af-8f054baa87e5@tundraware.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, June 21, 2017 1:33 pm, Tim Daneliuk wrote: > 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 It is. > > 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. OK, at least it is not zfs on FreeBSD: zfs has its reasons to be slower. As others mentioned, it can be one or more of: particular two devices performance difference; less than optimal parameters of UFS; UFS itself being not that "shiny" compared ext4 ( I somehow discount the difference in scheduler, process switching, etc...) Oh, well... I feel like devoting some time to experimenting too: curiosity ;-) Valeri > > 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/ > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" > ++++++++++++++++++++++++++++++++++++++++ Valeri Galtsev Sr System Administrator Department of Astronomy and Astrophysics Kavli Institute for Cosmological Physics University of Chicago Phone: 773-702-4247 ++++++++++++++++++++++++++++++++++++++++
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?18281.128.135.52.6.1498079040.squirrel>