From owner-freebsd-current@freebsd.org Mon Mar 8 00:03:28 2021 Return-Path: Delivered-To: freebsd-current@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 8A044554579 for ; Mon, 8 Mar 2021 00:03:28 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from kib.kiev.ua (kib.kiev.ua [IPv6:2001:470:d5e7:1::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4Dtz801Y0pz4pvw; Mon, 8 Mar 2021 00:03:27 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from tom.home (kib@localhost [127.0.0.1]) by kib.kiev.ua (8.16.1/8.16.1) with ESMTPS id 12803DXW004576 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Mon, 8 Mar 2021 02:03:16 +0200 (EET) (envelope-from kostikbel@gmail.com) DKIM-Filter: OpenDKIM Filter v2.10.3 kib.kiev.ua 12803DXW004576 Received: (from kostik@localhost) by tom.home (8.16.1/8.16.1/Submit) id 12803DMs004575; Mon, 8 Mar 2021 02:03:13 +0200 (EET) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: tom.home: kostik set sender to kostikbel@gmail.com using -f Date: Mon, 8 Mar 2021 02:03:13 +0200 From: Konstantin Belousov To: Kyle Evans Cc: Yasuhiro Kimura , FreeBSD Current Subject: Re: Waiting for bufdaemon Message-ID: References: <20210305.160311.867123118349124334.yasu@utahime.org> <20210306.083323.1112779300812727243.yasu@utahime.org> <20210306005643.45feb56d@bsd64.grem.de> <8a549830a3087998c1e2f80a5fb58199@bsdforge.com> <20210306.185955.1096959917131550098.yasu@utahime.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED,BAYES_00, DKIM_ADSP_CUSTOM_MED,FORGED_GMAIL_RCVD,FREEMAIL_FROM, NML_ADSP_CUSTOM_MED autolearn=no autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on tom.home X-Rspamd-Queue-Id: 4Dtz801Y0pz4pvw X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.34 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: Mon, 08 Mar 2021 00:03:28 -0000 On Sun, Mar 07, 2021 at 02:25:45PM -0600, Kyle Evans wrote: > I'm going to be pedantic here, but note that this isn't a tunable. You > cannot, AFAIK, influence the timecounter chosen with kenv; it has to > be set post-boot via sysctl, and if you're really unlucky it could be > that bufdaemon wedges before you manage to change it (though it seems > unlikely). > > I've had some success with setting it to ACPI-fast in sysctl.conf here. Right, I forgot that timecounter.hardware is not tunable, I thought that it was fixed. https://reviews.freebsd.org/D29122