Ryzen + KVM very slow vilrtualization

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP








up vote
0
down vote

favorite












I want to switch form my old Intel platform to new Ubuntu 18.04 LTS + Ryzen 2700 + Asus X470 F Gaminng mobo. Virtualization is a must for me. So after installing clean Ubuntu I've installed KVM + QEMU.



When I run Ubuntu 16.04 just live CD in virtual machine it is painfully slow. It turns on in about 5 minutes.



But running Ubuntu 18.04 live CD in virtual machine works as I expect it to be - super fast.



I have enabled IOMMU and SVM in bios and command kvm-ok says:



KVM acceleration can be used


I've tried to change Video to different modes (QLX, VGA etc) - nothing changes.



I've tried to change emulated CPU to Broadwell, Haswell, and few other options - nothing changes.



Any suggestions where to look to resolve this issue?







share|improve this question




















  • Does info kvm say hardware virtualization is in use?
    – dsstorefile1
    Apr 30 at 6:38










  • I'm not sure what your'e asking me for. But kvm-info says INFO: /dev/kvm exists KVM acceleration can be used also lscpu shows: Virtualization: AMD-V
    – netCreate
    Apr 30 at 8:08











  • I was asking you to run a command in the QEMU monitor so the emulator itself tells you directly whether it's using the available hardware acceleration. kvm-info tells you whether acceleration is available but not whether QEMU is using it.
    – dsstorefile1
    Apr 30 at 8:09






  • 1




    I got into monitor and I got: kvm support: enabled
    – netCreate
    Apr 30 at 13:17










  • You could take a look if you are cpu bound and if so in which of qemu's threads that is via pidstat -t -p <pid-of-qemu> - the share between guest/user/sys in that would often also indicate where to look next.
    – Christian Ehrhardt
    Apr 30 at 14:08














up vote
0
down vote

favorite












I want to switch form my old Intel platform to new Ubuntu 18.04 LTS + Ryzen 2700 + Asus X470 F Gaminng mobo. Virtualization is a must for me. So after installing clean Ubuntu I've installed KVM + QEMU.



When I run Ubuntu 16.04 just live CD in virtual machine it is painfully slow. It turns on in about 5 minutes.



But running Ubuntu 18.04 live CD in virtual machine works as I expect it to be - super fast.



I have enabled IOMMU and SVM in bios and command kvm-ok says:



KVM acceleration can be used


I've tried to change Video to different modes (QLX, VGA etc) - nothing changes.



I've tried to change emulated CPU to Broadwell, Haswell, and few other options - nothing changes.



Any suggestions where to look to resolve this issue?







share|improve this question




















  • Does info kvm say hardware virtualization is in use?
    – dsstorefile1
    Apr 30 at 6:38










  • I'm not sure what your'e asking me for. But kvm-info says INFO: /dev/kvm exists KVM acceleration can be used also lscpu shows: Virtualization: AMD-V
    – netCreate
    Apr 30 at 8:08











  • I was asking you to run a command in the QEMU monitor so the emulator itself tells you directly whether it's using the available hardware acceleration. kvm-info tells you whether acceleration is available but not whether QEMU is using it.
    – dsstorefile1
    Apr 30 at 8:09






  • 1




    I got into monitor and I got: kvm support: enabled
    – netCreate
    Apr 30 at 13:17










  • You could take a look if you are cpu bound and if so in which of qemu's threads that is via pidstat -t -p <pid-of-qemu> - the share between guest/user/sys in that would often also indicate where to look next.
    – Christian Ehrhardt
    Apr 30 at 14:08












up vote
0
down vote

favorite









up vote
0
down vote

favorite











I want to switch form my old Intel platform to new Ubuntu 18.04 LTS + Ryzen 2700 + Asus X470 F Gaminng mobo. Virtualization is a must for me. So after installing clean Ubuntu I've installed KVM + QEMU.



When I run Ubuntu 16.04 just live CD in virtual machine it is painfully slow. It turns on in about 5 minutes.



But running Ubuntu 18.04 live CD in virtual machine works as I expect it to be - super fast.



I have enabled IOMMU and SVM in bios and command kvm-ok says:



KVM acceleration can be used


I've tried to change Video to different modes (QLX, VGA etc) - nothing changes.



I've tried to change emulated CPU to Broadwell, Haswell, and few other options - nothing changes.



Any suggestions where to look to resolve this issue?







share|improve this question












I want to switch form my old Intel platform to new Ubuntu 18.04 LTS + Ryzen 2700 + Asus X470 F Gaminng mobo. Virtualization is a must for me. So after installing clean Ubuntu I've installed KVM + QEMU.



When I run Ubuntu 16.04 just live CD in virtual machine it is painfully slow. It turns on in about 5 minutes.



