Gave My Gentoo A New Kernel
My kernel has been upgraded to 2.6.21. The sound card driver provided by my previous kernel 2.6.18 did not properly support my sound card, and I had to use alsa-driver sound modules. Now I have compiled the driver that comes with 2.6.21 into the new kernel, and it works perfectly.
I also decided to give my kernel a new scheduler, too. It’s Completely Fair Scheduler (CFS) v15, developed by Ingo Molnar from Red Hat. It promises to fix deficiencies of vanilla scheduler. We might have already experienced Windows NT scheduling. At least we may have configured our computers’ role as workstation or server in Windows XP. And there are some interesting links that will give us a basic idea about linux process scheduling. These include:
- Process Scheduling (O’Reilly Understanding Linux Kernels)
- Linux Kernel in a Nutshell (O’Reilly, and it’s for kernel 2.6.18 🙂
- Inside the Linux Scheduler (IBM DeveloperWorks)
The O(1) scheduler in 2.6 kernel written by Ingo Molnar from Red Hat is a complete improvement over 2.4’s scheduler. Being O(1), it takes the same amount of time to select the best task from the runnable processes. CFS is the completely rewrite of O(1) scheduler.
One day, I will give Con Kolivas’ Staircase Deadline (SD) scheduler a try, and feel the difference between SD and CFS. These two schedulers are being vigorously tested by Linux developers, and in the end one of them is likely to be accepted into mainline.
Finally, I have to re-compile fuse driver for ntfs-3g after compiling new kernel. I will definitely patch for fuse in my kernel when I upgrade to next version