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
-----Original Message-----
From: SPDK [mailto:spdk-bounces@lists.01.org] 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
Hello
Are there any SPDK examples which use AIO? Perf.c has very little documentation in the
usage for AIO.
Regards,
Varun Bhadauria
_______________________________________________
SPDK mailing list
SPDK(a)lists.01.org
https://lists.01.org/mailman/listinfo/spdk