Re: tweaking MemSet() performance

From: Ashley Cambrell <ash(at)freaky-namuh(dot)com>
To: PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: tweaking MemSet() performance
Date: 2002-08-30 23:31:25
Message-ID: 3D70004D.9010201@freaky-namuh.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Andrew Sullivan wrote:

>On Thu, Aug 29, 2002 at 01:27:41AM -0400, Neil Conway wrote:
>
>
>>Also, if anyone would like to contribute the results of doing the
>>benchmark on their particular system, that might provide some useful
>>additional data points.
>>
>>
Linux 2.4.18 (preempt) gcc 2.95.4 Dual Althon 1600XP 1Gb DDR

memset() *64 2.999s
MemSet() *64 3.640s

memset() *128 4.211s
MemSet() *128 5.933s

memset() *256 6.624s
MemSet()*256 14.889s

memset() *512 11.182s
MemSet()*512 28.583s

memset() *1024 20.288s
MemSet()*1024 55.853s

memset() *2048 38.513s
MemSet()*2048 1m50.555s

memset()*4096 1m15.010s
MemSet()*4096 3m40.381s

Linux 2.4.16 gcc 2.95.4 Dual Celeron 400 512Mb PC66

memset() *64 15.618s
MemSet() *64 12.864s

memset() *128 24.524s
MemSet() *128 21.852s

memset() *256 53.963s
MemSet() *256 52.012s

memset() *512 1m31.232s
MemSet() *512 1m39.445s

memset() *1024 2m44.609s
MemSet() *1024 3m14.567s

memset() *2048 5m12.630s
MemSet() *2048 6m24.916s

memset() *4096 10m8.183s
MemSet() *4096 12m43.830s

Ashley Cambrell

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Gordon Runkle 2002-08-30 23:59:51 Re: [7.3-devl] initdb fails on RH 7.3
Previous Message Nigel J. Andrews 2002-08-30 22:47:37 Re: source code indexer