pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Mark Kirkwood <markir@coretech.co.nz>
To: Kevin Schroeder <kschroeder@mirageworks.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: Swapping on Solaris
Date: Wed, 19 Jan 2005 20:40:53 +1300
Message-ID: <41EE0F05.9080901@coretech.co.nz> (raw)
In-Reply-To: <042a01c4fdaf$fbb3b860$0200a8c0@WORKSTATION>
References: <042a01c4fdaf$fbb3b860$0200a8c0@WORKSTATION>

Kevin Schroeder wrote:
>
> 
> Ignoring the fact that the sort and vacuum numbers are really high, this 
> is what Solaris shows me when running top:
> 
> Memory: 2048M real, 1376M free, 491M swap in use, 2955M swap free
> 
Maybe check the swap usage with 'swap -l' which reports reliably if any
(device or file) swap is actually used.

I think Solaris 'top' does some strange accounting to calculate the
'swap in use' value (like including used memory).

It looks to me like you are using no (device or file) swap at all, and
have 1.3G of real memory free, so could in fact give Postgres more of it :-)

regards

Mark




view thread (22+ messages)  latest in thread

Message-ID: <41EE0F05.9080901@coretech.co.nz>
Permalink:  ../41EE0F05.9080901@coretech.co.nz/
Also on:    postgresql.org/message-id/41EE0F05.9080901@coretech.co.nz

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: markir@coretech.co.nz, kschroeder@mirageworks.com
  Subject: Re: Swapping on Solaris
  In-Reply-To: <41EE0F05.9080901@coretech.co.nz>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox