KVM - The Linux Kernel-Based Virtual Machine
News, Blogs and Resources on the Linux (KVM) Kernel-Based Virtual Machine

2 kvm process for each VM?

3 replies [Last post]
ppcanodehuelva
Offline
Joined: Sep 28 2010
Points: 5

Hi, i would like to know why my machine has 2 process for each VM was configured at startup.

htop (for VM dn1)

/usr/bin/kvm -S -M pc-0.12 -enable-kvm -m 1000 -smp 1 -name dn1 -uuid 3ddc38bc-3d62-8a17-0abb-1ec73e983d0e -chardev socket,id=mon
/usr/bin/kvm -S -M pc-0.12 -enable-kvm -m 1000 -smp 1 -name dn1 -uuid 3ddc38bc-3d62-8a17-0abb-1ec73e983d0e -chardev socket,id=mon

will it consume the double of the assigned memory? Could it be a failure on my configuration or it is the default behaviour?

Many thanks in advance

Haydn Solomon
Offline
Joined: Mar 7 2008
Points: 460
Re: 2 kvm process for each VM

How are you managing your kvm virtual machines? What tool are you using?

ppcanodehuelva
Offline
Joined: Sep 28 2010
Points: 5
virsh autostart in ubuntu

virsh autostart in ubuntu 10.04.1 64b

hope it helps

Kenni Lund
Offline
Joined: Nov 25 2008
Points: 88
Re: 2 kvm process for each VM

This is by design and it's the default behaviour of KVM. You don't have a configuration issue and it will not consume twice the amount of the assigned memory.

Post new comment

The content of this field is kept private and will not be shown publicly.
Type the characters you see in this picture. (verify using audio)
Type the characters you see in the picture above; if you can't read them, submit the form and a new image will be generated. Not case sensitive.