Re: [PATCHES] Try again: S_LOCK reduced contentionh]

Bruce Momjian <maillist@candle.pha.pa.us>

From: Bruce Momjian <maillist@candle.pha.pa.us>
To: dg@illustra.com (David Gould)
Cc: hackers@postgreSQL.org (PostgreSQL-development)
Date: 1998-05-08T17:31:15Z
Lists: pgsql-hackers
> 
> > 
> > OK, here is my argument for inlining tas().
> 
> I am going out of town till Monday, so don't have time to give this
> the thoughtful response it deserves. I will get back to you on this as
> I am not quite convinced, but obviously in the face of this I need to
> explain my reasoning.

Sure.  I just know that the reduction from 0.28 to 0.08 was performed
one 0.01 at a time.  See the MemSet() macro.  I am sure you will hate it
too, but it did reduce the number of calls to memset() and reduced
wallclock execution time as measured from the client.

-- 
Bruce Momjian                          |  830 Blythe Avenue
maillist@candle.pha.pa.us              |  Drexel Hill, Pennsylvania 19026
  +  If your life is a hard drive,     |  (610) 353-9879(w)
  +  Christ can be your backup.        |  (610) 853-3000(h)