Proxmox VM (Debian) slow internet

Pato_77

New Member
Jun 14, 2024
14
0
1
Hi all,

I'm having a problem here with my internet connection of a VM.
iperf from the VM towards the Proxmox host IP isn't that great (since both network cards show 10Gbps for speed in ethtool) but still shows way more than a 100mbps connection:

iperf
Code:
iperf3 -c 192.168.X.7
Connecting to host 192.168.X.7, port 5201
[  5] local 192.168.X.84 port 56954 connected to 192.168.X.7 port 5201
[ ID] Interval           Transfer     Bitrate         Retr  Cwnd
[  5]   0.00-1.00   sec   650 MBytes  5.46 Gbits/sec    0   3.43 MBytes
[  5]   1.00-2.00   sec   758 MBytes  6.35 Gbits/sec    0   3.60 MBytes
[  5]   2.00-3.00   sec   579 MBytes  4.86 Gbits/sec    0   3.79 MBytes
[  5]   3.00-4.00   sec   552 MBytes  4.64 Gbits/sec   45   2.80 MBytes
[  5]   4.00-5.00   sec   666 MBytes  5.59 Gbits/sec    0   2.98 MBytes
[  5]   5.00-6.00   sec   275 MBytes  2.31 Gbits/sec    2   3.15 MBytes
[  5]   6.00-7.00   sec   112 MBytes   944 Mbits/sec    1   3.15 MBytes
[  5]   7.00-8.00   sec   111 MBytes   933 Mbits/sec    4   3.15 MBytes
[  5]   8.00-9.00   sec   111 MBytes   933 Mbits/sec   34   3.15 MBytes
[  5]   9.00-10.00  sec   112 MBytes   944 Mbits/sec    3   3.15 MBytes
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bitrate         Retr
[  5]   0.00-10.00  sec  3.84 GBytes  3.29 Gbits/sec   89             sender
[  5]   0.00-10.02  sec  3.83 GBytes  3.29 Gbits/sec                  receiver


I did manage to use "ethtool" and set the ethernet card (in Debian VM) persistent to 10000 Mbps Full duplex. But still the speed is 100mbps. I don't now what else I could do. Any help is appreciated.
Here's the requested info:


Interfaces file:
Code:
source /etc/network/interfaces.d/*

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
allow-hotplug enp6s18
iface enp6s18 inet static
        address 192.168.X.84/25
        gateway 192.168.X.1
        # dns-* options are implemented by the resolvconf package, if installed
        dns-nameservers 9.9.9.9
        post-up /sbin/ethtool -s enp6s18 speed 10000 duplex full


ethtool -i enp6s18
Code:
driver: virtio_net
version: 1.0.0
firmware-version:
expansion-rom-version:
bus-info: 0000:06:12.0
supports-statistics: yes
supports-test: no
supports-eeprom-access: no
supports-register-dump: no
supports-priv-flags: no


qm config 203
Code:
agent: 1
balloon: 2048
boot: order=scsi0;ide2;net0
cores: 2
cpu: host
ide2: local:iso/debian-12.5.0-amd64-netinst.iso,media=cdrom,size=629M
machine: q35
memory: 8184
meta: creation-qemu=8.1.5,ctime=1718471246
name: VM-MediaSrv
net0: virtio=BC:24:11:98:3A:0C,bridge=vmbr1,mtu=1,queues=2
numa: 0
onboot: 1
ostype: l26
scsi0: local-zfs:vm-203-disk-0,discard=on,size=15G
scsihw: virtio-scsi-single
smbios1: uuid=7969c141-59b9-4cf2-afcc-b5b2c6af1457
sockets: 1
startup: order=3,up=10
vcpus: 2
vmgenid: f4764a88-55e5-4e08-8457-3f159739175a


Thanks in advance for the suggestions and help.
 
[UPDATE] 05-07-2024

The above is now solved.
Turned out it was the application (docker-container) NZBGet that was suuuuper slow.
I've ditched NZBGet and configured SabNZBd. Got full speed now.

Did had to move the container from the SMB-Share to a local folder to eliminate the errors of a locked database file.

Case closed!