From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | Andrew Sullivan <andrew(at)libertyrms(dot)info> |
Cc: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: Solaris |
Date: | 2003-04-25 03:08:11 |
Message-ID: | 5082.1051240091@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
Andrew Sullivan <andrew(at)libertyrms(dot)info> writes:
> There's something fishy with the SYSV shared memory management, but
> I'm darned if I can figure out what it is.
Hmm, you're still running 7.2.*, right? There's some code added in 7.3
to enable "intimate shared memory" on Solaris:
#if defined(solaris) && defined(__sparc__)
/* use intimate shared memory on SPARC Solaris */
memAddress = shmat(shmid, 0, SHM_SHARE_MMU);
#else
memAddress = shmat(shmid, 0, 0);
#endif
I disremember the details but we were told this would improve
performance. It'd be an easy enough patch in 7.2
(src/backend/storage/ipc/ipc.c about line 638) if you care to try it.
regards, tom lane
From | Date | Subject | |
---|---|---|---|
Next Message | Jonathan Bartlett | 2003-04-25 03:52:32 | Re: Factoring where clauses through UNIONS take 2 |
Previous Message | Vivek Khera | 2003-04-25 03:02:53 | Re: Question about performance |