Re: tweaking MemSet() performance

From: Larry Rosenman <ler(at)lerctr(dot)org>
To: Alvaro Herrera <alvherre(at)atentus(dot)com>
Cc: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>, andrew(at)libertyrms(dot)info, pgsql-hackers(at)postgresql(dot)org
Subject: Re: tweaking MemSet() performance
Date: 2002-08-29 23:56:20
Message-ID: 1030665380.403.0.camel@lerlaptop.lerctr.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Thu, 2002-08-29 at 18:53, Alvaro Herrera wrote:
> En Thu, 29 Aug 2002 19:35:13 -0400 (EDT)
> Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> escribió:
>
> > In your results it seems to suggest that memset() gets slower for longer
> > buffer lengths, and a for loop starts to win at longer sizes. Should I
> > pull out my Solaris kernel source and see what memset() is doing?
>
> No, because memset() belongs to the libc AFAICS... Do you have source
> code for that?
and if you do, what vintage is it? I believe Solaris has mucked with
stuff over the last few rev's.

--
Larry Rosenman http://www.lerctr.org/~ler
Phone: +1 972-414-9812 E-Mail: ler(at)lerctr(dot)org
US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2002-08-30 00:01:32 Re: SRF memory mgmt patch (was [HACKERS] Concern about memory management with SRFs)
Previous Message Alvaro Herrera 2002-08-29 23:53:50 Re: tweaking MemSet() performance