OVM5 SMB write speed FLUCTUATE (Raspberry Pi 4)
-
-
use send file & asinchronous I/O
if still fluctuate, revise buffer size, you can change it on extra options adding variables:
SO_SNDBUF
and
SO_RCVBUF
see: https://www.oreilly.com/librar…ba/1565924495/apbs02.html
you can also try other samba options like oplocks
-
My smb extra config originally is:
min receivefile size = 16384
write cache size = 524288
getwd cache = yes
socket options = TCP_NODELAY IPTOS_LOWDELAY
After try several diff settings for SO_SNDBUF and SO_RCVBUF but no luck.
In the end, I added "read raw" & "write raw", work perfectly!
The final extra config:
min receivefile size = 16384
write cache size = 524288
getwd cache = yes
socket options = TCP_NODELAY IPTOS_LOWDELAY
read raw = yes
write raw = yes
-
Jetzt mitmachen!
Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!