Skip to content

yaneury/gang-malloc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Gang Malloc

Building

mkdir build
CC=/path/to/mpsp/libc/bin/musl-gcc cmake -DCMAKE_INSTALL_PREFIX=/path/to/mpsp/libc/ ..
make install

Testing

mkdir build
CC=/path/to/mpsp/libc/bin/musl-gcc cmake -DCMAKE_INSTALL_PREFIX=/path/to/mpsp/libc/ ..
make stress-tests
./stress-tests

Compiler Flags

  • Configure timeout (in milliseconds) by using BARRIER_WAIT_TIME=N
  • Configure gang size (number of threads) by using MAX_GANG_SIZE=N
  • On MPSP, enable MPSP_GLIBC=1
  • On MPSP, specify number of CPU cores NUM_CORES=N

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published