Skip to contentSkip to conversation

tuning CFS: /proc/sys/kernel/sched_granularity_ns question

DISCUSSION Dan Zwell 1 participant 2 messages Aug 5, 2007

lore
Share & tools
lore

Dan Zwell

author
#0 lore raw

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

author
#1 lore raw
Quoted 2 lines · Dan Zwell

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