From owner-freebsd-questions@freebsd.org Wed Jun 21 18:47:18 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 0E5D2D96843 for ; Wed, 21 Jun 2017 18:47:18 +0000 (UTC) (envelope-from jd1008@gmail.com) Received: from mail-io0-x233.google.com (mail-io0-x233.google.com [IPv6:2607:f8b0:4001:c06::233]) (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 BAF1278C17 for ; Wed, 21 Jun 2017 18:47:17 +0000 (UTC) (envelope-from jd1008@gmail.com) Received: by mail-io0-x233.google.com with SMTP id h134so1167935iof.2 for ; Wed, 21 Jun 2017 11:47:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-transfer-encoding; bh=aSlO9uhF/9A8j3iUI0+yKZVzLPhJf/CfwKuDLJIaS6k=; b=bC9mcVHKlS4VO2jhCGvrf7w9lXefuubi3FeQr0o935rQHhWccTYig3XyzLhi25s94s V0p29pmpxUXBz2LNRDJ5TzbzfnTB19K8N2d1mgXs2/3NTE+Ur2jZTectB9YlDliggEy9 MhJJfx8TCberR7djz2mlpSFxETtfKeKPI79x7g+dwV5vhDfnJ5Id73nPtguJLBitYnwh Bz4EedUfRtD7bKsh82phy1EI+bSO222sxjZWGFGGMcpbpKC9OTJmCWGCAF4uJaTcJWEH AnI+9P25VwXPdWUolWv13+eywD7D87ZY94FNBMteCG8ScXTwJ64kxQViigPJMJNfcYRl pPOA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=aSlO9uhF/9A8j3iUI0+yKZVzLPhJf/CfwKuDLJIaS6k=; b=JSvevKVmAvWVG0rPTxRY3pqQgzZ7+qDY6yd8SO5VwszIIhrXrnaIOttkH/5Jwy0Sbg fgn8wfr/0zlAkm2AMT4HTr7heK9yk0pWYLIivSuwbvq2X84/dr/I3KkfxeEUmKoRLnJk h15KLgM7cJnVMlOwHGtVkJcEWwnr0UqvyZDL88XOMgoXWrJPGhDnvtIG+927VDOBiO5k DuogOrK9D/cosVv25nD+LAmHeWJHLyydm1o9X3Kc0FhRZLCvtuz6ucKhOFr+WI8JjPit vXmI2oLTo4eaElcjYiAEeDEr643apvb9NXR3+Z73fsRqDibAbThHCNzAnU1iVed1QmHv rldA== X-Gm-Message-State: AKS2vOyFS4HINNJK2FjJ7+KnI5IPIadqrwatd2RXudGWRJqshygjyfxA 5gGOn0jhrQiCjunS X-Received: by 10.107.133.67 with SMTP id h64mr32262890iod.230.1498070837032; Wed, 21 Jun 2017 11:47:17 -0700 (PDT) Received: from localhost.localdomain (50-243-4-3-static.hfc.comcastbusiness.net. [50.243.4.3]) by smtp.googlemail.com with ESMTPSA id h63sm10989569itd.10.2017.06.21.11.47.16 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 21 Jun 2017 11:47:16 -0700 (PDT) Subject: Re: FreeBSD and Linux SSD Write Speeds To: freebsd-questions@freebsd.org 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> From: JD Message-ID: <594ABF2B.9050509@gmail.com> Date: Wed, 21 Jun 2017 12:47:07 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.0.1 MIME-Version: 1.0 In-Reply-To: <3a2eabbe-1bef-5c56-f7af-8f054baa87e5@tundraware.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit 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:47:18 -0000 On 06/21/2017 12: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 > > 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. By my prior use of BSD and after that FreeBSD, the UFS was never a shining star of disk I/O speeds.