Unix Technical Forum

[kris@obsecurity.org: Anyone interested in improving postgresql scaling?]

This is a discussion on [kris@obsecurity.org: Anyone interested in improving postgresql scaling?] within the Pgsql Performance forums, part of the PostgreSQL category; --> Ok, looks like the FreeBSD community is interested in PostgreSQL performance, or at least enough to investigate it. Anyone ...


Go Back   Unix Technical Forum > Database Server Software > PostgreSQL > Pgsql Performance

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-19-2008, 10:17 AM
Jim C. Nasby
 
Posts: n/a
Default [kris@obsecurity.org: Anyone interested in improving postgresql scaling?]

Ok, looks like the FreeBSD community is interested in PostgreSQL
performance, or at least enough to investigate it.

Anyone here have experience hacking on FreeBSD?

----- Forwarded message from Kris Kennaway <kris@obsecurity.org> -----

X-Spam-Checker-Version: SpamAssassin 3.1.6 (2006-10-03) on noel.decibel.org
X-Spam-Level:
X-Spam-Status: No, score=-0.9 required=5.0 tests=AWL,BAYES_50,
FORGED_RCVD_HELO,SPF_PASS autolearn=no version=3.1.6
Date: Sun, 25 Feb 2007 19:22:35 -0500
From: Kris Kennaway <kris@obsecurity.org>
To: current@FreeBSD.org
User-Agent: Mutt/1.4.2.2i
Cc: performance@FreeBSD.org
Subject: Anyone interested in improving postgresql scaling?
Precedence: list
Errors-To: owner-freebsd-current@freebsd.org

If so, then your task is the following:

Make SYSV semaphores less dumb about process wakeups. Currently
whenever the semaphore state changes, all processes sleeping on the
semaphore are woken, even if we only have released enough resources
for one waiting process to claim. i.e. there is a thundering herd
wakeup situation which destroys performance at high loads. Fixing
this will involve replacing the wakeup() calls with appropriate
amounts of wakeup_one().

Kris

_______________________________________________
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/lis...reebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"


----- End forwarded message -----

--
Jim C. Nasby, Database Architect decibel@decibel.org
Give your computer some brain candy! www.distributed.net Team #1828

Windows: "Where do you want to go today?"
Linux: "Where do you want to go tomorrow?"
FreeBSD: "Are you guys coming, or what?"

---------------------------(end of broadcast)---------------------------
TIP 6: explain analyze is your friend

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 04-19-2008, 10:17 AM
Tom Lane
 
Posts: n/a
Default Re: [kris@obsecurity.org: Anyone interested in improving postgresql scaling?]

"Jim C. Nasby" <decibel@decibel.org> writes:
> Ok, looks like the FreeBSD community is interested in PostgreSQL
> performance, or at least enough to investigate it.


I think this guy is barking up the wrong tree though, because we don't
ever have multiple processes sleeping on the same sema. Not that
there's anything wrong with his proposal, but it doesn't affect Postgres.

regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 6: explain analyze is your friend

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 08:33 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com