Quantcast
Channel: Ubuntu Forums - Virtualisation
Viewing all articles
Browse latest Browse all 4211

kvm/qemu performance issue with apt

$
0
0
Hello,

hope someone can help with this strange problem.
I've really huge network/disc performance issues within my ubuntu 18.04 kvm guest which is running on my ubuntu 16.04 kvm host.

The problem is network really only visible in apt which has download-rates of ~70 KB/s!
When I download a large file like Ubuntu Server within the guest the download-speed is 8-10 MByte/s!

The hypervisor (ubuntu server 16.04):
  • Intel i7-4770K CPU
  • 32 GByte RAM


xml disc config of VM:
Code:

<disk type='file' device='disk'>
      <driver name='qemu' type='raw' cache='writethrough' io='threads'/>
      <source file='/var/lib/libvirt/images/client.raw'/>
      <backingStore/>
      <target dev='vda' bus='virtio'/>
      <alias name='virtio-disk0'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x0'/>
</disk>

iperf3 test between kvm hypervisor and guest:
Code:

[ ID] Interval          Transfer    Bandwidth      Retr  Cwnd
[  4]  0.00-1.00  sec  3.91 GBytes  33.6 Gbits/sec    0  3.02 MBytes       
[  4]  1.00-2.00  sec  3.24 GBytes  27.9 Gbits/sec    0  3.02 MBytes       
[  4]  2.00-3.00  sec  3.41 GBytes  29.3 Gbits/sec    0  3.02 MBytes       
[  4]  3.00-4.00  sec  3.73 GBytes  32.0 Gbits/sec    0  3.02 MBytes       
[  4]  4.00-5.00  sec  4.38 GBytes  37.6 Gbits/sec    0  3.02 MBytes       
[  4]  5.00-6.00  sec  3.88 GBytes  33.3 Gbits/sec    0  3.02 MBytes       
[  4]  6.00-7.00  sec  3.86 GBytes  33.2 Gbits/sec    0  3.02 MBytes       
[  4]  7.00-8.00  sec  3.59 GBytes  30.8 Gbits/sec    0  3.02 MBytes       
[  4]  8.00-9.00  sec  3.48 GBytes  29.9 Gbits/sec    0  3.02 MBytes       
[  4]  9.00-10.00  sec  3.43 GBytes  29.5 Gbits/sec    0  3.02 MBytes       
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval          Transfer    Bandwidth      Retr
[  4]  0.00-10.00  sec  36.9 GBytes  31.7 Gbits/sec    0            sender
[  4]  0.00-10.00  sec  36.9 GBytes  31.7 Gbits/sec                  receiver

iperf3 test between other host on network and VM:
Code:

[ ID] Interval          Transfer    Bandwidth      Retr  Cwnd
[  4]  0.00-1.00  sec  112 MBytes  941 Mbits/sec    0  2.95 MBytes       
[  4]  1.00-2.00  sec  110 MBytes  924 Mbits/sec    0  2.95 MBytes       
[  4]  2.00-3.00  sec  107 MBytes  896 Mbits/sec    0  2.95 MBytes       
[  4]  3.00-4.00  sec  110 MBytes  920 Mbits/sec    0  3.10 MBytes       
[  4]  4.00-5.00  sec  109 MBytes  914 Mbits/sec    0  3.10 MBytes       
[  4]  5.00-6.00  sec  108 MBytes  910 Mbits/sec    0  3.10 MBytes       
[  4]  6.00-7.00  sec  111 MBytes  934 Mbits/sec    0  3.10 MBytes       
[  4]  7.00-8.00  sec  110 MBytes  923 Mbits/sec    0  3.10 MBytes       
[  4]  8.00-9.00  sec  109 MBytes  914 Mbits/sec    0  3.10 MBytes       
[  4]  9.00-10.00  sec  110 MBytes  927 Mbits/sec    0  3.10 MBytes       
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval          Transfer    Bandwidth      Retr
[  4]  0.00-10.00  sec  1.07 GBytes  920 Mbits/sec    0            sender
[  4]  0.00-10.00  sec  1.07 GBytes  920 Mbits/sec                  receiver

Thanks in advance :)
Attached Images

Viewing all articles
Browse latest Browse all 4211

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>