Linux ServerOp: LD_PRELOAD optimized memmove/memcpy library
Katzenfleisch
Join Date: 2014-03-21 Member: 194881Members, Squad Five Blue, Squad Five Silver, NS2 Community Developer
Hi,
I found and packed an optimized version of memcpy/memmove ready to use for linux clients or linux servers into libmemmove.so. This code gave me between 10-15% boost improvement on copy operations on an other project handling 20+Gpbs of data and I think it could be worse the try to test how it would do for ns2 binaries. If you are planning on using it please post some bench in here.
I found and packed an optimized version of memcpy/memmove ready to use for linux clients or linux servers into libmemmove.so. This code gave me between 10-15% boost improvement on copy operations on an other project handling 20+Gpbs of data and I think it could be worse the try to test how it would do for ns2 binaries. If you are planning on using it please post some bench in here.
// Code found here: https://www.codeproject.com/Articles/1110153/Apex-memmove-the-fastest-memcpy-memmove-on-x-x-EVE
// License: The Code Project Open License (CPOL) 1.02
//
// The main points subject to the terms of the License are:
// * Source Code and Executable Files can be used in commercial applications;
// * Source Code and Executable Files can be redistributed; and
// * Source Code can be modified to create derivative works.
// * No claim of suitability, guarantee, or any warranty whatsoever is provided. The software is provided "as-is".
// The Article(s) accompanying the Work may not be distributed or republished without the Author's consent
// License: The Code Project Open License (CPOL) 1.02
//
// The main points subject to the terms of the License are:
// * Source Code and Executable Files can be used in commercial applications;
// * Source Code and Executable Files can be redistributed; and
// * Source Code can be modified to create derivative works.
// * No claim of suitability, guarantee, or any warranty whatsoever is provided. The software is provided "as-is".
// The Article(s) accompanying the Work may not be distributed or republished without the Author's consent