Enabling the ULE scheduler for FreeBSD 7 1

Posted by Ron Valente Tue, 04 Mar 2008 00:25:00 GMT

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 CUSTOM

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

Thats it! once that is done running the following commands and reboot.

cd /usr/src
make kernel KERNCONF=CUSTOM
Trackbacks

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

Comments

Leave a comment

  1. Kent Davidson 3 months later:

    Thanks for this tip; a few minor corrections, though:

    • It’s “ident” not “indent” is the token you look for in the CUSTOM kernel configuration file
    • Before making the kernel you need to cd /usr/src first

    Most will probably figure this out anyway, but thought you could save some head scratching.

Comments