Skip to content
Permalink
Browse files

small documentation about FPC memory managers

  • Loading branch information...
Arnaud Bouchez
Arnaud Bouchez committed Mar 7, 2019
1 parent 3efc852 commit c5b7e9a3716930be6d804a75d63920193c3ca14f
Showing with 4 additions and 2 deletions.
  1. +3 −1 SynFPCCMemAligned.pas
  2. +1 −1 SynopseCommit.inc
@@ -55,7 +55,7 @@

(*
Usage:
- for glibc, define -dFPC_NO_DEFAULT_MEMORYMANAGER -dFPC_SYNCMEM
- for glibc (preferred), define -dFPC_NO_DEFAULT_MEMORYMANAGER -dFPC_SYNCMEM
- for Intel TBB, define -dFPC_SYNTBB - after "apt-get install libtbb2"
- for jemalloc, define -dFPC_SYNJEMALLOC - after "apt-get install libjemalloc1"
@@ -79,6 +79,8 @@
500000 interning 8 KB in 61.96ms i.e. 8,068,810/s, aver. 0us, 123.1 MB/s
500000 direct 7.6 MB in 36.46ms i.e. 13,711,402/s, aver. 0us, 209.2 MB/s
for multi-threaded process, we observed best scaling with TBB on this system
BUT memory consumption raised to 60 more space (gblic=2.6GB vs TBB=170GB)!
-> so for serious server work, glibc (FPC_SYNCMEM) sounds the best candidate
*)

@@ -1 +1 @@
'1.18.5088'
'1.18.5089'

0 comments on commit c5b7e9a

Please sign in to comment.
You can’t perform that action at this time.