From: | Alan Stange <stange(at)rentec(dot)com> |
---|---|
To: | Brandon Metcalf <bmetcalf(at)nortel(dot)com> |
Cc: | pgsql-performance(at)postgresql(dot)org |
Subject: | Re: PostgreSQL on Solaris 8 and ufs |
Date: | 2005-03-22 21:02:39 |
Message-ID: | 424087EF.2070802@rentec.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-performance |
Brandon Metcalf wrote:
>We've recently moved our pgsql installation and DBs to a Solaris 8
>machine with striped and mirrored ufs filesystem that houses the DB
>data. We are now seeing terrible performance and the bottleneck is no
>doubt disk I/O.
>
>We've tried modifying a tunables related to ufs, but it doesn't seem
>to be helping.
>
>Is there anything we should be looking at that is specifically related
>to ufs filesystems on Solaris 8 or possibly something in general that
>would improve performance?
>
>
Well, Solaris 8 is a bit old now, so I don't remember all the details.
But, if memory servers, Solaris 8 still has some "high water" and "lo
water" tunables related to the amount of IO can be outstanding to a
single file.
Try setting
set ufs:ufs_WRITES=0
in /etc/system and rebooting, which basically says "any amount of disk
IO can be outstanding". There's a tunables doc on docs.sun.com that
explains this option.
Also, logging UFS might help with some of the metadata requirements of
UFS as well. So, use "mount -o logging" or add the relevant entry in
/etc/vfstab.
Of course, the best thing is Solaris 9 or 10, which would be much better
for this sort of thing.
Hope this helps.
-- Alan
From | Date | Subject | |
---|---|---|---|
Next Message | Sven Willenberger | 2005-03-22 21:03:43 | Re: PostgreSQL on Solaris 8 and ufs |
Previous Message | Brandon Metcalf | 2005-03-22 20:44:10 | PostgreSQL on Solaris 8 and ufs |