From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
---|---|
To: | pg(at)fastcrypt(dot)com |
Cc: | Robert Creager <Robert_Creager(at)LogicalChaos(dot)org>, Josh Berkus <josh(at)agliodbs(dot)com>, Dirk_Lutzebäck <lutzeb(at)aeccom(dot)com>, ohp(at)pyrenet(dot)fr, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Joe Conway <mail(at)joeconway(dot)com>, "scott(dot)marlowe" <scott(dot)marlowe(at)ihs(dot)com>, pgsql-performance(at)postgresql(dot)org, Neil Conway <neilc(at)samurai(dot)com> |
Subject: | Re: Wierd context-switching issue on Xeon |
Date: | 2004-05-20 01:20:20 |
Message-ID: | 200405200120.i4K1KKm06350@candle.pha.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-performance |
Did we ever come to a conclusion about excessive SMP context switching
under load?
---------------------------------------------------------------------------
Dave Cramer wrote:
> Robert,
>
> The real question is does it help under real life circumstances ?
>
> Did you do the tests with Tom's sql code that is designed to create high
> context switchs ?
>
> Dave
> On Sun, 2004-05-02 at 11:20, Robert Creager wrote:
> > Found some co-workers at work yesterday to load up my library...
> >
> > The sample period is 5 minutes long (vs 2 minutes previously):
> >
> > Context switches - avg max
> >
> > Default 7.4.1 code : 48784 107354
> > Default patch - 10 : 20400 28160
> > patch at 100 : 38574 85372
> > patch at 1000 : 41188 106569
> >
> > The reading at 1000 was not produced under the same circumstances as the prior
> > readings as I had to replace my device under test with a simulated one. The
> > real one died.
> >
> > The previous run with smaller database and 120 second averages:
> >
> > Context switches - avg max
> >
> > Default 7.4.1 code : 10665 69470
> > Default patch - 10 : 17297 21929
> > patch at 100 : 26825 87073
> > patch at 1000 : 37580 110849
> --
> Dave Cramer
> 519 939 0336
> ICQ # 14675561
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 7: don't forget to increase your free space map settings
>
--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073
From | Date | Subject | |
---|---|---|---|
Next Message | Robert Creager | 2004-05-20 01:59:26 | Re: Wierd context-switching issue on Xeon |
Previous Message | Neil Conway | 2004-05-19 21:51:08 | Re: PostgreSQL performance in simple queries |