From owner-freebsd-questions@freebsd.org Wed Jun 21 16:45:52 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 21DA5D93CEB for ; Wed, 21 Jun 2017 16:45:52 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: from mail-wr0-x236.google.com (mail-wr0-x236.google.com [IPv6:2a00:1450:400c:c0c::236]) (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 AAF1773BED for ; Wed, 21 Jun 2017 16:45:51 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: by mail-wr0-x236.google.com with SMTP id y25so103282516wrd.2 for ; Wed, 21 Jun 2017 09:45:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=BahrE1h1VzrEH1ITRZx6Lt4HplXcLEQNiBDZet5z7sw=; b=DlnShRyHf1HwqOgO7Y7vvC4l+8XKyrHwQ2Bjam2l7oz83HVfwCfc4qzwbNL1civ+Ox 8s70Zyf5zFDuWJQQjZf66zf+xJu2dzJwijFqjlNo3mPQuDxuenwfUfizpY1Hyd7at8QW ilvbvNwx/bMGhRmRVYH9B6gNEAyL7GbjrTMN89NB7NRXp63NxZZcFn3Zkx3C2Wkx4KWs IcQQL/ZNFAgoxmDl7rzYDUxENF4nAZh3t2iD49MXXGDHlC9ba/ihQh1s+LkOa4d5PRPW qNi+VhZBzZNrENK+zIqmWaRUNEkDPRSCKg9XFhy3NZ8oRb1bbzW0unyJzM6q6FSsmovA QEWw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=BahrE1h1VzrEH1ITRZx6Lt4HplXcLEQNiBDZet5z7sw=; b=Wfs3eNieVjtqdbnkJ9mWq3b2dLENHYSnHRwsftrenj63hmJLuGD5aYbKnuS6mPyUKq mT100mhkt3vYTZYfJMHt7D1ZZYf7VNOCzRQxiRvcGFDaXyA1Lg6RSZjpa967R7AW8CII MeX3ahJIDBI1TyaGXuFL9SNwJU3Y5UyF5eB2IjstCnOerGjw0hd7HwXP3QtHmVsvWmcR P6VhamWyqcxz4F/fDDZr7pWaaGr1Wd2lgwrqJadBb7LFTEzmKDCi0ll1YQ/Vx9NgaILg 3ZrWpT99J91IYC+G+m0Vce4oG0/8H6TYX9jtfMn0ntmU+xnYprBGBesbRz8slrlvTtVY 9BDQ== X-Gm-Message-State: AKS2vOw54PY8nOMEnLB3xHpnSbnqGZITgsAib5y5HZ+8aqElpZKLrgZ4 IihPZB8Dz+hoU1FwLNFTWYlVFeI3ug== X-Received: by 10.80.172.98 with SMTP id w31mr25571986edc.120.1498063550010; Wed, 21 Jun 2017 09:45:50 -0700 (PDT) MIME-Version: 1.0 Received: by 10.80.172.100 with HTTP; Wed, 21 Jun 2017 09:45:49 -0700 (PDT) In-Reply-To: <45657887-638e-bb6d-c318-7046fdea1ca6@tundraware.com> References: <45657887-638e-bb6d-c318-7046fdea1ca6@tundraware.com> From: Adam Vande More Date: Wed, 21 Jun 2017 11:45:49 -0500 Message-ID: Subject: Re: FreeBSD and Linux SSD Write Speeds To: Tim Daneliuk Cc: FreeBSD Mailing List Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.23 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:45:52 -0000 On Wed, Jun 21, 2017 at 11:04 AM, Tim Daneliuk wrote: > 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. > SSD speeds can vary greatly based upon models. What steps did you take to ensure the rates you are seeing aren't completely normal? -- Adam