PDA

View Full Version : KVM Server CPU use 100%


planet_fox
8th June 2009, 11:46
Hi

I have install KVM install on Debian Lenny 64. The Server uses when it run two Lenny Clients 99-100 % CPU .Is it normal ? than my debian guests runs so slowly :( . My Server have 4GB Ram and the clients become 512 MB ram my CPU have

here my system


lsmod
Module Size Used by
tun 14084 2
kvm_amd 29580 0
kvm 127464 1 kvm_amd
ipv6 288328 24
bridge 53544 0
ext2 66448 1
sbp2 25356 0
loop 19468 0
parport_pc 31016 0
parport 41776 1 parport_pc
k8temp 9216 0
pcspkr 7040 0
snd_usb_audio 91296 0
snd_pcm 81672 1 snd_usb_audio
snd_timer 25744 1 snd_pcm
snd_page_alloc 13072 1 snd_pcm
snd_usb_lib 20224 1 snd_usb_audio
snd_rawmidi 26784 1 snd_usb_lib
snd_seq_device 11668 1 snd_rawmidi
snd_hwdep 12040 1 snd_usb_audio
snd 63688 6 snd_usb_audio,snd_pcm,snd_timer,snd_rawmidi,snd_se q_device,snd_hwdep
soundcore 12064 1 snd
button 11680 0
i2c_nforce2 10752 0
i2c_core 27936 1 i2c_nforce2
evdev 14208 0
ext3 124944 2
jbd 51240 1 ext3
mbcache 12804 2 ext2,ext3
dm_mirror 20608 0
dm_log 13956 1 dm_mirror
dm_snapshot 19400 0
dm_mod 58864 8 dm_mirror,dm_log,dm_snapshot
sd_mod 29376 5
ata_generic 10116 0
sata_nv 27528 3
8139too 28288 0
amd74xx 13448 0 [permanent]
libata 165600 2 ata_generic,sata_nv
scsi_mod 160760 3 sbp2,sd_mod,libata
dock 14112 1 libata
8139cp 23808 0
mii 9856 2 8139too,8139cp
forcedeth 54032 0
ohci1394 32692 0
ieee1394 93816 2 sbp2,ohci1394
ide_pci_generic 9220 0 [permanent]
ide_core 128284 2 amd74xx,ide_pci_generic
ehci_hcd 35980 0
ohci_hcd 25092 0
thermal 22816 0
processor 42304 1 thermal
fan 9352 0
thermal_sys 17728 3 thermal,processor,fan


cat /proc/cpuinfo
processor : 0
vendor_id : AuthenticAMD
cpu family : 15
model : 67
model name : Dual-Core AMD Opteron(tm) Processor 1214
stepping : 2
cpu MHz : 2211.332
cache size : 1024 KB
physical id : 0
siblings : 2
core id : 0
cpu cores : 2
apicid : 0
initial apicid : 0
fpu : yes
fpu_exception : yes
cpuid level : 1
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt rdtscp lm 3dnowext 3dnow rep_good pni cx16 lahf_lm cmp_legacy svm extapic cr8_legacy
bogomips : 4425.27
TLB size : 1024 4K pages
clflush size : 64
cache_alignment : 64
address sizes : 40 bits physical, 48 bits virtual
power management: ts fid vid ttp tm stc

processor : 1
vendor_id : AuthenticAMD
cpu family : 15
model : 67
model name : Dual-Core AMD Opteron(tm) Processor 1214
stepping : 2
cpu MHz : 2211.332
cache size : 1024 KB
physical id : 0
siblings : 2
core id : 1
cpu cores : 2
apicid : 1
initial apicid : 1
fpu : yes
fpu_exception : yes
cpuid level : 1
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt rdtscp lm 3dnowext 3dnow rep_good pni cx16 lahf_lm cmp_legacy svm extapic cr8_legacy
bogomips : 4422.72
TLB size : 1024 4K pages
clflush size : 64
cache_alignment : 64
address sizes : 40 bits physical, 48 bits virtual
power management: ts fid vid ttp tm stc


My create script for guests

virt-install --connect qemu:///system -n lenny -r 512 --vcpus=1 --file /samba/kvm/lenny.img -s 10 -c /home/pool/debian-500-i386-netinst.iso --vnc :5 --noautoconsole --os-type linux --os-variant DebianLenny --accelerate --network=bridge:br0


Is my Server to slow for runnning 2 Clients ?

falko
9th June 2009, 17:19
Normally this should be no problem. Did you take a look at
top
on the host to find out what's eating up your resources?