kvm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* virtio disk host cpu overhead?
@ 2017-03-03 17:05 Thomas Fjellstrom
  2017-03-10  1:52 ` Stefan Hajnoczi
  0 siblings, 1 reply; 4+ messages in thread
From: Thomas Fjellstrom @ 2017-03-03 17:05 UTC (permalink / raw)
  To: kvm

I've been testing a new samsung 960 evo nvme drive i just got, and running 
tests on it in a guest shows a minimum of double the cpu time on the host as 
it does on the guest. Somehow a guest running a single thread iozone or fio 
test can use 4+ cores on the host side at 50-100%.

I have debian's 4.9.13 kernel installed on the host (4.9.2 on the guest), and 
kvm/qemu 2.8.0. I'm using libvirt and virt-manager to set up the guest, with a 
lvm volume set up on the nvme drive, and exporting a couple volumes to the 
guest which it then either uses lvm on, or testing is done raw on a secondary 
volume. (I've tried both)

Host is a consumer box with an AMD 970 board + FX-8320, and 32GB ram. Guest is 
currently allocated 8 threads, and 1GB ram which it is currently only using 
111MB of while fio is running.

I'm curious to know if this is expected behavior, misconfiguration on my end, 
or a misunderstanding of how things work?

I'd appreciate any insight or help anyone is able and willing to provide.

-- 
Thomas Fjellstrom
thomas@fjellstrom.ca

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

end of thread, other threads:[~2017-03-11 16:45 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-03-03 17:05 virtio disk host cpu overhead? Thomas Fjellstrom
2017-03-10  1:52 ` Stefan Hajnoczi
2017-03-11 16:33   ` Thomas Fjellstrom
2017-03-11 16:45     ` Paolo Bonzini

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).