Date: Tue, 6 Sep 2005 04:22:30 -0400 From: Kris Kennaway <kris@obsecurity.org> To: "O. Hartmann" <ohartman@mail.uni-mainz.de> Cc: freebsd-amd64@freebsd.org, Kris Kennaway <kris@obsecurity.org> Subject: Re: Which SCHED_ for DB server Message-ID: <20050906082229.GA27104@xor.obsecurity.org> In-Reply-To: <431D4944.9020907@mail.uni-mainz.de> References: <4316A5BC.1000405@meijome.net> <b41c7552050901015317d5942e@mail.gmail.com> <20050906000016.GA91835@xor.obsecurity.org> <431D4944.9020907@mail.uni-mainz.de>
next in thread | previous in thread | raw e-mail | index | archive | help
--bp/iNruPH9dso1Pn Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Sep 06, 2005 at 09:46:12AM +0200, O. Hartmann wrote: > Kris Kennaway wrote: >=20 > >On Thu, Sep 01, 2005 at 10:53:39AM +0200, Claus Guttesen wrote: > >=20 > > > >>>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 da= ta > >>>and load into the DB. Users =3D 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 > >>> =20 > >>> > >>For prod. use I would recommend SCHED_4BSD atm. The 4BSD-scheduler > >>does seem to be more stable on SMP and up. > >> =20 > >> > > > >ULE might be OK on SMP with 6.0 and above, but performance seems to be > >a bit lower than 4BSD in my tests. Try it yourself and see which is > >better. > > > >Kris > >=20 > > > Interesting. > An, by the way, what are the benefits of ULE at this moment? Is it still= =20 > a more experimental scheduler for the far future on SMP based machines=20 > or do we have benefits in UP/SMP? It was supposed to provide higher performance (and did for a while, modulo panics), but at the moment it still needs work. Kris --bp/iNruPH9dso1Pn Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFDHVHFWry0BWjoQKURArKcAJ9P0zQD5yDD++PrrYTqUB/HV/H5bgCaAh9Q jeBmjzpe8E5yA6kZE7yov/g= =ahHl -----END PGP SIGNATURE----- --bp/iNruPH9dso1Pn--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050906082229.GA27104>