Re: Pg+Linux swap use

scott.marlowe <scott.marlowe@ihs.com>

From: "scott.marlowe" <scott.marlowe@ihs.com>
To: "alexandre :: aldeia digital" <alepaes@aldeiadigital.com.br>
Cc: <pgsql-performance@postgresql.org>
Date: 2003-10-30T20:08:50Z
Lists: pgsql-performance
On Thu, 30 Oct 2003, alexandre :: aldeia digital wrote:

> Hi,
> 
> Old: Post 7.3.2, P4 1.8, 1 MB RAM, 2 x IDE SW RAID 1, RedHat 8
> New: Post 7.3.4, Xeon 2.4, 1 MB RAM, 2 x SCSI 15k SW RAID 1, RedHat 9
> 
> Both use: Only postgresql on server. Buffers = 8192, effective cache = 100000
> 
> In old plataform the free and vmstat reports no use of swap.
> In new, the swap is in constant use (40-100 MB), with a low but constant
> swap out and swap in. The cache memory ~ 830000 and buffers ~ 43000

Do both machines have the same amount of swap, and what kernels are the 
two running?  Also, do the xeons have hyperthreading turned on.  I doubt 
hyperthreading has anything to do with this problem, but I've found that 
turning off hyperthreading in the BIOS gets me a faster machine under 
Postgresql so I just thought I'd throw that out there.