Which SCHED_ for DB server

Claus Guttesen kometen at gmail.com
Thu Sep 1 01:53:41 PDT 2005

> I'm building a server that will run PostgreSQL with a database
> containing several 10s of million records. The only things happening on
> this box will be the SQL processes and other processes to parse raw data
> and load into the DB. Users = a few connections via HTTP from an
> intranet server (not more than 5 concurrently).
> I was wondering what is the best SCHED_ to set in the kernel.
> I currently have SCHED_4BSD but was wondering if _ULE would be better
> for this

For prod. use I would recommend SCHED_4BSD atm. The 4BSD-scheduler
does seem to be more stable on SMP and up.


More information about the freebsd-amd64 mailing list