课程的链接,有更完整的内容
https://www.cl.cam.ac.uk/research/srg/netos/projects/ipc-bench/index.html
ipc-bench: A UNIX inter-process communication benchmark
Running ipc-bench
You can very easily run ipc-bench on your own machines, and we encourage you to do so and submit the results for inclusion in our open database (see below)!
ipc-bench has only four depencencies:
- a 64-bit machine and OS,
- a compatible OS (currently: Linux 2.6.30+, OpenBSD, Mac OS X; others may work),
- Python 2.5+,
- the NUMA headers (libnuma1 and libnuma-dev packages on Debian/Ubuntu).
Once you have made sure that the dependencies are in place, simply clone our git repository and run ipc-bench:
git clone http://github.com/ms705/ipc-bench.git cd ipc-bench
$ python run.py
Public results dataset
Since we have found IPC performance to be a complex, multi-variate problem, and because we believe that having an open corpus of performance data will be useful to guide the development of hypervisors, kernels and programming frameworks, we provide a database of aggregated ipc-bench datasets. We generated some of these datasets ourselves over the course of our research, while others were contributed by the community.
Please support this community-driven public database by running ipc-bench on your own machines and contributing the results!
然后装的时候可能会缺少一个python包,用pip装就可以了。注意系统一定是64位,32位的虚拟机跑不通。