File transfer and large host CPU usage

scyche

Renowned Member
Sep 7, 2016
12
0
66
42
Hello, im new in Proxmox. I have home server : host ( intel i5 4460 , 16GB RAM , 2x240 SSD and 1x 160 GB HDD, Intel Quad NIC Gigabit and one port gigabit onboard NIC) Proxmox in latest stable version. On host i have one VM - Windows 7 x64 - drivers virtio to storage and e1000 to NIC. In host i have eth0 - from onboard NIC to manage host via web, and i have bridge vmbr1 (e1000) to one phisical port from Intel Quad NIC (eth1) this interface is assigned to VM (e1000 drivers). When i am logged on VM Windows and copy 6GB iso file from my home NAS ( 11MB/s - network in NAS 100Mbit/s ) CPU usage in Windows Task Manager is < 7% but via proxmox web interface on this VM CPU usage is about 100%, and in summary for all host CPU usage is over 50%. Cache on virtual hard drive is set to none (default), CPU is set to Hasvell no TSX. Which CPU usage is real ? from webinterface ? or from TaskManager in Windows ? Windows installation is new and clear.
 

Attachments

  • proxmox-web.png
    proxmox-web.png
    19.7 KB · Views: 10
Hi,

try the virtio vnic instead of e1000.
virtio need less overhead.
 
I tried virtio nic too, but the same problem. It looks like CPU usage on host is fake, i can transfer in VM 1000Mbit/s from NAS , cpu via webinterface on VM = 100% but in VM windows task manager = 10% , windows is still responsible then. In the same time on second VM Windows i can transfer data 100Mbit/s and both VM are responsible.
 
May be it is not the nic, windows need also plenty CPU time for software rendering.
Do you have an mediaplayer , rdp or something else running?
 
Nope, its clear windows , RDP is disconected . On the screenshoot from webinterface i have host CPU 52,4% , and first VM in iddle , second VM - transfer 7GB file from NAS via 1Gb/s NIC - in webinterface CPU 108% but in this VM Windows Task Manager show : < 20% , NIC in task manager 99% , transfer about 90MB/s
 

Attachments

  • proxmox-web2.png
    proxmox-web2.png
    5.9 KB · Views: 7
I did one more test. On both VM guests run download file from two different localizations via 1Gb/s LAN. On both VM Windows task manager CPU about 20% but in host in webinterface : 72% for host , and 75% for VM1 , 70% for VM2. Htop in host have large CPU usage too. See screenshoot from attachment. I can't understand why ? 75% + 70% != 72% for all :) CPU : i5 , 4 cores. For VM1 - 2 cores for VM2 - 2 cores.
 

Attachments

  • proxmox-web3.png
    proxmox-web3.png
    58 KB · Views: 6