But running Ubuntu 18.04 live CD in virtual machine works as I expect it to be - super fast.



I have enabled IOMMU and SVM in bios and command kvm-ok says:



KVM acceleration can be used


I've tried to change Video to different modes (QLX, VGA etc) - nothing changes.



I've tried to change emulated CPU to Broadwell, Haswell, and few other options - nothing changes.



Any suggestions where to look to resolve this issue?









share|improve this question











share|improve this question




share|improve this question










asked Apr 30 at 6:37









netCreate

11




11











  • Does info kvm say hardware virtualization is in use?
    – dsstorefile1
    Apr 30 at 6:38










  • I'm not sure what your'e asking me for. But kvm-info says INFO: /dev/kvm exists KVM acceleration can be used also lscpu shows: Virtualization: AMD-V
    – netCreate
    Apr 30 at 8:08











  • I was asking you to run a command in the QEMU monitor so the emulator itself tells you directly whether it's using the available hardware acceleration. kvm-info tells you whether acceleration is available but not whether QEMU is using it.
    – dsstorefile1
    Apr 30 at 8:09






  • 1




    I got into monitor and I got: kvm support: enabled
    – netCreate
    Apr 30 at 13:17










  • You could take a look if you are cpu bound and if so in which of qemu's threads that is via pidstat -t -p <pid-of-qemu> - the share between guest/user/sys in that would often also indicate where to look next.
    – Christian Ehrhardt
    Apr 30 at 14:08
















  • Does info kvm say hardware virtualization is in use?
    – dsstorefile1
    Apr 30 at 6:38










  • I'm not sure what your'e asking me for. But kvm-info says INFO: /dev/kvm exists KVM acceleration can be used also lscpu shows: Virtualization: AMD-V
    – netCreate
    Apr 30 at 8:08











  • I was asking you to run a command in the QEMU monitor so the emulator itself tells you directly whether it's using the available hardware acceleration. kvm-info tells you whether acceleration is available but not whether QEMU is using it.
    – dsstorefile1
    Apr 30 at 8:09






  • 1




    I got into monitor and I got: kvm support: enabled
    – netCreate
    Apr 30 at 13:17










  • You could take a look if you are cpu bound and if so in which of qemu's threads that is via pidstat -t -p <pid-of-qemu> - the share between guest/user/sys in that would often also indicate where to look next.
    – Christian Ehrhardt
    Apr 30 at 14:08















Does info kvm say hardware virtualization is in use?
– dsstorefile1
Apr 30 at 6:38




Does info kvm say hardware virtualization is in use?
– dsstorefile1
Apr 30 at 6:38












I'm not sure what your'e asking me for. But kvm-info says INFO: /dev/kvm exists KVM acceleration can be used also lscpu shows: Virtualization: AMD-V
– netCreate
Apr 30 at 8:08





I'm not sure what your'e asking me for. But kvm-info says INFO: /dev/kvm exists KVM acceleration can be used also lscpu shows: Virtualization: AMD-V
– netCreate
Apr 30 at 8:08













I was asking you to run a command in the QEMU monitor so the emulator itself tells you directly whether it's using the available hardware acceleration. kvm-info tells you whether acceleration is available but not whether QEMU is using it.
– dsstorefile1
Apr 30 at 8:09




I was asking you to run a command in the QEMU monitor so the emulator itself tells you directly whether it's using the available hardware acceleration. kvm-info tells you whether acceleration is available but not whether QEMU is using it.
– dsstorefile1
Apr 30 at 8:09




1




1




I got into monitor and I got: kvm support: enabled
– netCreate
Apr 30 at 13:17




I got into monitor and I got: kvm support: enabled
– netCreate
Apr 30 at 13:17












You could take a look if you are cpu bound and if so in which of qemu's threads that is via pidstat -t -p <pid-of-qemu> - the share between guest/user/sys in that would often also indicate where to look next.
– Christian Ehrhardt
Apr 30 at 14:08




You could take a look if you are cpu bound and if so in which of qemu's threads that is via pidstat -t -p <pid-of-qemu> - the share between guest/user/sys in that would often also indicate where to look next.
– Christian Ehrhardt
Apr 30 at 14:08















active

oldest

votes











Your Answer







StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "89"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
convertImagesToLinks: true,
noModals: false,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













 

draft saved


draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1029970%2fryzen-kvm-very-slow-vilrtualization%23new-answer', 'question_page');

);

Post as a guest



































active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes















 

draft saved


draft discarded















































 


draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1029970%2fryzen-kvm-very-slow-vilrtualization%23new-answer', 'question_page');

);

Post as a guest













































































Popular posts from this blog

How do so many people here on Academia.SE, and in general, afford lavish higher education programs?

Unable to upgrade pip

Cutting all the characters after the last /