Thank you for your answer.
I'm using ext4. I guess it supports polling because I could get sub 10
microseconds latency with an Intel Optane SSDPED1D280GA 260GB and
pvsync2. If it helps here's how I'm running it:
fio global.fio --size=50G --ioengine=io_uring --hipri --direct=1
--rw=randwrite --iodepth=256 --bs=4K --numjobs=4 --offset_increment=25%
The global.fio has:
ioengine=io_uring
hipri
direct=1
thread=1
buffered=0
size=100%
randrepeat=0
time_based
ramp_time=0
norandommap
refill_buffers
log_max_value=1
log_avg_msec=1000
group_reporting
percentile_list=50:60:70:80:90:95:99
Your help is highly appreciated, thank you.
Hamilton.
On 25/05/20 3:21 p. m., Jens Axboe wrote:
On 5/25/20 11:45 AM, Hamilton Tobon Mosquera wrote:
Hi there,
I'm trying to run sequential and random reads/writes in parallel using
the io_uring engine with the HIPRI flag activated to enable polling. The
file size is 200G, the number of fio threads is 4. The --size flags is
set to 200/4, and the --offset_increment is set to 25%. I could
effectively do it with pvsync2 engine but when I switch to io_uring the
workloads immediately (they do not even work for 1 sec) fail with these
errors:
fio: io_u error on file /path/to/file: Operation not supported: write
offset=3238043648, buflen=4096
fio: io_u error on file /path/to/file: Operation not supported: write
offset=88715874304, buflen=4096
fio: io_u error on file /path/to/file: Operation not supported: write
offset=174739943424, buflen=4096
fio: io_u error on file /path/to/file: Operation not supported: write
offset=112642154496, buflen=4096
The offsets are under 200G, I don't understand why it's returning those
errors. Can someone help please?.
What file system are you using? I don't think it supports IO polling.
io_uring actually checks for this, with preadv you just get normal
schedule based IO.
--
Jens Axboe
La información contenida en este correo electrónico está dirigida únicamente a su destinatario y puede contener información confidencial, material privilegiado o información protegida por derecho de autor. Está prohibida cualquier copia, utilización, indebida retención, modificación, difusión, distribución o reproducción total o parcial. Si usted recibe este mensaje por error, por favor contacte al remitente y elimínelo. La información aquí contenida es responsabilidad exclusiva de su remitente por lo tanto la Universidad EAFIT no se hace responsable de lo que el mensaje contenga. The information contained in this email is addressed to its recipient only and may contain confidential information, privileged material or information protected by copyright. Its prohibited any copy, use, improper retention, modification, dissemination, distribution or total or partial reproduction. If you receive this message by error, please contact the sender and delete it. The information contained herein is the sole responsibility of the sender therefore Universidad EAFIT is not responsible for what the message contains.