From owner-dev-commits-src-main@freebsd.org Fri Jun 18 15:32:45 2021 Return-Path: Delivered-To: dev-commits-src-main@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 CE20864878B; Fri, 18 Jun 2021 15:32:45 +0000 (UTC) (envelope-from eugen@grosbein.net) Received: from hz.grosbein.net (hz.grosbein.net [IPv6:2a01:4f8:c2c:26d8::2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "hz.grosbein.net", Issuer "hz.grosbein.net" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4G62x93lqRz4myh; Fri, 18 Jun 2021 15:32:45 +0000 (UTC) (envelope-from eugen@grosbein.net) Received: from eg.sd.rdtc.ru (root@eg.sd.rdtc.ru [62.231.161.221] (may be forged)) by hz.grosbein.net (8.15.2/8.15.2) with ESMTPS id 15IFWg88075471 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 18 Jun 2021 15:32:43 GMT (envelope-from eugen@grosbein.net) X-Envelope-From: eugen@grosbein.net X-Envelope-To: jhb@FreeBSD.org Received: from [10.58.0.10] (dadvw [10.58.0.10]) by eg.sd.rdtc.ru (8.16.1/8.16.1) with ESMTPS id 15IFWgGb045799 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT); Fri, 18 Jun 2021 22:32:42 +0700 (+07) (envelope-from eugen@grosbein.net) Subject: Re: git: 4c0bc591466f - main - man9: add hz(9) and hardclock(9) To: John Baldwin , Warner Losh , src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org References: <202106181443.15IEhn4t010735@gitrepo.freebsd.org> <10df4ab6-bee0-58f5-7d42-92850d526e01@FreeBSD.org> From: Eugene Grosbein Message-ID: <7c4c7acc-1fe4-28e4-4e1c-c08912eb0f99@grosbein.net> Date: Fri, 18 Jun 2021 22:32:34 +0700 User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: <10df4ab6-bee0-58f5-7d42-92850d526e01@FreeBSD.org> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=4.3 required=5.0 tests=BAYES_20,LOCAL_FROM, NICE_REPLY_A,RDNS_NONE,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.2 X-Spam-Report: * -0.0 BAYES_20 BODY: Bayes spam probability is 5 to 20% * [score: 0.1303] * -0.0 SPF_PASS SPF: sender matches SPF record * 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record * 2.6 LOCAL_FROM From my domains * 1.9 RDNS_NONE Delivered to internal network by a host with no rDNS * -0.2 NICE_REPLY_A Looks like a legit reply (A) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on hz.grosbein.net X-Spam-Level: **** X-Rspamd-Queue-Id: 4G62x93lqRz4myh X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-BeenThere: dev-commits-src-main@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Commit messages for the main branch of the src repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Jun 2021 15:32:45 -0000 18.06.2021 22:18, John Baldwin wrote: > OTOH, it's > also true that there's no real reason for anything outside of the actual timer > code to use stathz (or even profhz) unlike 'hz' which is still used to set > timeout tick values. Not agreed: how do I get reliable per-CPU load stats in userland without sysctl kern.cp_times that exports incrementing raw "stathz-tick" counters? I need them to draw per-CPU graphs.