Hello..
I am providing you with the following Scalloc interface for Freepascal
and Delphi for Linux:
Description:
Scalloc interface for FreePascal and Delphi for Linux, with the x86
Linux 64 bit shared library, scalloc is a Fast, Multicore-Scalable,
Low-Fragmentation Memory Allocator, you can read about it and download
its source code from here:
https://github.com/cksystemsgroup/scalloc
And how to install it ?
Just place scalloc as the very first unit under the "uses" clause of
your project's .dpr file.
To be able to use scalloc memory allocator you have to do this:
You need to disable overcommit accounting. Additionally, make sure that
transparent huge pages are disabled. On recent versions of Linux you can
do this by
sudo sh -c "echo 1 > /proc/sys/vm/overcommit_memory"
sudo sh -c "echo never > /sys/kernel/mm/transparent_hugepage/enabled"
You can read more about the powerful scalloc memory allocator
by reading OOPSLA15-Scalloc.pdf document inside the zip file.
You can download it from my website:
https://sites.google.com/site/scalable68/scalloc-interface-for-freepascal-and-delphi-for-linux
Thank you,
Amine Moulay Ramdane.