Re: tweaking MemSet() performance - 7.4.5

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Manfred Spraul <manfred(at)colorfullife(dot)com>
Cc: Marc Colosimo <mcolosimo(at)mitre(dot)org>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: tweaking MemSet() performance - 7.4.5
Date: 2004-09-18 17:01:42
Message-ID: 5185.1095526902@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Manfred Spraul <manfred(at)colorfullife(dot)com> writes:
> That's the price you pay for weakly ordered memory access.
> Linux on ppc uses eieio, on ppc64 lwsync is used. Could you check if
> they are faster?

I recall looking at lwsync and being concerned about portability
problems --- older assemblers will fail to recognize it. I'd want
to see some hard evidence that changing sync to lwsync would be a
significant performance win before taking any portability risk here.

regards, tom lane

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Jeroen T. Vermeulen 2004-09-18 17:26:03 Re: transaction idle timeout in 7.4.5 and 8.0.0beta2
Previous Message Jeroen T. Vermeulen 2004-09-18 16:49:47 Re: transaction idle timeout in 7.4.5 and 8.0.0beta2