CPU load is very high

docent

Renowned Member
Jul 23, 2009
96
1
73
Hi!

I've installed Ubuntu 11.04 with Samba4 on KVM & LVM. When I copy files to this server, the CPU is heavily loaded, while the copy speed is very small.
Code:
top - 09:24:42 up 7 days, 20:42,  2 users,  load average: 2.90, 3.49, 3.17
Tasks: 104 total,   4 running, 100 sleeping,   0 stopped,   0 zombie
Cpu0  : 10.2%us, 23.8%sy,  0.0%ni,  1.3%id,  0.0%wa,  0.0%hi, 64.7%si,  0.0%st
Cpu1  :  0.0%us, 76.5%sy,  0.0%ni,  5.9%id,  3.2%wa,  0.0%hi, 14.5%si,  0.0%st
Mem:   2056556k total,  1965868k used,    90688k free,   267508k buffers
Swap:   520188k total,     4888k used,   515300k free,  1277456k cached

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
32523 3000054   20   0  496m  48m 5116 R   72  2.4  29:16.84 samba
  759 root      20   0     0    0    0 S   42  0.0   2:55.64 kworker/0:2
   27 root      20   0     0    0    0 R   40  0.0 239:28.51 kswapd0
25729 root      20   0  506m  60m  11m D   21  3.0  31:44.79 samba
Code:
root@spin:~# ifstat 10
       eth0
 KB/s in  KB/s out
 1950.02     22.15
   94.07      1.67
  140.12      2.56
 1616.75     22.52
 1249.37     15.70
 2024.26     22.65
 2340.95     25.02
 1700.64     18.17
 1016.47     11.26
 1678.64     18.52
 1551.55     18.13
 1377.56     15.27
  942.26     10.94
  704.94      8.91
 1084.98     12.98
  985.57     12.26
 1693.20     20.73
on the host:
Code:
aldor2:~# pveversion --verbose
pve-manager: 1.8-17 (pve-manager/1.8/5948)
running kernel: 2.6.35-1-pve
pve-kernel-2.6.35-1-pve: 2.6.35-11
qemu-server: 1.1-30
pve-firmware: 1.0-11
libpve-storage-perl: 1.0-17
vncterm: 0.9-2
vzctl: 3.0.26-1pve4
vzdump: 1.2-12
vzprocps: 2.0.11-2
vzquota: 3.0.11-1

aldor2:~# pveperf
CPU BOGOMIPS:      7200.29
REGEX/SECOND:      124609
HD SIZE:           45.83 GB (/dev/mapper/aldor2-root)
BUFFERED READS:    68.95 MB/sec
AVERAGE SEEK TIME: 9.10 ms
FSYNCS/SECOND:     372.45
DNS EXT:           305.29 ms
DNS INT:           4.25 ms (alias.ru)
root 3913 14.2 18.2 2350880 2073548 ? Sl May19 1615:34 /usr/bin/kvm -monitor unix:/var/run/qemu-server/105.mon,server,nowait -vnc unix:/var/run/qemu-server/105.vnc,password -pidfile /var/run/qemu-server/105.pid -daemonize -usbdevice tablet -name spin -smp sockets=1,cores=2 -nodefaults -boot menu=on,order=cad -vga cirrus -tdf -localtime -drive file=/dev/aldor2/vm-105-disk-1,if=ide,index=0,cache=none,boot=on -drive file=/dev/data1/vm-105-disk-1,if=scsi,index=0,cache=none -drive file=/dev/data2/vm-105-disk-1,if=scsi,index=1,cache=none -drive file=/dev/data1/vm-105-disk-2,if=scsi,index=2,cache=none -m 2048 -netdev type=tap,id=vlan0d0,ifname=tap105i0d0,script=/var/lib/qemu-server/bridge-vlan -device e1000,mac=8E:17:DD:56:C5:7C,netdev=vlan0d0
 
Last edited:
use virtio for disk and net for your KVM (Ubuntu) - any difference?
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!