qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 0/1] IDE: Addressing slow PIO throughput


From: Lev Kujawski
Subject: [PATCH 0/1] IDE: Addressing slow PIO throughput
Date: Thu, 2 Jun 2022 21:39:03 +0000

Hello,

Is there any mechanism within QEMU for an emulated device to handle
string IO instructions (e.g., insw) directly?

I have noticed that PIO transfers seem rather slow (~240 kb/s) when
running QEMU on my computer, despite using a raw block device (SSD),
aio=io_uring, and file.cache.direct=on.  The attached patch improves
the rate by about 50% for me, and I would appreciate feedback on
whether this holds for others as well.

Kind regards,
Lev Kujawski

Lev Kujawski (1):
  hw/ide/core: Accumulate PIO output within io_buffer prior to pwritev

 hw/ide/core.c             | 62 ++++++++++++++++++++++++---------------
 include/hw/ide/internal.h |  1 +
 2 files changed, 39 insertions(+), 24 deletions(-)

-- 
2.34.1




reply via email to

[Prev in Thread] Current Thread [Next in Thread]