From owner-freebsd-current@freebsd.org Fri Sep 7 16:05:29 2018 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 26081FFE9C0 for ; Fri, 7 Sep 2018 16:05:29 +0000 (UTC) (envelope-from markjdb@gmail.com) Received: from mail-pl1-x634.google.com (mail-pl1-x634.google.com [IPv6:2607:f8b0:4864:20::634]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 94CF48F2D0; Fri, 7 Sep 2018 16:05:28 +0000 (UTC) (envelope-from markjdb@gmail.com) Received: by mail-pl1-x634.google.com with SMTP id ba4-v6so6791637plb.11; Fri, 07 Sep 2018 09:05:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=siqUhPf2dHPsQb6rUsMMqRAcPWvJvCF73NCY5fgDEcU=; b=iYcGr/czZtM+xo/SX182kI4d9bRCjZVQ9gfvTeqaGtN/GcoiMMTfuY9IO+thRkDLGO Wegb0kWJSogfBAEg8lnC+PuMSjCyREJBykDTeKLbW7jaNs7WA1PgBS5qa2V9SlmCxrjM w4MFEHPoSuc1n5v63De9mD73+8sFuFa2gjzkDUf9D+xeV9dkHRz1ChfqTCCNikDZBm7p 0065SqmRq4VydzuI/ijcFOj6JDr9J4fFwfGzEL/ZpCd2NwT144NPiQePfJSSq5AP926p bxORWDgtW5MySHIa9C0GqmVh7gByt17kg6nRcbu8R0IZ9itMcET/0p0xhLZENxq5FJj0 SBGA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :references:mime-version:content-disposition:in-reply-to:user-agent; bh=siqUhPf2dHPsQb6rUsMMqRAcPWvJvCF73NCY5fgDEcU=; b=iunM+56ejcpyrQBRNrdOQaiwvKX7cRGQoUSYwyLPabPQ1bTSm8AMf4R0P/ztMT+r3s 5WiUmEp3llVedKCajs/f8tu9EA/vwNdqnCpuy8633t6K1CoDgBU//1BNz3kzrEG0ODSj Uj1RJAwQkAwxtAxSWiZUaFAD5xyvhCVm19kDyOlfDE2s3M7+36wASbkD43UL/2YbqfoG Pqj+E7WVeKu0O90Y5xWP++HFVYDgl1QZ7GKVSbRrdApo0ebUiRbue3Fhh+upOa5fidnn wRQcfe1yMsqnRdHNi3Lx/ynTifUEnGtgc6sWL+wZFNtSGnF6LlVI35NZRPElT3Cq2yr7 L+JA== X-Gm-Message-State: APzg51C7fHdfkkBnVRjCSuzxFCp2ggaglHY8EMVML5dndfb0BoYtOvPv b1uu1ZdiKKMt1kbGxyn0JIk= X-Google-Smtp-Source: ANB0VdZhUSw3Ga50e8gfZk0Fi5fOgLaPOwRYyGVaESnCtp1UWNKhkowoX7KAu+tGiPpO3L5ZFLeWNg== X-Received: by 2002:a17:902:6b0b:: with SMTP id o11-v6mr8669805plk.214.1536336327584; Fri, 07 Sep 2018 09:05:27 -0700 (PDT) Received: from raichu (toroon0560w-lp130-09-70-52-224-239.dsl.bell.ca. [70.52.224.239]) by smtp.gmail.com with ESMTPSA id b64-v6sm11142762pfg.66.2018.09.07.09.05.26 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 07 Sep 2018 09:05:26 -0700 (PDT) Sender: Mark Johnston Date: Fri, 7 Sep 2018 12:05:23 -0400 From: Mark Johnston To: Subbsd Cc: allanjude@freebsd.org, freebsd-current Current Subject: Re: ZFS perfomance regression in FreeBSD 12 APLHA3->ALPHA4 Message-ID: <20180907160523.GC63224@raichu> References: <20180906002825.GB77324@raichu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Sep 2018 16:05:29 -0000 On Fri, Sep 07, 2018 at 04:34:23PM +0300, Subbsd wrote: > > > > On 2018-09-05 10:04, Subbsd wrote: > > > > > Hi, > > > > > > > > > > I'm seeing a huge loss in performance ZFS after upgrading FreeBSD 12 > > > > > to latest revision (r338466 the moment) and related to ARC. > > > > > > Unfortunately, I can not conduct sufficiently serious regression tests > right now (e.g through benchmark tools, with statistics via PMC(3), > etc.). However, I can do a very surface comparison - for example with > find. > tested revision: 338520 > loader.conf settings: vfs.zfs.arc_max="128M" > > meta strategy ARC_STRATEGY_META_BALANCED result: > > % time find /usr/ports -type f > /dev/null > 0.495u 6.912s 7:20.88 1.6% 34+172k 289594+0io 0pf+0w > > meta strategy ARC_STRATEGY_META_ONLY: > % time find /usr/ports -type f > /dev/null > 0.721u 7.184s 4:57.18 2.6% 34+171k 300910+0io 0pf+0w > > So the difference in ~183 seconds. > Both test started after a full boot OS cycle. Seems like a pretty substantial difference. Is this roughly the same performance that you had before the upgrade to -ALPHA4?