I have setted up samba server for NAS in my raspberry pi 4.
The external disk is USB 3.0 and is working fine.
sudo hdparm -t /dev/sda shows speed around 120 MBytes/s
nperf also shows link of around 970 Mbits/s
but samba gives read speed of only around 40-45 MBytes/s, write speed is even worse
Downloading large file from Nginx http server hosted in pi, also gives speed around 40-50 MBytes/s
I am connected via a gigabit ethernet.
So does anyone have any guesses to why am i not able to hit that 100 MBytes/s of speed in Samba and http
My main system on which i ran these test have SSD installed in it, so that is not the bottle neck here.
PS: PI-4 is running latest verison of Raspbian OS and my main system is on dual boot of windows10 and ubuntu19, tested on both.
and why does format have anything to do with the speed,
besides i tested the drive ( NTFS formatted) with
ddas well and read speed was still around 120MBytes/s – user204682 Oct 06 '19 at 09:11PS : Yes I have ntfs-3g installed, but I haven't tried using ext4 as i need to make a backup of the drive,first. Will update if it works
– user204682 Oct 06 '19 at 14:56