Re: tweaking MemSet() performance - Mailing list pgsql-hackers

From Andrew Sullivan
Subject Re: tweaking MemSet() performance
Date
Msg-id 20020830171524.U10695@mail.libertyrms.com
Whole thread Raw
In response to Re: tweaking MemSet() performance  (Bruce Momjian <pgman@candle.pha.pa.us>)
Responses Re: tweaking MemSet() performance
List pgsql-hackers
On Thu, Aug 29, 2002 at 11:07:03PM -0400, Bruce Momjian wrote:
> 
> Would you please retest this.  I have attached my email showing a
> simpler test that is less error-prone.

Ok, here you go.  Same machine as before, 2-way UltraSPARC-II @400
MHz, 2.5 G, gcc 2.95.3, Solaris 7.  This gcc compiles 32 bit apps.  

MemSet():

*64

real    0m1.298s
user    0m1.290s
sys    0m0.010s
*128

real    0m2.251s
user    0m2.250s
sys    0m0.000s
*256

real    0m3.734s
user    0m3.720s
sys    0m0.010s
*512

real    0m7.041s
user    0m7.010s
sys    0m0.020s
*1024

real    0m13.353s
user    0m13.350s
sys    0m0.000s
*2048

real    0m26.178s
user    0m26.040s
sys    0m0.000s
*4096

real    0m51.838s
user    0m51.670s
sys    0m0.010s

and memset()

*64

real    0m1.469s
user    0m1.460s
sys    0m0.000s
*128

real    0m1.813s
user    0m1.810s
sys    0m0.000s
*256

real    0m2.747s
user    0m2.730s
sys    0m0.010s
*512

real    0m12.478s
user    0m12.370s
sys    0m0.010s
*1024

real    0m26.128s
user    0m26.010s
sys    0m0.000s
*2048

real    0m57.663s
user    0m57.320s
sys    0m0.010s
*4096

real    1m53.772s
user    1m53.290s
sys    0m0.000s

A

-- 
----
Andrew Sullivan                         204-4141 Yonge Street
Liberty RMS                           Toronto, Ontario Canada
<andrew@libertyrms.info>                              M2P 2A8                                        +1 416 646 3304
x110



pgsql-hackers by date:

Previous
From: "Tyler Mitchell"
Date:
Subject: Re: Running postgres on a read-only file system
Next
From: Andrew Sullivan
Date:
Subject: Re: Running postgres on a read-only file system