Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 4484

Troubleshooting • Write Transfer Speed Samba/FTP/SFTP

$
0
0
Hello everyone,

i got myself a Raspherry Pi 5 and a Radxa Penta SATA HAT to setup as a NAS.
The Pi 5 is setup as OS Lite 64Bit.
I connected it via Lan and Wlan to a FritzBox.
With OVM7 with Samba, only Samba or only setup as a FTP server i get at most 600KB/s write speed.
If i connect from my Windows-PC via powershell and use sftp i get transfer speeds for writing between 100KB/s up to the 600KB/s.
If i instead download from the pi with

Code:

get -r
i get up to 8MB/s transfer speed.

I setup a raid array for my two SSD's and mounted them to /mnt/md0. The write transfer speed keeps the same no matter if i write to the SD-Card or to the SSD-Raid.
I did a test with

Code:

dd
on the raid array with a 5GB test.file that was done in no time at all, so its not the Raid.

I have no clue what else i can do to speed up the write transfer speed.

What did i do so far:
- I updated the pi with

Code:

sudo apt updatesudo apt upgrade -y
- I changed the network configuration with rc.local (The Pi sadly got the Problem to disconnect every x seconds(Only if the HAT is connected), this fixes it)

Code:

ethtool -s eth0 autoneg offethtool -s eth0 speed 100
- I changed the /boot/firmware/config.txt and added(For the HAT)

Code:

dtparam=pciex1dtparam=pciex1_gen=3
- Changed alot of the settings for Samba but deleted everything after, setup the ftp-server that was slow as well... Currently i have only the ftp-server running everything else is removed. I used a new SD-Card after OVM and tried a manual Samba installation with no success.

Did anyone else encounter this Problem or has an idea how to fix it?

Statistics: Posted by fiodora — Fri Dec 13, 2024 2:34 pm — Replies 1 — Views 12



Viewing all articles
Browse latest Browse all 4484

Trending Articles