Can you explain a bit more about why you want to use AIO? Are you referring to Linux AIO
or POSIX AIO? If you want to do a performance comparison of Linux AIO and the SPDK NVMe
driver then the perf tool is your best bet.
You can run the perf tool against a block device using Linux AIO by binding your NVMe
device to the kernel ("./scripts/setup.sh reset" will hand them all back to the
kernel) and then doing something like:
./perf -q 1 -s 4096 -w read -t 10 /dev/nvme0n1 /dev/nvme1n1
From: SPDK [mailto:email@example.com] On Behalf Of Bhadauria, Varun
Sent: Wednesday, June 15, 2016 4:30 PM
To: Storage Performance Development Kit <spdk(a)lists.01.org>
Subject: [SPDK] SPDK air examples
Are there any SPDK examples which use AIO? Perf.c has very little documentation in the
usage for AIO.
SPDK mailing list