Re: Fwd: FreeBSD, PostgreSQL, semwait and sbwait!

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: josh(at)agliodbs(dot)com
Cc: Darcy Buskermolen <darcy(at)wavefire(dot)com>, pgsql-performance(at)postgresql(dot)org
Subject: Re: Fwd: FreeBSD, PostgreSQL, semwait and sbwait!
Date: 2004-03-23 23:00:40
Message-ID: 7576.1080082840@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

Josh Berkus <josh(at)agliodbs(dot)com> writes:
> Forget hyperthreading. Look at their postgresql.conf settings. 8mb shared
> mem, 16mb sort mem per connection for 512 connections, default
> effective_cache_size.

They could well be going into swap hell due to the oversized sort_mem,
but that didn't quite seem to explain the reported behavior. I'd want
to see vmstat or similar output to confirm whether the disks are busy,
though. Amazing how many people forget that a database is normally
I/O-bound rather than CPU-bound.

regards, tom lane

In response to

Browse pgsql-performance by date

  From Date Subject
Next Message Subbiah, Stalin 2004-03-23 23:18:20 Re: [ADMIN] Benchmarking postgres on Solaris/Linux
Previous Message Josh Berkus 2004-03-23 22:55:08 Re: Fwd: FreeBSD, PostgreSQL, semwait and sbwait!