Slow samba transfers from gentoo to gentoo, any way to improve them?
I checked with various programs (not only standard explorer copy), and the speeds that are reported from W7 are real, they average at ~70MB/s. The best speed that I have achieved with gentoo, is using gnome gvfs with fuse (without fuse, if it is completely virtual it is worse) , but they are still 35MB/s max. The build-in kernel smbfs/cifs mounting are extremely slower which I don't understand.
I am also using ext4 (on both server and client). The delayed allocation of ext4 afaik is worse than NTFS, so the probability of gentoo speeds being fake instead of Windows7, is higher.
Something to add,
commenting this line in my server smb.conf (which for a strange reason is default in gentoo):
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
Improved my Windows7 transfers from the ~50MB/s to ~70mb/s.
Maybe I will try re-enabling the line, in case gentoo client likes it better.
Any more ideas?
On Sat, Nov 21, 2009 at 5:45 PM, Dan Cowsill <firstname.lastname@example.org> wrote:
On Sat, Nov 21, 2009 at 2:56 AM, App Des <email@example.com> wrote:
> I have a gentoo server running stable fully updated, and I share a folder
> with samba on a gigabit network.
> The client dual boots Gentoo (stable again) and Windows 7.
> Under windows 7, getting a file from the server achieves around 70MB/s
It is quite possible that Windows 7 is mis-reporting the transfer
speed. *To put it in perspective, I would expect around 70-90MB/s from
a direct SATA2 connection to a hard disk, so to hear that network
transfers on gigabit are going around that speed makes me scratch my
head (and a little jealous).
I can usually expect transfers of around 30-40MB/s from my server.
Maybe I'm just used to mediocrity?