Visionfive2 no 1Gbps eth only 100M

As I said, the bottleneck is the OpenSSL that cannot utilized the hardware crypto acceleration. And that was 8 months ago! Things changed a lot on both kernel and userspace.

1 Like

ok ok… thanks a lot… but you post this answer to give me a partial solution… please take more attention in future

can you help me to close my account on your forum?
thanks a lot

Try here: https://forum.rvspace.org/tos#heading–your-account

If you do not warry about security , you can try old openssl with rc4(named acfour) .
And very old openssl have none-crypt will give you fastest connection. But I think It will not be built on “morden” linux. :sweat_smile:

1 Like

I install bftpd as the ftp server for transfering a large file without encryption.

For maximum speed I like a simple netcat (no encryption)
Destination machine:
cd /destination_folder ; nc -l -p 1234 | cpio -icdmula
Source machine::

cd /source_folder ; find . -xdev -print | cpio -coax | nc -w 3 [destination_IP_address] 1234

Or for the coolness factor try some taco bell programming
e.g.

cd /sourcefolder ; find . -type f -print0 | xargs -n1 -0 -P42 -Isupercalifragilisticexpialidocious scp -o "ControlMaster=YES" -o "ControlPersist=1m" /sourcefolder/supercalifragilisticexpialidocious remoteuser@remotemachine:/destinationfolder/supercalifragilisticexpialidocious

The above line should transfers 42 files at a time in parallel over 42 ssh connections which will use multiple CPU’s and reuse the existing ssh connections instead of wasting resources destroying and creating a new connection for each and every file. You can just bump up or down the random number I selected to tune the performance until either your source/destination CPU’s are overloaded or your network link is saturated :slight_smile: One of the three will be the bottleneck (source CPU/destination CPU/network link between machines).

1 Like

yeah… simply to use crossmode linux microsoft!!! ahahhahaha

In my opinion vf2 is really only for riscv enthusiast. The official software stack are still hacky at this point, and in some cases, non-performant. The kernel is based on 5.15.0, which doesn’t have a patch for memcpy/memmove in kernel, and is using unaligned memory access, which hurt performance a lot. Also there’s no vector extension in jh7110/vf2. I bought it just because I want to explore riscv, and a rpi3-ish speed is good enough for me.

Back to your question: make sure you use the latest release VisionFive 2 Debian Wiki - 202311 Release | RVspace flash it to an sdcard and boot from it. In this way you’ll be using U-boot/OpenSBI/kernel all from the latest release. There are code within u-boot to configure gmac and phy to different speed based on board revision, and there’s also code in u-boot to patch the device-tree, which gets passed to Linux kernel, and does some gmac quirk based on board revision.

Openssh use the ssh-protocol. If you have a lot of scripts with ssh to control/transport , use a old version is easy than re-wright scripts.

PS: ssh/scp can control machine & transport data with one protocol in one port. Someone need this to make their network “clean&simple”.

My choose is remove the USB HDD Box from VF2 and connect it to my x86 computer. :smile:

1 Like