On 17 November 2011 23:39, Ted Unangst <t...@tedunangst.com> wrote:
> On Fri, Nov 18, 2011, Thordur Bjornsson wrote:
>> On 2011 Nov 17 (Thu) at 21:18:24 -0200 (-0200), Christiano F. Haesbaert
>> wrote:
>>> Moving this to tech@
>>>
>>> Hi,
>>>
>>> I was studying the scheduler code after watching tedu's talk, I'd like
>>> to expose this statistics to userland so that I can try playing with
>>> cache affinity in the future:
>>>
>>> gimli:src: sysctl kern.schedstat
>>
>>> kern.schedstat.nmigrations=23744
>>> kern.schedstat.noidle=0
>>> kern.schedstat.stolen=9170
>>> kern.schedstat.choose=834843
>>> kern.schedstat.wasidle=808711
>>> kern.schedstat.nomigrations=2388
>>>
>>> Opinions ?
>>
>> I see no point in exporting this out. They are essentially pointless
>> knobs that people _will_ fiddle with without a clue.
>
> ???  They're readonly.
>

Mike just pointed out I can get those with pstat, so that solves my problem.

Still maybe there is a place for sysctl, but I'm not too strong about
it anymore.

What is the line between sysctl vs globals ?

Reply via email to