From owner-freebsd-fs@freebsd.org Sat Mar 27 16:36:10 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 0B13B579532 for ; Sat, 27 Mar 2021 16:36:10 +0000 (UTC) (envelope-from mchouque@thi.eu.com) Received: from relay12.mail.gandi.net (relay12.mail.gandi.net [217.70.178.232]) (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 4F74Gc6lXRz3vtf for ; Sat, 27 Mar 2021 16:36:07 +0000 (UTC) (envelope-from mchouque@thi.eu.com) Received: from weirdfishes.localdomain (62-210-143-248.rev.poneytelecom.eu [62.210.143.248]) (Authenticated sender: m@thi.eu.com) by relay12.mail.gandi.net (Postfix) with ESMTPSA id 6D2E9200005; Sat, 27 Mar 2021 16:36:05 +0000 (UTC) Received: by weirdfishes.localdomain (Postfix, from userid 1000) id 2AF3D7203B9D5; Sat, 27 Mar 2021 17:36:05 +0100 (CET) Date: Sat, 27 Mar 2021 17:36:05 +0100 From: Mathieu Chouquet-Stringer To: freebsd-fs@freebsd.org Subject: Re: Scrub incredibly slow with 13.0-RC3 (as well as RC1 & 2) Message-ID: References: MIME-Version: 1.0 In-Reply-To: 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: Sat, 27 Mar 2021 16:36:10 -0000 On Sat, Mar 27, 2021 at 05:06:43PM +0100, Mathieu Chouquet-Stringer wrote: > I am attaching a flamegraph for that busy process: again a lot of > hpet_get_timecount... So I went and disabled hpet in kvm: I gained 30 > seconds and again, playing with vfs.read_max made no difference but then > again it's a ssd. And given I still am cpu bound I'm not sure I'll gain > anything by playing with block sizes... But the first lesson is to not > use hpet with KVM. Forgot to attache the svg file... -- Mathieu Chouquet-Stringer The sun itself sees not till heaven clears. -- William Shakespeare --