Re: [PATCHES] Align large shared memory allocations

2003-09-21 Thread Tom Lane
Manfred Spraul <[EMAIL PROTECTED]> writes: > Tom Lane wrote: >> This patch is missing a demonstration that it's actually worth anything. >> What kind of performance gain do you get? >> > 7.4cvs on a 1.13 GHz Intel Celeron mobile, 384 MB RAM, "Severn" RedHat > Linux 2.4 beta, postmaster -N 30 -B 6

Re: [PATCHES] Align large shared memory allocations

2003-09-21 Thread Manfred Spraul
Tom Lane wrote: Manfred Spraul <[EMAIL PROTECTED]> writes: Attached is a patch that aligns large shared memory allocations beyond MAXIMUM_ALIGNOF. The reason for this is that Intel's cpus have a fast path for bulk memory copies that only works with aligned addresses. This patch is missin

Re: [PATCHES] Align large shared memory allocations

2003-09-20 Thread Tom Lane
Manfred Spraul <[EMAIL PROTECTED]> writes: > Attached is a patch that aligns large shared memory allocations beyond > MAXIMUM_ALIGNOF. The reason for this is that Intel's cpus have a fast > path for bulk memory copies that only works with aligned addresses. This patch is missing a demonstration