From owner-freebsd-fs@freebsd.org Wed Mar 24 12:58:56 2021 Return-Path: Delivered-To: freebsd-fs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 61D675B52D2 for ; Wed, 24 Mar 2021 12:58:56 +0000 (UTC) (envelope-from mchouque@thi.eu.com) Received: from relay4-d.mail.gandi.net (relay4-d.mail.gandi.net [217.70.183.196]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4F57bM3KKmz4Sfg for ; Wed, 24 Mar 2021 12:58:54 +0000 (UTC) (envelope-from mchouque@thi.eu.com) X-Originating-IP: 62.210.143.248 Received: from weirdfishes.localdomain (62-210-143-248.rev.poneytelecom.eu [62.210.143.248]) (Authenticated sender: m@thi.eu.com) by relay4-d.mail.gandi.net (Postfix) with ESMTPSA id 9EB7BE0010; Wed, 24 Mar 2021 12:58:52 +0000 (UTC) Received: by weirdfishes.localdomain (Postfix, from userid 1000) id 502CC7203B9D5; Wed, 24 Mar 2021 13:58:52 +0100 (CET) Date: Wed, 24 Mar 2021 13:58:52 +0100 From: Mathieu Chouquet-Stringer To: Martin Simmons Cc: freebsd-fs@freebsd.org Subject: Re: Scrub incredibly slow with 13.0-RC3 (as well as RC1 & 2) Message-ID: References: <202103221515.12MFFHRK015188@higson.cam.lispworks.com> <202103241230.12OCUqur030001@higson.cam.lispworks.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <202103241230.12OCUqur030001@higson.cam.lispworks.com> X-Face: %JOeya=Dg!}[/#Go&*&cQ+)){p1c8}u\Fg2Q3&)kothIq|JnWoVzJtCFo~4X List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Mar 2021 12:58:56 -0000 On Wed, Mar 24, 2021 at 12:30:52PM +0000, Martin Simmons wrote: > FWIW, I think the new scrub algorithm was added in 2018. You're right, git says Wed Nov 15 20:27:01 2017 -0500 > You could try to profile it: > > https://wiki.freebsd.org/DTrace/Tutorial#Lesson_9._Profile_On-CPU_Kernel_Stacks dtrace, hello old friend... :-) That's the next step... -- Mathieu Chouquet-Stringer The sun itself sees not till heaven clears. -- William Shakespeare --