Re: Fastest memmove in C

From: "FarjadFarid\(ChkNet\)" <farjad(dot)farid(at)checknetworks(dot)com>
To: <pgsql-general(at)postgresql(dot)org>
Subject: Re: Fastest memmove in C
Date: 2016-07-06 12:01:10
Message-ID: 000001d1d77e$15e7f7f0$41b7e7d0$@checknetworks.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Luís Eduardo Oliveira Lizardo 2016-07-06 12:18:24 Re: Is it possible to use an EVENT TRIGGER to validate a TRIGGER?
Previous Message Guillaume Lelarge 2016-07-06 11:16:27 Re: How sync settings or extensions in streaming replication