Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.programming.threads > #4695

I am providing you with the following Scalloc interface for Freepascal and Delphi for Linux

From Horizon68 <horizon@horizon.com>
Newsgroups comp.programming.threads
Subject I am providing you with the following Scalloc interface for Freepascal and Delphi for Linux
Date 2018-11-01 13:10 -0700
Organization A noiseless patient Spider
Message-ID <prfmkj$r6t$5@dont-email.me> (permalink)

Show all headers | View raw


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.




Back to comp.programming.threads | Previous | Next | Find similar | Unroll thread


Thread

I am providing you with the following Scalloc interface for Freepascal and Delphi for Linux Horizon68 <horizon@horizon.com> - 2018-11-01 13:10 -0700

csiph-web