Enabling the ULE scheduler for FreeBSD 7 1
Most of the performance benefit in FreeBSD is gained by switching from the default 4BSD scheduler to the ULE scheduler. This scheduler was introduced to FreeBSD in version 5. Since its induction to FreeBSD it has seen many improvements. By the end of this guide you will be booted into FreeBSD 7 and using the ULE scheduler.
cd /usr/src/sys/amd64/conf
cp GENERIC CUSTOM
ee CUSTOMThere are two things to change in this file then we can move to compiling and installing the new and improved kernel.
ident CUSTOM
options SCHED_ULEThats it! once that is done running the following commands and reboot.
cd /usr/src
make kernel KERNCONF=CUSTOMTrackbacks
Use the following link to trackback from your own site:
http://www.sysadminschronicles.com/trackbacks?article_id=enabling-the-ule-scheduler-for-freebsd-7&day=03&month=03&year=2008
Thanks for this tip; a few minor corrections, though:
Most will probably figure this out anyway, but thought you could save some head scratching.