Commit 80d72cb
t/io_uring: Vectored fixed buffer test support for nvme passthrough path
The current kernel NVMe passthrough path already supports vectored IO
when using fixed buffers, but fio has not yet adapted it. This patch
aims to add a corresponding test interface in fio.
Test results:
taskset -c 1 t/io_uring -b512 -d64 -c2 -s2 -p1 -F1 -B1 -O0 -n1 -V1 -u1 -r4 /dev/ng1n1
submitter=0, tid=6179, file=/dev/ng1n1, nfiles=1, node=-1
polled=1, fixedbufs=1, register_files=1, buffered=1, QD=64
Engine=io_uring, sq_ring=64, cq_ring=64
IOPS=289.78K, BW=141MiB/s, IOS/call=1/1
IOPS=294.68K, BW=143MiB/s, IOS/call=1/1
IOPS=295.26K, BW=144MiB/s, IOS/call=1/1
Exiting on timeout
Maximum IOPS=295.26K
taskset -c 1 t/io_uring -b512 -d64 -c2 -s2 -p1 -F1 -B1 -O0 -n1 -V0 -u1 -r4 /dev/ng1n1
submitter=0, tid=6183, file=/dev/ng1n1, nfiles=1, node=-1
polled=1, fixedbufs=1, register_files=1, buffered=1, QD=64
Engine=io_uring, sq_ring=64, cq_ring=64
IOPS=292.31K, BW=142MiB/s, IOS/call=1/1
IOPS=295.79K, BW=144MiB/s, IOS/call=1/1
IOPS=290.78K, BW=141MiB/s, IOS/call=1/1
Exiting on timeout
Maximum IOPS=295.79K
Signed-off-by: Xiaobing Li <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>1 parent 2c573a3 commit 80d72cb
1 file changed
+13
-28
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
146 | 146 | | |
147 | 147 | | |
148 | 148 | | |
| 149 | + | |
149 | 150 | | |
150 | 151 | | |
151 | 152 | | |
152 | 153 | | |
153 | 154 | | |
154 | 155 | | |
155 | | - | |
156 | | - | |
157 | 156 | | |
158 | 157 | | |
159 | 158 | | |
| |||
461 | 460 | | |
462 | 461 | | |
463 | 462 | | |
464 | | - | |
465 | | - | |
466 | | - | |
467 | | - | |
468 | | - | |
469 | | - | |
470 | | - | |
471 | | - | |
472 | | - | |
473 | | - | |
474 | | - | |
475 | | - | |
476 | | - | |
477 | | - | |
478 | | - | |
479 | | - | |
480 | | - | |
481 | | - | |
482 | | - | |
483 | | - | |
484 | | - | |
485 | | - | |
486 | 463 | | |
487 | 464 | | |
488 | 465 | | |
| |||
630 | 607 | | |
631 | 608 | | |
632 | 609 | | |
| 610 | + | |
| 611 | + | |
| 612 | + | |
| 613 | + | |
| 614 | + | |
| 615 | + | |
633 | 616 | | |
634 | 617 | | |
635 | 618 | | |
| |||
927 | 910 | | |
928 | 911 | | |
929 | 912 | | |
930 | | - | |
931 | | - | |
932 | 913 | | |
933 | 914 | | |
934 | 915 | | |
| |||
1521 | 1502 | | |
1522 | 1503 | | |
1523 | 1504 | | |
| 1505 | + | |
1524 | 1506 | | |
1525 | 1507 | | |
1526 | 1508 | | |
1527 | 1509 | | |
1528 | | - | |
| 1510 | + | |
1529 | 1511 | | |
1530 | 1512 | | |
1531 | 1513 | | |
| |||
1584 | 1566 | | |
1585 | 1567 | | |
1586 | 1568 | | |
1587 | | - | |
| 1569 | + | |
1588 | 1570 | | |
1589 | 1571 | | |
1590 | 1572 | | |
| |||
1662 | 1644 | | |
1663 | 1645 | | |
1664 | 1646 | | |
| 1647 | + | |
| 1648 | + | |
| 1649 | + | |
1665 | 1650 | | |
1666 | 1651 | | |
1667 | 1652 | | |
| |||
0 commit comments