Re: Fastest memmove in C - Mailing list pgsql-general

From FarjadFarid\(ChkNet\)
Subject Re: Fastest memmove in C
Date
Msg-id 000001d1d77e$15e7f7f0$41b7e7d0$@checknetworks.com
Whole thread Raw
Responses Re: Fastest memmove in C  (Alvaro Herrera <alvherre@2ndquadrant.com>)
List pgsql-general

 

Just came across this excellent research work done on memmove by T Herselman.

 

Bearing in mind memory is constantly moved in any database. This excellent set of library would be very handy for those who work

at the deep end of postgresql.

 

In a nut shell, the library checks the hardware available ,32/64 Intel (i core with SSE features loadu/storeu)) AMD then uses different function depending on the size of memory block

that has to be moved. The article also claims that the library also checks for signed and unsigned memory block, I haven’t checked this.

 

Excellent research and could be well worth checking out. As it could improve the performance of postgresql engine.

 

Please check the article for all your questions.

 

http://www.codeproject.com/Articles/1110153/Apex-memmove-the-fastest-memcpy-memmove-on-x-x-EVE

 

 

 

pgsql-general by date:

Previous
From: Guillaume Lelarge
Date:
Subject: Re: How sync settings or extensions in streaming replication
Next
From: Luís Eduardo Oliveira Lizardo
Date:
Subject: Re: Is it possible to use an EVENT TRIGGER to validate a TRIGGER?