linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* virtio-console downgrade the virtio-pci-blk performance
@ 2018-09-30  5:25 Feng Li
  2018-10-01 11:41 ` [Qemu-devel] " Dr. David Alan Gilbert
  0 siblings, 1 reply; 6+ messages in thread
From: Feng Li @ 2018-09-30  5:25 UTC (permalink / raw)
  To: linux-kernel, qemu-discuss, qemu-devel, linux-scsi

Hi,
I found an obvious performance downgrade when virtio-console combined
with virtio-pci-blk.

This phenomenon exists in nearly all Qemu versions and all Linux
(CentOS7, Fedora 28, Ubuntu 18.04) distros.

This is a disk cmd:
-drive file=iscsi://127.0.0.1:3260/iqn.2016-02.com.test:system:fl-iscsi/1,format=raw,if=none,id=drive-virtio-disk0,cache=none,aio=native
-device virtio-blk-pci,scsi=off,bus=pci.0,addr=0x6,drive=drive-virtio-disk0,id=virtio-disk0,bootindex=1,write-cache=on

If I add "-device
virtio-serial-pci,id=virtio-serial0,bus=pci.0,addr=0x5  ", the virtio
disk 4k iops (randread/randwrite) would downgrade from 60k to 40k.

In VM, if I rmmod virtio-console, the performance will back to normal.

Any idea about this issue?

I don't know this is a qemu issue or kernel issue.


Thanks in advance.
-- 
Thanks and Best Regards,
Alex

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2018-10-16  2:26 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-09-30  5:25 virtio-console downgrade the virtio-pci-blk performance Feng Li
2018-10-01 11:41 ` [Qemu-devel] " Dr. David Alan Gilbert
2018-10-01 14:58   ` Feng Li
2018-10-11 10:15     ` Feng Li
2018-10-15 18:51       ` Amit Shah
2018-10-16  2:26         ` Feng Li

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).