Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Jan 2023 12:04:48 -0800
From:      Stavros Filargyropoulos <stav@stav.cc>
To:        Ian Smith <smithi@nimnet.asn.au>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Load 0.20 on a freshly installed idle system
Message-ID:  <CAGAKwch475=0O8AKfPdt%2BTf7uL1o=suCE9kS=cGaxvOthge4hw@mail.gmail.com>
In-Reply-To: <9A7F4436-4888-42E2-93B9-7A8BA342877B@nimnet.asn.au>
References:  <CAGAKwcjmzz%2B6NMaK2YpjWZPB282RvrKV6zQ%2BSLHsDj3zqXwvGw@mail.gmail.com> <CAFbbPuhX%2BrJFLn8ALVNbCujf1tG3DufVWGSknPkJ%2BKdovFq1xQ@mail.gmail.com> <CAGAKwcgFWukBrB_6SZVAoC4YKyPVhVMGED4aB6Z4E1fwZAO6mg@mail.gmail.com> <CAFbbPuhyJDewvE_a6MQpiGrpUew7EtxZKwt_=RHODNUyCYNduw@mail.gmail.com> <CAGAKwcghHH5t1_dtWPkOCwxPvDra%2BmgNFTQsG65i1_7pzTDkug@mail.gmail.com> <CAFbbPujMDQgo=zvSc5orcT=v3ftrVPXDjZE-D%2BUxt3%2BdOjFmUA@mail.gmail.com> <CAGAKwcid8j3C28wiypO87X9HT9Wq8cfTNHWnOQvcQgAcWrFuLw@mail.gmail.com> <CAGAKwcgZz8gujtd8gPBoC5nKxE00q1Pau6%2BiOUjxBR-UMMNpKw@mail.gmail.com> <1889CB4C-4B11-4178-8446-97DA9E5EC35A@nimnet.asn.au> <CAGAKwchY_pU5PP0XX2UsUOSf027ZfbdMgd3wXzaKpu=Fi=J2Uw@mail.gmail.com> <9A7F4436-4888-42E2-93B9-7A8BA342877B@nimnet.asn.au>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Jan 24, 2023 at 11:10 AM Ian Smith <smithi@nimnet.asn.au> wrote:
>
> Yes; I updated to 12.4-R yesterday (due anyway) assuming 'months ago' sho=
uld have been before 12.4 left 12-STABLE, but see no change.
>
> I emailed gbe@ as well, in case he's buried in PR mail.\

Yeah, I saw your reply. Thanks a lot Ian!

>
> I put quite some time exploring this back in 2016, as did Jeremy Chadwick=
, so I'd pretty much given up since 0.1 or 0.2 nowadays is better than 0.6 =
then, and noone could explain how my magic fix for 9.2-STABLE worked, let a=
lone me.
>
> I now understand a bit better what Alexander Motin (mav@) was explaining =
in posts #9, #27 and now #46 and #48, and accept the trade-off between idle=
 accuracy and performance (particularly minimal power consumption on laptop=
s) that the current scheme provides.
>

On one hand I understand his point as well. On the other hand, well I
already said it, it's bugging me that it's not right :D

On a side note, I've been trying to see it for myself using KTR, but
having trouble converting the timestamp to actual time. I understand
it's what RDTSC is giving us, but was wondering if there is a formula
to convert it to secs?. Do you have any tips? Tried dividing by
`machdep.tsc_freq: 2419204467` but the number I get doesn't make much
sense. I assume with modern cpus changing the frequency all the time
this is even more challenging?

Thanks,
Stavros



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAGAKwch475=0O8AKfPdt%2BTf7uL1o=suCE9kS=cGaxvOthge4hw>