Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/knz/coshed-bench
Shootout of cooperative scheduling strategies
https://github.com/knz/coshed-bench
Last synced: 26 days ago
JSON representation
Shootout of cooperative scheduling strategies
- Host: GitHub
- URL: https://github.com/knz/coshed-bench
- Owner: knz
- License: other
- Created: 2011-02-28T19:43:12.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2011-02-28T20:24:25.000Z (over 13 years ago)
- Last Synced: 2024-05-02T00:12:40.280Z (6 months ago)
- Language: C
- Homepage:
- Size: 93.8 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README
- License: COPYING
Awesome Lists containing this project
README
Benchmark for cooperative scheduling primitives
===============================================To use::
mkdir yoursystem
cd yoursystemuname -a >uname.txt
gcc --version >compiler.txt
sysctl -a >sysctl-a.txt
cat /proc/cpuinfo >cpuinfo.txtln -s ../*.c ../*.h ../*.sh .
./genm.sh # this generates a Makefile
make # this build the programs
./runb.sh # this runs the programs and generates .log files
./genres.sh # this compiles *.log into results.txt
For additional results, you can check out the modified PCL library with::
git clone git://github.com/knz/pcl.git
(cd pcl && git checkout coshed-bench-fixups)Then configure and build PCL in one or more of the following ways::
mkdir pcl_sigjmp_64 && \
cd pcl_sigjmp_64 && \
../../pcl/configure CPPFLAGS=-DFORCE_SIGJMP CC="gcc -m64" && \
makemkdir pcl_sigcontext_64 && \
cd pcl_sigcontext_64 && \
../../pcl/configure CPPFLAGS=-DFORCE_SIGCONTEXT CC="gcc -m64" && \
makemkdir pcl_ucontext_64 && \
cd pcl_ucontext_64 && \
../../pcl/configure CC="gcc -m64" && \
makemkdir pcl_sigjmp_32 && \
cd pcl_sigjmp_32 && \
../../pcl/configure CPPFLAGS=-DFORCE_SIGJMP CC="gcc -m32" && \
makemkdir pcl_sigcontext_32 && \
cd pcl_sigcontext_32 && \
../../pcl/configure CPPFLAGS=-DFORCE_SIGCONTEXT CC="gcc -m32" && \
makemkdir pcl_ucontext_32 && \
cd pcl_ucontext_32 && \
../../pcl/configure CC="gcc -m32" && \
makeThen run ``./genm.sh`` again and then ``make``.