Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Gentoo: User

Slow samba transfers from gentoo to gentoo, any way to improve them?

 

 

Gentoo user RSS feed   Index | Next | Previous | View Threaded


app4des at gmail

Nov 20, 2009, 11:56 PM

Post #1 of 3 (224 views)
Permalink
Slow samba transfers from gentoo to gentoo, any way to improve them?

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

Under Gentoo, using gnome gvfs, it can only achieve around 30BM/s. I though
that gvfs must be slow, and I tried manually using cifs mount, but again the
speed dropped further to ~18mb/s.

Both the client and server happen to use exactly the same network card, so
it must not be a network driver problem as all my gentoo systems use the
same kernel, as the Windows performance is acceptable, something must go
wrong in my client-desktop gentoo, any ideas?


danthehat at gmail

Nov 21, 2009, 7:45 AM

Post #2 of 3 (196 views)
Permalink
Re: Slow samba transfers from gentoo to gentoo, any way to improve them? [In reply to]

On Sat, Nov 21, 2009 at 2:56 AM, App Des <app4des [at] gmail> 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?


app4des at gmail

Nov 22, 2009, 2:30 AM

Post #3 of 3 (194 views)
Permalink
Re: Slow samba transfers from gentoo to gentoo, any way to improve them? [In reply to]

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 <danthehat [at] gmail> wrote:

> On Sat, Nov 21, 2009 at 2:56 AM, App Des <app4des [at] gmail> 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?
>
>

Gentoo user RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.