* [gentoo-user] Slow samba transfers from gentoo to gentoo, any way to improve them?
@ 2009-11-21 7:56 App Des
2009-11-21 15:45 ` Dan Cowsill
0 siblings, 1 reply; 3+ messages in thread
From: App Des @ 2009-11-21 7:56 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 695 bytes --]
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?
[-- Attachment #2: Type: text/html, Size: 726 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [gentoo-user] Slow samba transfers from gentoo to gentoo, any way to improve them?
2009-11-21 7:56 [gentoo-user] Slow samba transfers from gentoo to gentoo, any way to improve them? App Des
@ 2009-11-21 15:45 ` Dan Cowsill
2009-11-22 10:30 ` App Des
0 siblings, 1 reply; 3+ messages in thread
From: Dan Cowsill @ 2009-11-21 15:45 UTC (permalink / raw
To: gentoo-user
On Sat, Nov 21, 2009 at 2:56 AM, App Des <app4des@gmail.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?
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [gentoo-user] Slow samba transfers from gentoo to gentoo, any way to improve them?
2009-11-21 15:45 ` Dan Cowsill
@ 2009-11-22 10:30 ` App Des
0 siblings, 0 replies; 3+ messages in thread
From: App Des @ 2009-11-22 10:30 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 1752 bytes --]
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@gmail.com> wrote:
> On Sat, Nov 21, 2009 at 2:56 AM, App Des <app4des@gmail.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?
>
>
[-- Attachment #2: Type: text/html, Size: 2210 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2009-11-22 12:02 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-11-21 7:56 [gentoo-user] Slow samba transfers from gentoo to gentoo, any way to improve them? App Des
2009-11-21 15:45 ` Dan Cowsill
2009-11-22 10:30 ` App Des
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox