Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 5 Sep 2005 20:00:16 -0400
From:      Kris Kennaway <kris@obsecurity.org>
To:        Claus Guttesen <kometen@gmail.com>
Cc:        freebsd-amd64@freebsd.org
Subject:   Re: Which SCHED_ for DB server
Message-ID:  <20050906000016.GA91835@xor.obsecurity.org>
In-Reply-To: <b41c7552050901015317d5942e@mail.gmail.com>
References:  <4316A5BC.1000405@meijome.net> <b41c7552050901015317d5942e@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--AhhlLboLdkugWU4S
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Thu, Sep 01, 2005 at 10:53:39AM +0200, Claus Guttesen wrote:
> > 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 =3D a few connections via HTTP from an
> > intranet server (not more than 5 concurrently).
> >=20
> > 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.

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

--AhhlLboLdkugWU4S
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (FreeBSD)

iD8DBQFDHNwQWry0BWjoQKURAkXpAKC2r4WkjyPr3JWoQKa8e7Wdek6DMwCfR1m4
PMhEHTvSd2s48Oj9Ry1jRXw=
=UY1L
-----END PGP SIGNATURE-----

--AhhlLboLdkugWU4S--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050906000016.GA91835>