huangliang 87498f5edd first commit(v1.0) 3 years ago
..
Makefile 87498f5edd first commit(v1.0) 3 years ago
README 87498f5edd first commit(v1.0) 3 years ago
main.c 87498f5edd first commit(v1.0) 3 years ago
main.h 87498f5edd first commit(v1.0) 3 years ago
noring.c 87498f5edd first commit(v1.0) 3 years ago
ptr_ring.c 87498f5edd first commit(v1.0) 3 years ago
ring.c 87498f5edd first commit(v1.0) 3 years ago
run-on-all.sh 87498f5edd first commit(v1.0) 3 years ago
virtio_ring_0_9.c 87498f5edd first commit(v1.0) 3 years ago
virtio_ring_inorder.c 87498f5edd first commit(v1.0) 3 years ago
virtio_ring_poll.c 87498f5edd first commit(v1.0) 3 years ago

README

Partial implementation of various ring layouts, useful to tune virtio design.
Uses shared memory heavily.

Typical use:

# sh run-on-all.sh perf stat -r 10 --log-fd 1 -- ./ring