pg.ddx.io pgsql-admin@postgresql.org mailing list archive
help / color / mirror / Atom feedPostgreSQL + SMP
6+ messages / 4 participants
[nested] [flat]
* PostgreSQL + SMP
@ 2000-11-30 12:34 paitoon butri <pbt_10400@yahoo.com>
0 siblings, 0 replies; 6+ messages in thread
From: paitoon butri @ 2000-11-30 12:34 UTC (permalink / raw)
To: pgsql-admin
Dear, All
I want to know that Postgres support SMP or Dual
Processor, or not. If it support, how to configure?
Thank all
__________________________________________________
Do You Yahoo!?
Yahoo! Shopping - Thousands of Stores. Millions of Products.
http://shopping.yahoo.com/
^ permalink raw reply [nested|flat] 6+ messages in thread
* RE: PostgreSQL + SMP
@ 2000-11-30 16:22 Matthew <matt@ctlno.com>
2000-12-10 20:06 ` Re: PostgreSQL + SMP Bruce Momjian <pgman@candle.pha.pa.us>
0 siblings, 1 reply; 6+ messages in thread
From: Matthew @ 2000-11-30 16:22 UTC (permalink / raw)
To: 'paitoon butri' <pbt_10400@yahoo.com>; pgsql-admin
Postgre is not threaded, but every connection gets it's own process. The OS
will distribute the processes across the processors. Not sure I said that
very will.
Basically a single connection will not be any faster with SMP, but multiple
connections will be.
> -----Original Message-----
> From: paitoon butri [SMTP:pbt_10400@yahoo.com]
> Sent: Thursday, November 30, 2000 6:34 AM
> To: pgsql-admin@postgresql.org
> Subject: [ADMIN] PostgreSQL + SMP
>
> Dear, All
> I want to know that Postgres support SMP or Dual
> Processor, or not. If it support, how to configure?
>
> Thank all
>
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Shopping - Thousands of Stores. Millions of Products.
> http://shopping.yahoo.com/
^ permalink raw reply [nested|flat] 6+ messages in thread
* Re: PostgreSQL + SMP
2000-11-30 16:22 RE: PostgreSQL + SMP Matthew <matt@ctlno.com>
@ 2000-12-10 20:06 ` Bruce Momjian <pgman@candle.pha.pa.us>
2000-12-10 20:26 ` Re: PostgreSQL + SMP Alfred Perlstein <bright@wintelcom.net>
0 siblings, 1 reply; 6+ messages in thread
From: Bruce Momjian @ 2000-12-10 20:06 UTC (permalink / raw)
To: Matthew <matt@ctlno.com>; +Cc: 'paitoon butri' <pbt_10400@yahoo.com>; pgsql-admin
> Postgre is not threaded, but every connection gets it's own process. The OS
> will distribute the processes across the processors. Not sure I said that
> very will.
>
> Basically a single connection will not be any faster with SMP, but multiple
> connections will be.
Actually, even a single process will be faster because all other system
process will run on other cpu's.
--
Bruce Momjian | http://candle.pha.pa.us
pgman@candle.pha.pa.us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026
^ permalink raw reply [nested|flat] 6+ messages in thread
* Re: PostgreSQL + SMP
2000-11-30 16:22 RE: PostgreSQL + SMP Matthew <matt@ctlno.com>
2000-12-10 20:06 ` Re: PostgreSQL + SMP Bruce Momjian <pgman@candle.pha.pa.us>
@ 2000-12-10 20:26 ` Alfred Perlstein <bright@wintelcom.net>
2000-12-10 20:28 ` Re: PostgreSQL + SMP Bruce Momjian <pgman@candle.pha.pa.us>
0 siblings, 1 reply; 6+ messages in thread
From: Alfred Perlstein @ 2000-12-10 20:26 UTC (permalink / raw)
To: Bruce Momjian <pgman@candle.pha.pa.us>; +Cc: Matthew <matt@ctlno.com>; 'paitoon butri' <pbt_10400@yahoo.com>; pgsql-admin
* Bruce Momjian <pgman@candle.pha.pa.us> [001210 12:19] wrote:
> > Postgre is not threaded, but every connection gets it's own process. The OS
> > will distribute the processes across the processors. Not sure I said that
> > very will.
> >
> > Basically a single connection will not be any faster with SMP, but multiple
> > connections will be.
>
> Actually, even a single process will be faster because all other system
> process will run on other cpu's.
Depending on how idle you are, the large overhead of bus locking
can cause a lot of perf degredation(sp?) for the idle SMP case.
--
-Alfred Perlstein - [bright@wintelcom.net|alfred@freebsd.org]
"I have the heart of a child; I keep it in a jar on my desk."
^ permalink raw reply [nested|flat] 6+ messages in thread
* Re: PostgreSQL + SMP
2000-11-30 16:22 RE: PostgreSQL + SMP Matthew <matt@ctlno.com>
2000-12-10 20:06 ` Re: PostgreSQL + SMP Bruce Momjian <pgman@candle.pha.pa.us>
2000-12-10 20:26 ` Re: PostgreSQL + SMP Alfred Perlstein <bright@wintelcom.net>
@ 2000-12-10 20:28 ` Bruce Momjian <pgman@candle.pha.pa.us>
2000-12-10 20:29 ` Re: PostgreSQL + SMP Alfred Perlstein <bright@wintelcom.net>
0 siblings, 1 reply; 6+ messages in thread
From: Bruce Momjian @ 2000-12-10 20:28 UTC (permalink / raw)
To: Alfred Perlstein <bright@wintelcom.net>; +Cc: Matthew <matt@ctlno.com>; 'paitoon butri' <pbt_10400@yahoo.com>; pgsql-admin
> * Bruce Momjian <pgman@candle.pha.pa.us> [001210 12:19] wrote:
> > > Postgre is not threaded, but every connection gets it's own process. The OS
> > > will distribute the processes across the processors. Not sure I said that
> > > very will.
> > >
> > > Basically a single connection will not be any faster with SMP, but multiple
> > > connections will be.
> >
> > Actually, even a single process will be faster because all other system
> > process will run on other cpu's.
>
> Depending on how idle you are, the large overhead of bus locking
> can cause a lot of perf degredation(sp?) for the idle SMP case.
True. I was thinking more of the backend having to give up the cpu to
allow other processes to run. With two cpu's, I believe one backend can
camp out on a cpu forever as long as the other cpu doesn't get busy.
--
Bruce Momjian | http://candle.pha.pa.us
pgman@candle.pha.pa.us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026
^ permalink raw reply [nested|flat] 6+ messages in thread
* Re: PostgreSQL + SMP
2000-11-30 16:22 RE: PostgreSQL + SMP Matthew <matt@ctlno.com>
2000-12-10 20:06 ` Re: PostgreSQL + SMP Bruce Momjian <pgman@candle.pha.pa.us>
2000-12-10 20:26 ` Re: PostgreSQL + SMP Alfred Perlstein <bright@wintelcom.net>
2000-12-10 20:28 ` Re: PostgreSQL + SMP Bruce Momjian <pgman@candle.pha.pa.us>
@ 2000-12-10 20:29 ` Alfred Perlstein <bright@wintelcom.net>
0 siblings, 0 replies; 6+ messages in thread
From: Alfred Perlstein @ 2000-12-10 20:29 UTC (permalink / raw)
To: Bruce Momjian <pgman@candle.pha.pa.us>; +Cc: Matthew <matt@ctlno.com>; 'paitoon butri' <pbt_10400@yahoo.com>; pgsql-admin
* Bruce Momjian <pgman@candle.pha.pa.us> [001210 12:28] wrote:
> > * Bruce Momjian <pgman@candle.pha.pa.us> [001210 12:19] wrote:
> > > > Postgre is not threaded, but every connection gets it's own process. The OS
> > > > will distribute the processes across the processors. Not sure I said that
> > > > very will.
> > > >
> > > > Basically a single connection will not be any faster with SMP, but multiple
> > > > connections will be.
> > >
> > > Actually, even a single process will be faster because all other system
> > > process will run on other cpu's.
> >
> > Depending on how idle you are, the large overhead of bus locking
> > can cause a lot of perf degredation(sp?) for the idle SMP case.
>
> True. I was thinking more of the backend having to give up the cpu to
> allow other processes to run. With two cpu's, I believe one backend can
> camp out on a cpu forever as long as the other cpu doesn't get busy.
That's true, as long as there's no contention for the locks then it's
pretty cheap.
--
-Alfred Perlstein - [bright@wintelcom.net|alfred@freebsd.org]
"I have the heart of a child; I keep it in a jar on my desk."
^ permalink raw reply [nested|flat] 6+ messages in thread
end of thread, other threads:[~2000-12-10 20:29 UTC | newest]
Thread overview: 6+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2000-11-30 12:34 PostgreSQL + SMP paitoon butri <pbt_10400@yahoo.com>
2000-11-30 16:22 RE: PostgreSQL + SMP Matthew <matt@ctlno.com>
2000-12-10 20:06 ` Bruce Momjian <pgman@candle.pha.pa.us>
2000-12-10 20:26 ` Alfred Perlstein <bright@wintelcom.net>
2000-12-10 20:28 ` Bruce Momjian <pgman@candle.pha.pa.us>
2000-12-10 20:29 ` Alfred Perlstein <bright@wintelcom.net>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox