RDP performance

Discussion in 'Proxmox VE: Installation and configuration' started by Laurent Minne, Jun 11, 2018.

  1. Laurent Minne

    Laurent Minne New Member
    Proxmox Subscriber

    Joined:
    Jun 11, 2018
    Messages:
    9
    Likes Received:
    0
    Hello everyone,

    My testing Config :

    - AMD Ryzen 1600X
    - Asus Prime AB 350 Plus
    - 4 x 8Go Crucial 2400Mhz
    - 4 x MX500 Crucial 250Go in Raidz1 (/root & VM-Images only)
    - 2 x 4To in raidz1 (vzdump, backup & ISO storage)
    - Dual NIC 1Gbps

    No general performance problem on the side of the Proxmox when VM is launched but I have an RDP problem on my Guest VM WIN10. The problem is graphic. The VM has no worries about RAM, CPU consumption and I do not see an IO Delay on the hypervisor side.

    Yet in RDP (local or remote) windows take time to shrink, windows leave a drag during their reduction etc... The RDP tool is however set to have maximum quality.

    The VM WIN10 :
    - Windows 10
    - Updates OK
    - Drivers : VIRTio scsi, balloning, NetKVM, Qemu-Guest-Agent.
    (Despite the fact that the service runs on the VM I have no information displayed in the summary of the VM under Proxmox ... yet Get-Service QEMU-GA tells me that it works and a qm agent VMID ping me back nothing so everything should be ok but i have no information.)

    PVEVERSION :
    Code:
    root@probeprox:~# pveversion -v
    proxmox-ve: 5.2-2 (running kernel: 4.15.17-2-pve)
    pve-manager: 5.2-1 (running version: 5.2-1/0fcd7879)
    pve-kernel-4.15: 5.2-2
    pve-kernel-4.15.17-2-pve: 4.15.17-10
    pve-kernel-4.15.17-1-pve: 4.15.17-9
    corosync: 2.4.2-pve5
    criu: 2.11.1-1~bpo90
    glusterfs-client: 3.8.8-1
    ksm-control-daemon: 1.2-2
    libjs-extjs: 6.0.1-2
    libpve-access-control: 5.0-8
    libpve-apiclient-perl: 2.0-4
    libpve-common-perl: 5.0-32
    libpve-guest-common-perl: 2.0-16
    libpve-http-server-perl: 2.0-9
    libpve-storage-perl: 5.0-23
    libqb0: 1.0.1-1
    lvm2: 2.02.168-pve6
    lxc-pve: 3.0.0-3
    lxcfs: 3.0.0-1
    novnc-pve: 0.6-4
    proxmox-widget-toolkit: 1.0-18
    pve-cluster: 5.0-27
    pve-container: 2.0-23
    pve-docs: 5.2-4
    pve-firewall: 3.0-9
    pve-firmware: 2.0-4
    pve-ha-manager: 2.0-5
    pve-i18n: 1.0-5
    pve-libspice-server1: 0.12.8-3
    pve-qemu-kvm: 2.11.1-5
    pve-xtermjs: 1.0-5
    qemu-server: 5.0-26
    smartmontools: 6.5+svn4324-1
    spiceterm: 3.0-5
    vncterm: 1.5-3
    zfsutils-linux: 0.7.9-pve1~bpo9
    PVEPERF :
    Code:
    CPU BOGOMIPS:      93418.68
    REGEX/SECOND:      1516414
    HD SIZE:           411.81 GB (rpool/ROOT/pve-1)
    FSYNCS/SECOND:     1572.20
    DNS EXT:           83.20 ms
    DNS INT:           8.81 ms (local)
    
    VM INFO :
    Code:
       {
          "cpu" : 0.0452116045012974,
          "disk" : 0,
          "diskread" : 4747762688,
          "diskwrite" : 1022807040,
          "id" : "qemu/101",
          "maxcpu" : 4,
          "maxdisk" : 107374182400,
          "maxmem" : 4294967296,
          "mem" : 866394112,
          "name" : "WIN10",
          "netin" : 26147470,
          "netout" : 43755455,
          "node" : "probeprox",
          "status" : "running",
          "template" : 0,
          "type" : "qemu",
          "uptime" : 42547,
          "vmid" : 101
       },
    

    If you have any suggest ?

    For information on the same machine with other pool of SSD & HDD (same model and size) on Citrix I have no problem for RDP etc... (fucking licence cost haha)
     
  2. Datanat

    Datanat New Member
    Proxmox Subscriber

    Joined:
    Apr 11, 2018
    Messages:
    16
    Likes Received:
    3
    Hello,

    May i ask what is the screen resolution you are using client side ? and what kind of RDP client is used too ?

    Best regards,
     
  3. Laurent Minne

    Laurent Minne New Member
    Proxmox Subscriber

    Joined:
    Jun 11, 2018
    Messages:
    9
    Likes Received:
    0
    Tested with official MS RDP Client and via Remmina+freerdp plugin. Both gived the same result = poor performance and grapghical issue...

    And again both tools works fine on Xen VM =(

    For the resolution : 800x600 / 1280x720 / 1920x1080 / 2560x1440
     
  4. Datanat

    Datanat New Member
    Proxmox Subscriber

    Joined:
    Apr 11, 2018
    Messages:
    16
    Likes Received:
    3
    Have you tried to iperf from the client to the server ? Might have some unexpected results there
     
  5. Laurent Minne

    Laurent Minne New Member
    Proxmox Subscriber

    Joined:
    Jun 11, 2018
    Messages:
    9
    Likes Received:
    0
    I have not tested with Iperf but I use 100% NIC 1GB when transferring the VM to the shared folders of my hypervisor. I can also use 100% of the internet connection from my VM. It's only the RDP itself that displays a horrible rendering ...

    Do you still prefer a test via Iperf?
     
  6. Datanat

    Datanat New Member
    Proxmox Subscriber

    Joined:
    Apr 11, 2018
    Messages:
    16
    Likes Received:
    3
    I guess transferring to the hypervisor is not quite the same as loading the guest. As RDP is very sensitive to network conditions variations, i suppose clearing out that client ==> VM is ok might help.
     
  7. Laurent Minne

    Laurent Minne New Member
    Proxmox Subscriber

    Joined:
    Jun 11, 2018
    Messages:
    9
    Likes Received:
    0
    I have already try to create a new VM with different settings for the same experience trough RDP.

    IPERF HOST To VM :
    Code:
    root@probeprox:~# iperf3 -c 10.0.4.124 -t 30
    Connecting to host 10.0.4.124, port 5201
    [  4] local 10.0.4.200 port 59774 connected to 10.0.4.124 port 5201
    [ ID] Interval           Transfer     Bandwidth       Retr  Cwnd
    [  4]   0.00-1.00   sec   590 MBytes  4.95 Gbits/sec    0    245 KBytes      
    [  4]   1.00-2.00   sec   726 MBytes  6.09 Gbits/sec    0    245 KBytes      
    [  4]   2.00-3.00   sec   772 MBytes  6.47 Gbits/sec    0    245 KBytes      
    [  4]   3.00-4.00   sec   795 MBytes  6.67 Gbits/sec    0    245 KBytes      
    [  4]   4.00-5.00   sec   788 MBytes  6.61 Gbits/sec    0    245 KBytes      
    [  4]   5.00-6.00   sec   711 MBytes  5.96 Gbits/sec    0    245 KBytes      
    [  4]   6.00-7.00   sec   706 MBytes  5.93 Gbits/sec    0    245 KBytes      
    [  4]   7.00-8.00   sec   670 MBytes  5.62 Gbits/sec    0    245 KBytes      
    [  4]   8.00-9.00   sec   738 MBytes  6.19 Gbits/sec    0    245 KBytes      
    [  4]   9.00-10.00  sec   836 MBytes  7.01 Gbits/sec    0    245 KBytes      
    [  4]  10.00-11.00  sec   671 MBytes  5.63 Gbits/sec    0    245 KBytes      
    [  4]  11.00-12.00  sec   765 MBytes  6.42 Gbits/sec    0    245 KBytes      
    [  4]  12.00-13.00  sec   790 MBytes  6.63 Gbits/sec    0    245 KBytes      
    [  4]  13.00-14.00  sec   801 MBytes  6.72 Gbits/sec    0    245 KBytes      
    [  4]  14.00-15.00  sec   793 MBytes  6.66 Gbits/sec    0    245 KBytes      
    [  4]  15.00-16.00  sec   691 MBytes  5.80 Gbits/sec    0    245 KBytes      
    [  4]  16.00-17.00  sec   697 MBytes  5.85 Gbits/sec    0    245 KBytes      
    [  4]  17.00-18.00  sec   702 MBytes  5.89 Gbits/sec    0    245 KBytes      
    [  4]  18.00-19.00  sec   682 MBytes  5.72 Gbits/sec    0    245 KBytes      
    [  4]  19.00-20.00  sec   678 MBytes  5.68 Gbits/sec    0    245 KBytes      
    [  4]  20.00-21.00  sec   668 MBytes  5.61 Gbits/sec    0    245 KBytes      
    [  4]  21.00-22.00  sec   694 MBytes  5.83 Gbits/sec    0    245 KBytes      
    [  4]  22.00-23.00  sec   768 MBytes  6.44 Gbits/sec    0    245 KBytes      
    [  4]  23.00-24.00  sec   716 MBytes  6.00 Gbits/sec    0    245 KBytes      
    [  4]  24.00-25.00  sec   707 MBytes  5.93 Gbits/sec    0    245 KBytes      
    [  4]  25.00-26.00  sec   697 MBytes  5.85 Gbits/sec    0    245 KBytes      
    [  4]  26.00-27.00  sec   695 MBytes  5.83 Gbits/sec    0    245 KBytes      
    [  4]  27.00-28.00  sec   669 MBytes  5.61 Gbits/sec    0    245 KBytes      
    [  4]  28.00-29.00  sec   703 MBytes  5.90 Gbits/sec    0    245 KBytes      
    [  4]  29.00-30.00  sec   686 MBytes  5.75 Gbits/sec    0    245 KBytes      
    - - - - - - - - - - - - - - - - - - - - - - - - -
    [ ID] Interval           Transfer     Bandwidth       Retr
    [  4]   0.00-30.00  sec  21.1 GBytes  6.04 Gbits/sec    0             sender
    [  4]   0.00-30.00  sec  21.1 GBytes  6.04 Gbits/sec                  receiver
    
    iperf Done.
    
    
    VM To HOST in file

    Result are suffisant to make a good rdp I think =(
     

    Attached Files:

  8. Datanat

    Datanat New Member
    Proxmox Subscriber

    Joined:
    Apr 11, 2018
    Messages:
    16
    Likes Received:
    3
    Ok get it : Client is also a VM => Server is a Win 10 VM : RDP from client to Win 10 is a disaster.
    I just fired up a WIN10 VM , stock, no updates, no drivers... runs mostly smooth on 2560x1600 connecting from my laptop to the guest.
     
  9. Laurent Minne

    Laurent Minne New Member
    Proxmox Subscriber

    Joined:
    Jun 11, 2018
    Messages:
    9
    Likes Received:
    0
    From my client in local I have full speed an from remote to.

    The problem isn't network speed ;-)

    My WS to VM :
    Code:
    [ ID] Interval           Transfer     Bitrate         Retr  Cwnd
    [  5]   0.00-1.00   sec   112 MBytes   937 Mbits/sec    0    147 KBytes       
    [  5]   1.00-2.00   sec   112 MBytes   940 Mbits/sec    0    208 KBytes       
    [  5]   2.00-3.00   sec   112 MBytes   943 Mbits/sec    0    208 KBytes       
    [  5]   3.00-4.00   sec   113 MBytes   944 Mbits/sec    1    208 KBytes       
    [  5]   4.00-5.00   sec   112 MBytes   937 Mbits/sec    2    208 KBytes       
    [  5]   5.00-6.00   sec   112 MBytes   939 Mbits/sec    2    208 KBytes       
    [  5]   6.00-7.00   sec   112 MBytes   937 Mbits/sec    1    208 KBytes       
    [  5]   7.00-8.00   sec   112 MBytes   940 Mbits/sec    1    208 KBytes       
    [  5]   8.00-9.00   sec   113 MBytes   947 Mbits/sec    0    208 KBytes       
    [  5]   9.00-10.00  sec   113 MBytes   948 Mbits/sec    0    208 KBytes       
    [  5]  10.00-11.00  sec   112 MBytes   937 Mbits/sec    1    208 KBytes       
    [  5]  11.00-12.00  sec   113 MBytes   949 Mbits/sec    0    208 KBytes       
    [  5]  12.00-13.00  sec   105 MBytes   880 Mbits/sec   12    208 KBytes       
    [  5]  13.00-14.00  sec   112 MBytes   942 Mbits/sec    1    208 KBytes       
    [  5]  14.00-15.00  sec   111 MBytes   933 Mbits/sec    3    208 KBytes       
    [  5]  15.00-16.00  sec   112 MBytes   940 Mbits/sec    1    208 KBytes       
    [  5]  16.00-17.00  sec   112 MBytes   939 Mbits/sec    1    208 KBytes       
    [  5]  17.00-18.00  sec   113 MBytes   949 Mbits/sec    0    208 KBytes       
    [  5]  18.00-19.00  sec   113 MBytes   949 Mbits/sec    0    208 KBytes       
    [  5]  19.00-20.00  sec   112 MBytes   937 Mbits/sec    2    208 KBytes       
    
    
     
    #9 Laurent Minne, Jun 11, 2018
    Last edited: Jun 11, 2018
  10. Frozen Pizza

    Frozen Pizza New Member

    Joined:
    Feb 11, 2019
    Messages:
    5
    Likes Received:
    0
    This might be a UDP issue. Try disabling UDP for the RDP connection.
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice