- Code: Select all
[fedora@localhost ~]$ cd /usr/src
[fedora@localhost src]$ ls
[fedora@localhost src]$ ls -la
total 8
drwxr-xr-x 2 root root 4096 2008-04-07 17:44 .
drwxr-xr-x 14 root root 4096 2008-05-07 22:20 ..
[fedora@localhost src]$ su
[root@localhost src]# zcat /proc/config.gz > /usr/src/config
gzip: /proc/config.gz: No such file or directory
[root@localhost src]# cd /proc
[root@localhost proc]# ls
1 2 3144 3525 4033 acpi locks
10 2217 3145 3526 422 asound mdstat
1017 2220 3147 3558 424 buddyinfo meminfo
1018 224 3162 3561 4294 bus misc
1070 225 3178 3588 4359 cgroups modules
1072 226 3205 3589 4360 cmdline mounts
1093 2437 3214 3591 442 cpuinfo mtrr
11 2438 3216 3597 4451 crypto net
1104 2439 3230 3626 4453 devices pagetypeinfo
1113 2623 3239 3628 4782 diskstats partitions
1118 2624 3247 3649 4784 dma sched_debug
1121 273 3261 3699 4785 dri schedstat
1136 274 3314 3795 4786 driver scsi
1161 2803 3323 3807 4788 execdomains self
1163 2804 3337 3831 4793 fb slabinfo
1170 2895 3346 3845 4819 filesystems stat
1171 2897 3347 3846 4829 fs swaps
1246 2910 3357 3847 4866 interrupts sys
1250 2918 3378 3850 5 iomem sysrq-trigger
1252 2937 3381 3852 6 ioports sysvipc
1254 2956 3382 3856 62 irq timer_list
1276 2984 3383 3861 63 kallsyms timer_stats
1281 2985 3384 3863 65 kcore tty
1283 2992 3386 3869 66 keys uptime
1339 3 3391 3871 7 key-users version
160 3005 3418 3878 773 kmsg vmcore
162 3046 3428 3880 779 kpagecount vmstat
167 3054 3437 3882 781 kpageflags zoneinfo
170 3057 3473 3898 8 latency_stats
1908 3058 3492 4 9 loadavg
[root@localhost proc]# cd sys
[root@localhost sys]# cd kernel
[root@localhost kernel]# ls
acct pid_max
acpi_video_flags poweroff_cmd
bootloader_type print-fatal-signals
cad_pid printk
compat-log printk_ratelimit
core_pattern printk_ratelimit_burst
core_uses_pid pty
ctrl-alt-del random
domainname randomize_va_space
exec-shield real-root-dev
hostname sched_batch_wakeup_granularity_ns
hotplug sched_child_runs_first
hung_task_check_count sched_compat_yield
hung_task_timeout_secs sched_domain
hung_task_warnings sched_features
io_delay_type sched_latency_ns
kstack_depth_to_print sched_migration_cost
latencytop sched_min_granularity_ns
maps_protect sched_nr_migrate
max_lock_depth sched_rt_period_us
modprobe sched_rt_runtime_us
msgmax sched_wakeup_granularity_ns
msgmnb sem
msgmni shmall
ngroups_max shmmax
nmi_watchdog shmmni
osrelease softlockup_thresh
ostype sysrq
overflowgid tainted
overflowuid threads-max
panic unknown_nmi_panic
panic_on_oops version
panic_on_unrecovered_nmi vsyscall64
[root@localhost kernel]# sysctl kernel
bash: sysctl: command not found
[root@localhost kernel]# cat sched_batch_wakeup_granularity_ns
20000000
[root@localhost kernel]# cat sched_child_runs_first
1
[root@localhost kernel]# cat sched_compat_yield
0
[root@localhost kernel]# cat sched_domain
cat: sched_domain: Is a directory
[root@localhost kernel]# cat sched_features
15
[root@localhost kernel]# cat sched_latency_ns
40000000
[root@localhost kernel]# cat sched_migration_cost
500000
[root@localhost kernel]# cat sched_min_granularity_ns
8000000
[root@localhost kernel]# cat sched_nr_migrate
32
[root@localhost kernel]# cat sched_rt_period_us
1000000
[root@localhost kernel]# cat sched_rt_runtime_us
950000
[root@localhost kernel]# cat sched_wakeup_granularity_ns
10000000
[root@localhost kernel]#
Unfortunately the kernel config file is not on the LiveCD, so I can't tell what the Fedora 9 x86_64 config is, and neither is /proc/config.gz so I can't zcat it either. Nevertheless, the CFS CPU scheduler tuning parameters appear to be present, albeit with slightly different name. But then so are sched_rt_period_us and sched_rt_runtime_us. So I'm none the wiser.

