Re: [HACKERS] Some platform-specific MemSet research

2006-02-02 Thread Bruce Momjian
> > From: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED] On Behalf Of Bruce Momjian > > Sent: Wednesday, February 01, 2006 12:11 PM > > To: Seneca Cunningham > > Cc: Martijn van Oosterhout; pgsql-hackers@postgresql.org > > Subject: Re: [HACKERS] Some platform-spe

Re: [HACKERS] Some platform-specific MemSet research

2006-02-02 Thread Rocco Altier
ubject: Re: [HACKERS] Some platform-specific MemSet research > > > > My guess is that there is some really fast assembler for > memory copy on > AIX, and only libc memset() has it. If you want, we can make > MEMSET_LOOP_LIMIT in c.h a configure value, and allow template/aix to

Re: [HACKERS] Some platform-specific MemSet research

2006-02-01 Thread Bruce Momjian
My guess is that there is some really fast assembler for memory copy on AIX, and only libc memset() has it. If you want, we can make MEMSET_LOOP_LIMIT in c.h a configure value, and allow template/aix to set it to zero, causing memset() to be always used. Are you prepared to make this optimizatio

Re: [HACKERS] Some platform-specific MemSet research

2006-01-25 Thread Seneca Cunningham
Martijn van Oosterhout wrote: > On Tue, Jan 24, 2006 at 05:24:28PM -0500, Seneca Cunningham wrote: > >>After reading the post on -patches proposing that MemSet be changed to >>use long instead of int32 on the grounds that a pair of x86-64 linux >>boxes took less time to execute the long code 64*10

Re: [HACKERS] Some platform-specific MemSet research

2006-01-24 Thread Martijn van Oosterhout
On Tue, Jan 24, 2006 at 05:24:28PM -0500, Seneca Cunningham wrote: > After reading the post on -patches proposing that MemSet be changed to > use long instead of int32 on the grounds that a pair of x86-64 linux > boxes took less time to execute the long code 64*10^6 times[1], I took a > look at how