2007-08-05 09:30:00

by Dan Zwell

[permalink] [raw]
Subject: tuning CFS: /proc/sys/kernel/sched_granularity_ns question

Hi. I see "/proc/sys/kernel/sched_granularity_ns" mentioned on web sites
and such, but I do have this file and cannot create it. Yes, I am root
and /proc is mounted. Are there boot parameters that I must enable to
tune this variable? Do I need to specifically enable this in .config?

I am using 2.6.23-rc2.

Thanks,
Dan


2007-08-05 09:40:25

by Dan Zwell

[permalink] [raw]
Subject: Re: tuning CFS: /proc/sys/kernel/sched_granularity_ns question

Dan Zwell wrote:
> Hi. I see "/proc/sys/kernel/sched_granularity_ns" mentioned on web sites
> and such, but I do have this file and cannot create it. Yes, I am root
> and /proc is mounted. Are there boot parameters that I must enable to
> tune this variable? Do I need to specifically enable this in .config?
>

Sorry for the dumb question--I searched the source and found that
CONFIG_SCHED_DEBUG must be defined, and after enabling kernel debugging,
this was automatically turned on. I didn't realize that this type of
tuning was considered debugging.

Thanks,
Dan