arpl icon indicating copy to clipboard operation
arpl copied to clipboard

Internet Speed Xpenology VM on a Synology VMM very slow!

Open BobWs opened this issue 2 years ago • 8 comments

Hi, As I understand from the Xpenology Forum, it is possible to install your software on VMWare using the ***.vmdk file. But do you know if it is possible to install it on a real Synology via the VMM (Virtual Machine Manager)? Has anyone tried it successfully?

BobWs avatar Oct 03 '22 13:10 BobWs

Edit: I figured it out how to install it on a Synology NAS via VMM! It is working! But the only problem I'm facing is that the internet speed is very slow. When I do a speedtest the result is much lower that the host is getting.

I'm using the e1000 driver in VMM. Any ideas how to get a higher speed?

BobWs avatar Oct 03 '22 14:10 BobWs

Please try with another network models. I don't know what models are available, if there is more, test it, ARPL puts several modules for the DSM and the load is automatic, so changing the model of the emulated network board should work without having to redo the loader.

fbelavenuto avatar Oct 03 '22 14:10 fbelavenuto

Please try with another network models. I don't know what models are available, if there is more, test it, ARPL puts several modules for the DSM and the load is automatic, so changing the model of the emulated network board should work without having to redo the loader.

I can choose between these in the Synology VMM (see screenshot) Screen_Shot

I can confirm that e1000 is working, also tried the virtio and rlt8139 but that wasn't working. Getting a IP error. (see screenshot). Screen_Shot 1

Edit: When installing the virtualDSM (1 free license) of Synology in VMM I choose virtIO and that matches the host speed.

BobWs avatar Oct 04 '22 11:10 BobWs

Working now?

fbelavenuto avatar Oct 10 '22 13:10 fbelavenuto

Working now?

Only the e1000 is working but then the internet speed is slower than on the host. So I guess I should say no it isn’t working properly.

Overall everything else is working fine.

BobWs avatar Oct 12 '22 14:10 BobWs

OK. There are modules for virtio, it was supposed to work!

fbelavenuto avatar Oct 13 '22 11:10 fbelavenuto

OK. There are modules for virtio, it was supposed to work!

Yes, I choose the module Virto but it didn’t work. Maybe the virtio driver that Synology is using is different from the modules you have?🤷‍♂️

BobWs avatar Oct 13 '22 15:10 BobWs

Here are some speed-tests I have done between Xpenology and a real Synology Virtual DSM installed in a real DS920+ with VMM.

As you can see the problem is that the speed on the XPE is very low compared to the real Synology VDSM when OpenVPN connection in DSM is enabled.

The test is done with VPN because that is what I'm using my VDSM for, it service as a VPN gateway for my home LAN. I'm in need for a second VPN Gateway and thought to use the Xpenology for this because of paid licensing for Synology VDSM. I get only 1 free License when purchased my DS920+.

But unfortunately the speed is to slow on Xpenology when VPN is active. Is there anything that can be done to solve this? I don't understand why this is happening!

Speedtest on VDSM with VPN Connection ON IMG_0140

Speedtest on Xpenology with VPN Connection ON IMG_0141

Speedtest on Xpenology with VPN Connection OFF IMG_0142

BobWs avatar Oct 15 '22 13:10 BobWs

Please update ARPL, reboot, update modules, addons and lkm, rebuild the loader and test it.

fbelavenuto avatar Jan 12 '23 20:01 fbelavenuto

Please update ARPL, reboot, update modules, addons and lkm, rebuild the loader and test it.

I've installed a clean version with the latest beta12 and the internet speed with e1000 network-card has improved! Speedtest with VPN on: Screen_Shot

But when choosing the virtIO it isn't working. Screen_Shot 1 When choosing this setting it isn't working I'm getting a error that there is no IP and cannot create the loader. I have to choose the e1000 card.

BobWs avatar Jan 20 '23 15:01 BobWs

Maybe I got a similar problem: I'm using TrueNAS 13.0 U3.1 which uses Bhyve as hypervisor. When I use the e1000 network adapter, everything works as expected. When I use virtio, the loader says "can't find device eth0" and gets no IP. It's not really a problem for me, I only use this VM for experiments and e1000 works fine for that. Just wanted to report that virtio is also not working for me.

traeu avatar Jan 20 '23 18:01 traeu

"can't find device eth0" and gets no IP.

Yes same error message when choosing virtio on a real Synology Virtual Machine Manager.

BobWs avatar Jan 21 '23 07:01 BobWs

It seems that there is something different in the "virtio" of VMM and Truenas, because in qemu it works perfect.

fbelavenuto avatar Jan 21 '23 22:01 fbelavenuto

It seems that there is something different in the "virtio" of VMM and Truenas, because in qemu it works perfect.

Do you think that it is possible for you to fix? The official VDSM for VMM from Synology works fine with virtio. Maybe that could be a reference to fix?

BobWs avatar Feb 01 '23 09:02 BobWs