JustOS/linux-6.13/tools/virtio/ringtest
justuser 02e73b8cd9 up
2025-01-24 17:00:19 +03:00
..
.gitignore up 2025-01-24 17:00:19 +03:00
main.c up 2025-01-24 17:00:19 +03:00
main.h up 2025-01-24 17:00:19 +03:00
Makefile up 2025-01-24 17:00:19 +03:00
noring.c up 2025-01-24 17:00:19 +03:00
ptr_ring.c up 2025-01-24 17:00:19 +03:00
README up 2025-01-24 17:00:19 +03:00
ring.c up 2025-01-24 17:00:19 +03:00
run-on-all.sh up 2025-01-24 17:00:19 +03:00
virtio_ring_0_9.c up 2025-01-24 17:00:19 +03:00
virtio_ring_inorder.c up 2025-01-24 17:00:19 +03:00
virtio_ring_poll.c up 2025-01-24 17:00:19 +03:00

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