Scalloc interface for Freepascal and Delphi for Linux

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 go to download the zip files by clicking on the following web link:

https://drive.google.com/drive/folders/1ufvs_ZUU9o9yBKf43WJ7RcS41E7MuXO3?usp=sharing