Debian 10 very slow on Virtual Machine Manager (VMM)

New to Debian (Or Linux in general)? Ask your questions here!

Debian 10 very slow on Virtual Machine Manager (VMM)

Postby justarandom12 » 2020-05-09 11:00

Hello I installed debian 10 on the virtual machine manager, I dedicate to the vm 4 cores from 16, 4 GB of ram, and 50 gb space.

the installation went really slowly, and the system runs also extremly slowly now, how can I check if the problem are maybe the graphic acceleration drivers, and how to install them ?
justarandom12
 
Posts: 5
Joined: 2020-05-09 10:40

Re: Debian 10 very slow on Virtual Machine Manager (VMM)

Postby fred44nl » 2020-05-09 11:05

I'm not familiair with VMM, so I ask you: why not Oracle Virtualbox ??

https://www.virtualbox.org/wiki/Linux_Downloads
Debian 10 - Buster on Compulab Fitlet2
User avatar
fred44nl
 
Posts: 186
Joined: 2018-07-14 08:54

Re: Debian 10 very slow on Virtual Machine Manager (VMM)

Postby Head_on_a_Stick » 2020-05-09 11:10

fred44nl wrote:why not Oracle Virtualbox ?

Because it's shit. And it's been removed from the Debian stable release.

justarandom12 wrote:the system runs also extremly slowly

Is KVM enabled in virt-manager and have you enabled the hardware virtualisation extensions in the firmware ("BIOS") options of the host machine?

See also https://wiki.debian.org/KVM
User avatar
Head_on_a_Stick
 
Posts: 12129
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: Debian 10 very slow on Virtual Machine Manager (VMM)

Postby justarandom12 » 2020-05-09 13:35

Head_on_a_Stick wrote:
fred44nl wrote:why not Oracle Virtualbox ?

Because it's shit. And it's been removed from the Debian stable release.

justarandom12 wrote:the system runs also extremly slowly

Is KVM enabled in virt-manager and have you enabled the hardware virtualisation extensions in the firmware ("BIOS") options of the host machine?

See also https://wiki.debian.org/KVM

Thank you for your answer, you were right, the virtualisation in the bios wasnt activated, unfortunately to active it, didnt solve the problem.
I dont know exactly what you mean by enable KVM, I installed it with sudo apt install qemu qemu-kvm qemu-system qemu-utils
and started the VMM Manager, then installed debian 10. Sorry for my mistakes Im very young and just started with linux.
Last edited by justarandom12 on 2020-05-09 14:02, edited 1 time in total.
justarandom12
 
Posts: 5
Joined: 2020-05-09 10:40

Re: Debian 10 very slow on Virtual Machine Manager (VMM)

Postby Head_on_a_Stick » 2020-05-09 13:52

I don't use virt-manager myself so I'm not sure how to enable KVM in that but you can start your VM then check if the -enable-kvm option is applied:
Code: Select all
pgrep -a qemu-system

Also check if the kernel module is loaded:
Code: Select all
lsmod|grep kvm

If the VM was installed with hardware virtualisation disabled then perhaps virt-manager doesn't try to enable it afterwards but I don't really know for sure. Consult the Debian wiki page to which I linked earlier.
User avatar
Head_on_a_Stick
 
Posts: 12129
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: Debian 10 very slow on Virtual Machine Manager (VMM)

Postby justarandom12 » 2020-05-09 14:09

Head_on_a_Stick wrote:I don't use virt-manager myself so I'm not sure how to enable KVM in that but you can start your VM then check if the -enable-kvm option is applied:
Code: Select all
pgrep -a qemu-system

Also check if the kernel module is loaded:
Code: Select all
lsmod|grep kvm

If the VM was installed with hardware virtualisation disabled then perhaps virt-manager doesn't try to enable it afterwards but I don't really know for sure. Consult the Debian wiki page to which I linked earlier.



Code: Select all
pgrep -a qemu-system

kvm looks like it is enabled
Code: Select all
lsmod|grep kvm

kvm 0
irq bypass 1


maybe just reinstall with activated virtualisation in Bios ?
justarandom12
 
Posts: 5
Joined: 2020-05-09 10:40

Re: Debian 10 very slow on Virtual Machine Manager (VMM)

Postby justarandom12 » 2020-05-09 14:30

it looks like reinstalling with virtualisation activated will solve the problem, it installs much smoother and faster now and the cpu usage looks much different and better.
justarandom12
 
Posts: 5
Joined: 2020-05-09 10:40

Re: Debian 10 very slow on Virtual Machine Manager (VMM)

Postby justarandom12 » 2020-05-09 17:57

ok after reinstall it works like 50% faster and better, but its far away from "smooth". I dont know what else I can try ?
justarandom12
 
Posts: 5
Joined: 2020-05-09 10:40

Re: Debian 10 very slow on Virtual Machine Manager (VMM)

Postby Bulkley » 2020-05-10 01:09

justarandom12 wrote:Hello I installed debian 10 on the virtual machine manager . . . .


What's your host OS?

Several weeks ago Head_on_a_Stick posted instructions on how to use qemu directly. Search the forum for it.

If you need a GUI, try Gnome-Boxes. It lacks refinements found on more complicated GUIs but is easy for a novice to use.

BTW, generally the client (in your case Debian 10) needs some software installed. That means some #apt install [package] from the client.
Bulkley
 
Posts: 5940
Joined: 2006-02-11 18:35


Return to Beginners Questions

Who is online

Users browsing this forum: No registered users and 8 guests

fashionable