@e100: and you also get 5-10% cup idle usage?
Not quite 5-10% but yes there is a noticeable drop as you can see in the screen shot below.
I have not had a chance to test hot plug/remove very much but I would like to think it will work just fine since it is emulated USB device.
We are in the middle of testing our backups, so when the last backup set completed I started two VMs and let them site idle.
That is all that was running on the server, one Windows 2008 R2 and one Debian Wheezy KVM machine.
Both VMs have two cores assigned to them.
Before removing USB Tablet device:
Code:
procs -----------memory---------- ---swap-- -----io---- -system-- ----cpu----
r b swpd free buff cache si so bi bo in cs us sy id wa
1 0 86136 11220024 6756 98444 0 0 80 52 4474 4984 0 0 99 0
0 0 86136 11220352 6756 98440 0 0 930 4 5306 5231 0 0 99 0
0 0 86136 11220228 6756 98456 0 0 0 0 4760 4714 0 0 99 0
0 0 86136 11219972 6756 98460 0 0 0 0 4941 4750 0 0 99 0
0 0 86136 11219856 6756 98460 0 0 0 0 4902 4715 0 0 100 0
0 0 86136 11219600 6756 98460 0 0 0 0 4318 4764 0 0 100 0
0 0 86136 11219840 6764 98460 0 0 0 116 4038 4749 0 0 100 0
0 0 86136 11220088 6764 98460 0 0 0 0 4347 4758 1 0 99 0
0 0 86136 11220468 6764 98464 0 0 0 0 4464 4722 0 0 100 0
0 0 86136 11238928 6764 95356 0 0 0 0 4588 4740 0 0 100 0
0 0 86136 11221428 6764 98464 0 0 0 0 4879 4751 1 1 99 0
0 0 86136 11221180 6772 98432 0 0 1010 64 4671 5504 1 1 99 0
0 0 86136 11220676 6772 98468 0 0 0 276 3829 5063 1 0 99 0
0 0 86136 11220436 6772 98468 0 0 0 12 4109 4736 0 0 100 0
I removed the tablet device from the windows machine:
Code:
procs -----------memory---------- ---swap-- -----io---- -system-- ----cpu----
r b swpd free buff cache si so bi bo in cs us sy id wa
0 0 86136 11219004 7004 99744 0 3 2520 4956 2 8 2 5 88 4
0 0 86136 11218500 7004 99744 0 0 0 12 1328 974 2 0 98 0
0 0 86136 11218376 7004 99760 0 0 1010 12 1721 1634 1 1 99 0
0 0 86136 11218616 7012 99764 0 0 0 72 878 825 0 0 100 0
0 0 86136 11218872 7012 99752 0 0 0 4 956 838 0 0 100 0
0 0 86136 11219368 7012 99752 0 0 0 20 889 814 0 0 100 0
0 0 86136 11218996 7012 99752 0 0 0 0 897 819 0 0 99 0
0 0 86136 11218872 7012 99752 0 0 0 12 1002 885 0 0 100 0
0 0 86136 11218748 7020 99752 0 0 0 48 926 826 0 0 99 0
1 0 86136 11218748 7020 99752 0 0 0 0 700 728 0 0 100 0
0 0 86136 11218872 7020 99752 0 0 0 8 998 849 0 0 100 0
0 0 86136 11218616 7020 99752 0 0 0 0 857 787 0 0 100 0
0 0 86136 11218128 7020 99756 0 0 1010 4 1828 1619 0 1 99 0
0 0 86136 11236108 7028 96644 0 0 0 72 1107 857 0 0 100 0
0 0 86136 11219980 7028 99760 0 0 0 0 948 844 1 0 99 0
0 0 86136 11219360 7028 99760 0 0 0 0 873 800 0 0 100 0
I did not notice any reduction in CS when I removed the tablet device from the Wheezy VM, likely because it is not using it or not pooling it as often.
More testing needs done with linux to ensure it does not cause this problem like windows does.
Red arrow represents when I removed the tablet device on the windows machine:
CPU in this server: AMD Phenom(tm) II X6 1090T Processor
# pveversion -v
Code:
pve-manager: 2.1-1 (pve-manager/2.1/f9b0f63a)
running kernel: 2.6.32-12-pve
proxmox-ve-2.6.32: 2.1-68
pve-kernel-2.6.32-12-pve: 2.6.32-68
pve-kernel-2.6.32-7-pve: 2.6.32-60
lvm2: 2.02.95-1pve2
clvm: 2.02.95-1pve2
corosync-pve: 1.4.3-1
openais-pve: 1.1.4-2
libqb: 0.10.1-2
redhat-cluster-pve: 3.1.8-3
resource-agents-pve: 3.9.2-3
fence-agents-pve: 3.1.7-2
pve-cluster: 1.0-26
qemu-server: 2.0-39
pve-firmware: 1.0-16
libpve-common-perl: 1.0-27
libpve-access-control: 1.0-21
libpve-storage-perl: 2.0-18
vncterm: 1.0-2
vzctl: 3.0.30-2pve5
vzprocps: 2.0.11-2
vzquota: 3.0.12-3
pve-qemu-kvm: 1.0-9
ksm-control-daemon: 1.1-1