From nobody Tue Jan 24 19:10:14 2023 X-Original-To: freebsd-questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4P1c4X14KYz3bGMc for ; Tue, 24 Jan 2023 19:10:36 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from se6.syd.hostingplatform.net.au (se6.syd.hostingplatform.net.au [IPv6:2400:b800:5::52]) (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 4P1c4V6yMxz3nmY for ; Tue, 24 Jan 2023 19:10:34 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=nimnet.asn.au header.s=default header.b=gQETSqwK; spf=pass (mx1.freebsd.org: domain of smithi@nimnet.asn.au designates 2400:b800:5::52 as permitted sender) smtp.mailfrom=smithi@nimnet.asn.au; dmarc=none Received: from s121.syd3.hostingplatform.net.au ([103.27.34.4]) by se6.syd.hostingplatform.net.au with esmtps (TLSv1.2:AES128-GCM-SHA256:128) (Exim 4.92) (envelope-from ) id 1pKOgb-0005hX-7t for freebsd-questions@freebsd.org; Wed, 25 Jan 2023 06:10:31 +1100 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=nimnet.asn.au; s=default; h=Message-ID:From:CC:To:Subject: Content-Transfer-Encoding:Content-Type:MIME-Version:References:In-Reply-To: Date:Sender:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=ngWYXibTJlZM2z4olFeS9hsAqq6yFncJ/NK7/YGYPwU=; b=gQETSqwKke1cHOd8iIGJJn+d/G YWrJarG/NbOYIUa87QJtXgi7YBa/iHIQk12Ygo4zn2ATSGlcRUD0njub4NQwmZ8lNVj7QjHeAfbh0 ESXAE5bdBUwA2G0upjL3pwvaiwVGU2k4/WcB2w3gOdKTVpTpP2kF+wW3RppMWji/50yWhr+L2vYYZ i3Mlf+vm5gDvJvXX1bdZzrF+y4EqxBGHLNSxU2sNQlUJvXP+o8oyBj/O8GXjw8tz6/VjlgXXw3Vh3 9s+FGB3W81rNBTElfeQDKkNnfzQ3CT4ygcIpUsuKG08SkPPpGGy4PCk2ABimCNzlZBvPMj4AJYGxA WBc0ldNg==; Received: from [1.129.221.91] (port=57743 helo=Galaxy-J5-Pro) by s121.syd3.hostingplatform.net.au with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96) (envelope-from ) id 1pKOgY-0013UW-2i; Wed, 25 Jan 2023 06:10:23 +1100 Date: Wed, 25 Jan 2023 06:10:14 +1100 User-Agent: K-9 Mail for Android In-Reply-To: References: <1889CB4C-4B11-4178-8446-97DA9E5EC35A@nimnet.asn.au> List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: Re: Load 0.20 on a freshly installed idle system To: Stavros Filargyropoulos CC: freebsd-questions@freebsd.org From: Ian Smith Message-ID: <9A7F4436-4888-42E2-93B9-7A8BA342877B@nimnet.asn.au> X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - s121.syd3.hostingplatform.net.au X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - nimnet.asn.au X-Get-Message-Sender-Via: s121.syd3.hostingplatform.net.au: authenticated_id: smithi@nimnet.asn.au X-Authenticated-Sender: s121.syd3.hostingplatform.net.au: smithi@nimnet.asn.au X-Source: X-Source-Args: X-Source-Dir: X-Originating-IP: 103.27.34.4 X-SpamExperts-Domain: out-3.hostingplatform.net.au X-SpamExperts-Username: 103.27.34.4 X-SpamExperts-Outgoing-Class: ham X-SpamExperts-Outgoing-Evidence: SB/global_tokens (0.00781023040521) X-Recommended-Action: accept X-Filter-ID: Pt3MvcO5N4iKaDQ5O6lkdGlMVN6RH8bjRMzItlySaT+ShfMQkg3cd3SwNr4M5gISPUtbdvnXkggZ 3YnVId/Y5jcf0yeVQAvfjHznO7+bT5zBwzYOyw3TMVcHXgRum+xE5RmX5Wddz27geQcwtt3ZFCo/ xMM0hxORRmMMI7DUTwh7KuHLYc04Dlv/lfh6SoSY5g+sHZmT3CLVmxntdIVybb/dU7zKI3K4I0R0 8WdFz8DWfOYrHgoPWbKu1KIhyjcLwcCwqRxjqfepW/KVvezwAYeJ/Gg3u5u32PIepVoNiNUrnvUy zoTfAGEbL5I354EAekHucqtbUHFF4cFpzf4IFzSkFKGyO4bgVaGXiSSg/liu1WaiZswnh7amfkLT IEwd6LkGFt94dBx3TpAokA4UmbCGVypsM2xk+Fb6Uy9BG+eG09xLM7yGwGwdmctNXf+yF45HU3lW dqhlsf8B0aV+vP/BoV3Xjmh6hrGFcotGyWo5ksNzN8Czrv5NITchPm2drqq9GopDryQPg7s3heG/ skHvm3Pq/TMVhLiLVSlbDnJccpePL9RTJ8ErFLcj+rGq31/E3ahF5MMcDI7KdpjQKVEuHcvOS1xO PjMktU+u5GhK6Ae4w98/0207GSm/Qzdsd/8g8ph5pmY3BWxh+gw0+bNud3PgzKGZ88iododq/YfV WMlHoWh7YJ70YBk8N5yx6J1fhOzjF0b4LXcjJZ5lopb3Fc0oqKzGPUq13TumyriCd5iXYJuZDVz9 Fg6INCqeISm96xTmD2SQjhpfZEfAoD31PqK69r/QCGfxCHu8JBNyMp7DsCo1BML1VU8XMDX7mCf4 0DP7fUpdGPkDVnZ/0GJ5cImImw2A1N8io7k59I1b0e+vx16o393H+4TyZEF4oNqGmdo3wnB2mba9 pGd3sKjy6WKKuYSBV0ntsspggQAGJ+iWtT8/5JjATqa5H2QHPAlbDjazCbhs7qBpykynMpxYOInz HJ4SUeED25ZY6uZVgJR6pSSEIsUiEjmJlguGjUSdNwOXH4oSntTj+DT/jF7IEdS3eylp6uZk/VWf bXepeOJExB0a0witM2TqWZ3+/YN2k74EiJI2bfVNrhS3fqmADOvGPjxTv19fiq69KbzixNKABklc 0k2Cy9ghyzAw0TyiQpgEgbnGQNCkSqeL+ocN1Wl5oXFr9XtZKwXCUdQQTmMslHUHe+7gK2amuiJZ X-Report-Abuse-To: spam@se.syd.hostingplatform.net.au X-Spamd-Result: default: False [-3.50 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[nimnet.asn.au:s=default]; R_SPF_ALLOW(-0.20)[+ip6:2400:b800:5:0::49/123:c]; MIME_GOOD(-0.10)[text/plain]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; DMARC_NA(0.00)[nimnet.asn.au]; HAS_X_AS(0.00)[smithi@nimnet.asn.au]; HAS_X_GMSV(0.00)[smithi@nimnet.asn.au]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; ASN(0.00)[asn:45638, ipnet:2400:b800:5::/48, country:AU]; MIME_TRACE(0.00)[0:+]; HAS_X_SOURCE(0.00)[]; TO_DN_SOME(0.00)[]; HAS_XOIP(0.00)[]; MLMMJ_DEST(0.00)[freebsd-questions@freebsd.org]; RCVD_COUNT_THREE(0.00)[3]; RCPT_COUNT_TWO(0.00)[2]; DKIM_TRACE(0.00)[nimnet.asn.au:+]; FROM_EQ_ENVFROM(0.00)[]; HAS_X_ANTIABUSE(0.00)[]; RCVD_TLS_ALL(0.00)[] X-Rspamd-Queue-Id: 4P1c4V6yMxz3nmY X-Spamd-Bar: --- X-ThisMailContainsUnwantedMimeParts: N On 23 January 2023 6:31:27 am AEDT, Stavros Filargyropoulos wrote: > On Fri, Jan 20, 2023 at 8:44 PM Ian Smith > wrote: > > This has been bugging quite a few people for quite a few years: > > > > https://bugs=2Efreebsd=2Eorg/bugzilla/show_bug=2Ecgi?id=3D173541 > Bug is now marked as fixed and closed but no reference to the commit > that fixed it or what the root cause was=2E >=20 > I still see the problem in STABLE where it was supposedly fixed=2E Yes; I updated to 12=2E4-R yesterday (due anyway) assuming 'months ago' sh= ould have been before 12=2E4 left 12-STABLE, but see no change=2E I emailed gbe@ as well, in case he's buried in PR mail=2E > $ uname -a > FreeBSD nas 13=2E1-STABLE FreeBSD 13=2E1-STABLE #0 > stable/13-n253535-4a8af507ebe5: Fri Jan 20 03:21:10 UTC 2023 > root@releng3=2Enyi=2Efreebsd=2Eorg:/usr/obj/usr/src/amd64=2Eamd64/sys/G= ENERIC > amd64 >=20 > last pid: 1545; load averages: 0=2E31, 0=2E11, 0=2E04 > Where do we go from here? I put quite some time exploring this back in 2016, as did Jeremy Chadwick,= so I'd pretty much given up since 0=2E1 or 0=2E2 nowadays is better than 0= =2E6 then, and noone could explain how my magic fix for 9=2E2-STABLE worked= , let alone me=2E I now understand a bit better what Alexander Motin (mav@) was explaining i= n posts #9, #27 and now #46 and #48, and accept the trade-off between idle = accuracy and performance (particularly minimal power consumption on laptops= ) that the current scheme provides=2E That said, it would be great if someone wanted to implement a parallel set= of event callouts specifically for load measurement that added very little= to interrupt rate, and thus power use=2E For example, using periodic rather than one-shot event timers shows low, e= ven 0=2E0 LAs at idle, but by costing 2000 interrupts per second per CPU!, = 8000/s on my i5, adding ~25% idle power consumption=2E cheers, Ian