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
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