Re: Swapping on Solaris

From: "Kevin Schroeder" <kschroeder(at)mirageworks(dot)com>
To: <pgsql-performance(at)postgresql(dot)org>
Subject: Re: Swapping on Solaris
Date: 2005-01-19 14:52:28
Message-ID: 010c01c4fe36$7ecba1a0$0200a8c0@WORKSTATION
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

po and pi are relatively low, but do pick up when there's an increase in
activity. I am seeing a lot of "minor faults", though. vmstat -S 5 reports

[9:38am]# vmstat -S 5
procs memory page disk faults cpu
r b w swap free si so pi po fr de sr s0 s1 s3 -- in sy cs us sy
id
0 0 0 3235616 1414536 0 0 303 11 10 0 0 6 24 0 0 13 192 461 17 11
72
1 0 0 3004376 1274912 0 0 0 0 0 0 0 3 16 0 0 494 1147 441 52 25
23

494 in faults
1147 sy faults

Generally faults are a bad thing. Is that the case here?

Kevin

----- Original Message -----
From: "Matt Casters" <Matt(dot)Casters(at)advalvas(dot)be>
To: <pgsql-performance(at)postgresql(dot)org>
Sent: Wednesday, January 19, 2005 3:57 AM
Subject: Re: [PERFORM] Swapping on Solaris

> Kevin Schroeder wrote:
> 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
> :-)
>

Indeed.
If you DO run into trouble after giving Postgres more RAM, use the vmstat
command.
You can use this command like "vmstat 10". (ignore the first line)
Keep an eye on the "pi" and "po" parameters. (kilobytes paged in and out)

HTH,

Matt
------
Matt Casters <matt(dot)casters(at)ibridge(dot)be>
i-Bridge bvba, http://www.kettle.be
Fonteinstraat 70, 9400 Okegem, Belgium
Phone +32 (0) 486/97.29.37

---------------------------(end of broadcast)---------------------------
TIP 2: you can get off all lists at once with the unregister command
(send "unregister YourEmailAddressHere" to majordomo(at)postgresql(dot)org)

In response to

Browse pgsql-performance by date

  From Date Subject
Next Message Kevin Schroeder 2005-01-19 14:57:23 Re: Swapping on Solaris
Previous Message Kevin Schroeder 2005-01-19 14:31:17 Re: Swapping on Solaris