Skip site navigation (1) Skip section navigation (2)

Re: tweaking MemSet() performance

From: Alvaro Herrera <alvherre(at)atentus(dot)com>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: andrew(at)libertyrms(dot)info, pgsql-hackers(at)postgresql(dot)org
Subject: Re: tweaking MemSet() performance
Date: 2002-08-29 23:53:50
Message-ID: 20020829195350.5b9b0683.alvherre@atentus.com (view raw or flat)
Thread:
Lists: pgsql-hackers
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?

-- 
Alvaro Herrera (<alvherre[a]atentus.com>)
"Pensar que el espectro que vemos es ilusorio no lo despoja de espanto,
sólo le suma el nuevo terror de la locura" (Perelandra, CSLewis)

In response to

Responses

pgsql-hackers by date

Next:From: Larry RosenmanDate: 2002-08-29 23:56:20
Subject: Re: tweaking MemSet() performance
Previous:From: Joe ConwayDate: 2002-08-29 23:48:54
Subject: Re: SRF memory mgmt patch (was [HACKERS] Concern about memory management

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group