CFS is the new Completely Fair Scheduler for the linux kernel. It is pretty slick from what I gather. Luckily it was just backported to older versions of the kernel. They backported to version 2.6.22 which happens to be the version of the kernel that the latest Ubuntu Gutsy Gibbon release will have as its base. Along with with some other folks on ubuntuforms.org I have put my two cents in to hopefully have this included, if you want it in Gutsy make some noise on the forums. More cool stuff from the kerneltrap.org post:
Which testbox had a system load of 1000.17 at this time, due to a rogue
runaway workload of one thousand (!) non-reniced infinite loops:top - 14:34:05 up 30 min, 3 users, load average: 1000.17, 839.23, 444.57
Tasks: 1131 total, 1002 running, 129 sleeping, 0 stopped, 0 zombie
Cpu(s): 30.8%us, 0.2%sy, 0.0%ni, 68.2%id, 0.8%wa, 0.0%hi, 0.0%si
Mem: 2048992k total, 157688k used, 1891304k free, 18308k buffers
Swap: 4096564k total, 0k used, 4096564k free, 25464k cachedPID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
3633 root 20 0 2892 1576 724 R 7 0.1 0:00.06 top
2427 mingo 20 0 1576 244 196 R 2 0.0 0:01.14 loop
2429 mingo 20 0 1576 244 196 R 2 0.0 0:01.14 loopTo the root user, the box was fully usable an interactivity was
excellent - i was easily able to kill off those runaway tasks.( The /proc/root_user_cpu_share tunable also allows the root uid to have
higher weight than other uids. Unit of the tunable is 0.1%, a weight
of 100% is 1024, the default weight of the root uid is 200%. )
0 responses so far ↓
There are no comments yet...Kick things off by filling out the form below.
Leave a Comment