Update the stathz description to reflect reality. profhz is the only
thing we should deprecate.
Sponsored by: Netflix
Differential D30815
hz.9: update stathz for current usage imp on Jun 18 2021, 3:51 PM. Authored by Tags None Referenced Files
Details
Update the stathz description to reflect reality. profhz is the only Sponsored by: Netflix
Diff Detail
Event Timeline
Comment Actions Update, per jhb@ review, adopting his wording... Unsure about the implementation details section, so please comment.
Comment Actions skate the middle ground between all the suggested frequency of hardclock Comment Actions tempt fate and tweak a word or two here and there and
Comment Actions The other niglet about once a second is so that the kern.cp_time is updated for idle CPUs at least once a second so that top(1) works. Right now when a CPU is idle we don't schedule statclock on it as an optimization and instead do a fixup later when the CPU resumes assuming all the missed ticks were idle ticks. Perhaps we could do this fixup globally in the same way as is done for tc_windup as Konstantin mentions, but I don't think that has been implemented. Comment Actions So if there's still issues, lemme know and I'll work with you. Wanted to get this round into the tree. |