I have a Hyper-V host on win2012R2 (Version 6.3.9600) with two gigabit network adapters, one of them connecting to a gigabit router (the another one is currently out of use because lack of a gigabit switch near to the server yet).
I'm running a CentOS 7 guest to run netatalk as a TimeMachine service for my Mac.
I use the network adapter on the guest as an external bridge to my router (normal virtual network adapter, not legacy (!)).
My problem is if I running a network bandwidth test between the host and the guest i just get 10MB/s (if I run python's speedtest-cli on the guest I got 153MB/s and on the host 240MB/s regarding to my broadband).
The commands I use: Hyper-V host:
nc -v -l 2222 > NUL
And the CentOS7 guest:
dd if=/dev/zero bs=1024k count=1024 | nc -v 192.168.250.195 2222
If I set up an internal virtual network adapter between the host and the guest I get 130MB/s-300MB/s with the same commands.
The guest has dynamic memory starting at 512MB, and 2 of the 4 CPU cores, but I don't thinks this matters in this case.
dd if=/dev/zero bs=1024k count=1024 | md5sum
Gives 85MB/s-120MB/s
And a normal
dd if=/dev/zero of=test bs=1024k count=1024
Gives 350-450MB/s (Dynamic VHDX on a SATA3 disk)
How could it be? And what can I do for it? I've already ordered a gigabit switch to use the second physical network interface only for the guest but I'm afraid that this isn't the main cause of this error.
Unfortunately I not have been able to run dd over netcat from my mac to the guest because I haven't been at home for couple of days.
Thank you for your answers.