Re: Swapping on Solaris - Mailing list pgsql-performance

From Kevin Schroeder
Subject Re: Swapping on Solaris
Date
Msg-id 010c01c4fe36$7ecba1a0$0200a8c0@WORKSTATION
Whole thread Raw
In response to Swapping on Solaris  ("Kevin Schroeder" <kschroeder@mirageworks.com>)
List 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.Casters@advalvas.be>
To: <pgsql-performance@postgresql.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.casters@ibridge.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@postgresql.org)




pgsql-performance by date:

Previous
From: Alan Stange
Date:
Subject: Re: Swapping on Solaris
Next
From: "Kevin Schroeder"
Date:
Subject: Re: Swapping on Solaris