Re: Pg+Linux swap use

Neil Conway <neilc@samurai.com>

From: Neil Conway <neilc@samurai.com>
To: Greg Stark <gsstark@mit.edu>
Cc: Bill Moran <wmoran@potentialtech.com>, PostgreSQL Performance <pgsql-performance@postgresql.org>
Date: 2003-10-31T18:45:48Z
Lists: pgsql-performance
On Fri, 2003-10-31 at 11:37, Greg Stark wrote:
> My understanding is that the case where HT hurts is precisely your case. When
> you have two real processors with HT the kernel will sometimes schedule two
> jobs on the two virtual processors on the same real processor leaving the two
> virtual processors on the other real processor idle.

If you're seeing this behavior, it's sounds like a bug/deficiency in
your kernel's scheduler: if it is HT-aware, it should go to some lengths
to avoid this kind of processor allocation.

-Neil