This repo contains the code to test I/O roundtrip times on a POSIX system. Currently shared memory is implemented as a data exchange method.
Simply run
./make.shcd build/master
./masterThe master process sets up a POSIX shared memory (basically a mmaped file
on tmpfs) and starts the worker process.
Then the master process fills the shared memory with a number of integers and
notifies the worker through STDIN when everything is prepared. The worker
then calculates the sum of the numbers and reports it back through STDOUT.
This process is repeated a few times. The master process measures and shows
the average response time.
MIT. (see LICENSE file)