Ryzen + KVM very slow vilrtualization

Clash 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?
64-bit virtualization kvm
 |Â
show 1 more comment
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?
64-bit virtualization kvm
Doesinfo kvmsay hardware virtualization is in use?
â dsstorefile1
Apr 30 at 6:38
I'm not sure what your'e asking me for. But kvm-info saysINFO: /dev/kvm exists KVM acceleration can be usedalsolscpushows: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 viapidstat -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
 |Â
show 1 more comment
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?
64-bit virtualization kvm
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?
64-bit virtualization kvm
asked Apr 30 at 6:37
netCreate
11
11
Doesinfo kvmsay hardware virtualization is in use?
â dsstorefile1
Apr 30 at 6:38
I'm not sure what your'e asking me for. But kvm-info saysINFO: /dev/kvm exists KVM acceleration can be usedalsolscpushows: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 viapidstat -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
 |Â
show 1 more comment
Doesinfo kvmsay hardware virtualization is in use?
â dsstorefile1
Apr 30 at 6:38
I'm not sure what your'e asking me for. But kvm-info saysINFO: /dev/kvm exists KVM acceleration can be usedalsolscpushows: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 viapidstat -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
 |Â
show 1 more comment
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
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
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Does
info kvmsay 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 usedalsolscpushows: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