[Samba] Odd transfer speed issue - Samba

This is a discussion on [Samba] Odd transfer speed issue - Samba ; Hi all, I'm seeing slow transfers to/from my samba server. I just tried to copy a 270MB file from a samba share to an XP machine. At first, the estimated time displayed as 141 minutes The odd thing is that ...

+ Reply to Thread
Results 1 to 14 of 14

Thread: [Samba] Odd transfer speed issue

  1. [Samba] Odd transfer speed issue

    Hi all,

    I'm seeing slow transfers to/from my samba server. I just tried to copy a
    270MB file from a samba share to an XP machine. At first, the estimated time
    displayed as 141 minutes

    The odd thing is that if I then flood-ping from the server (in this case, I
    pinged my dsl router), the transfer completes in about 10 seconds. Hitting
    F5 repeatedly when browsing a share on the server also causes an increase of
    speed. I seem to get *more* throughput when there's a higher load.. Watching
    a video off a samba share is quite choppy and keeps stopping but leaving the
    ping running seems to fix it.

    Any ideas? My google powers fail me..

    W


    --
    To unsubscribe from this list go to the following URL and read the
    instructions: https://lists.samba.org/mailman/listinfo/samba

  2. Re: [Samba] Odd transfer speed issue

    On Jan 18, 2008 1:46 PM, Will Payne wrote:

    > Hi all,
    >
    > I'm seeing slow transfers to/from my samba server. I just tried to copy a
    > 270MB file from a samba share to an XP machine. At first, the estimated
    > time
    > displayed as 141 minutes



    > The odd thing is that if I then flood-ping from the server (in this case,
    > I
    > pinged my dsl router), the transfer completes in about 10 seconds. Hitting
    > F5 repeatedly when browsing a share on the server also causes an increase
    > of
    > speed. I seem to get *more* throughput when there's a higher load..
    > Watching
    > a video off a samba share is quite choppy and keeps stopping but leaving
    > the
    > ping running seems to fix it.
    >


    Microsoft's estimates are known to be completely off a lot of times. If you
    do not make any load on the server how long does the transfer take?
    --
    To unsubscribe from this list go to the following URL and read the
    instructions: https://lists.samba.org/mailman/listinfo/samba

  3. Re: [Samba] Odd transfer speed issue

    >> I'm seeing slow transfers to/from my samba server. I just tried to copy a
    >> 270MB file from a samba share to an XP machine. At first, the estimated
    >> time displayed as 141 minutes


    -snip-

    > Microsoft's estimates are known to be completely off a lot of times. If
    > you
    > do not make any load on the server how long does the transfer take?


    I don't know how long it'd *actually* take (life's too short to let it
    complete) but it's definately at least several minutes when it should just
    be a matter of seconds..

    HTTP downloads from the machine, scp-ing files to/from, etc are fine.. it's
    just samba that seems to have this issue..

    Perplexed,
    Will

    --
    To unsubscribe from this list go to the following URL and read the
    instructions: https://lists.samba.org/mailman/listinfo/samba

  4. Re: [Samba] Odd transfer speed issue

    On Fri, Jan 18, 2008 at 06:46:19PM -0000, Will Payne wrote:
    > Hi all,
    >
    > I'm seeing slow transfers to/from my samba server. I just tried to copy a
    > 270MB file from a samba share to an XP machine. At first, the estimated
    > time displayed as 141 minutes
    >
    > The odd thing is that if I then flood-ping from the server (in this case, I
    > pinged my dsl router), the transfer completes in about 10 seconds. Hitting
    > F5 repeatedly when browsing a share on the server also causes an increase
    > of speed. I seem to get *more* throughput when there's a higher load..
    > Watching a video off a samba share is quite choppy and keeps stopping but
    > leaving the ping running seems to fix it.
    >
    > Any ideas? My google powers fail me..


    Looks like an issue at the TCP level, or maybe a network device driver
    issue on the Windows box. Try setting "use sendfile = no" to try and
    change the TCP behaviour, or update the client network driver.

    Jeremy
    --
    To unsubscribe from this list go to the following URL and read the
    instructions: https://lists.samba.org/mailman/listinfo/samba

  5. Re: [Samba] Odd transfer speed issue

    Your description reminds me of an issue recently posted here

    http://archives.free.net.ph/message/...4e465f.de.html

    In contrast to your issue we describe a problem arising only in
    downstream direction to the XP client.

    In your case are you sure it is really in both directions? Have you
    tried with native shares served by windows servers?

    cheers
    Kimon

    Will Payne schrieb:
    >>> I'm seeing slow transfers to/from my samba server. I just tried to
    >>> copy a
    >>> 270MB file from a samba share to an XP machine. At first, the estimated
    >>> time displayed as 141 minutes

    >
    > -snip-
    >
    >> Microsoft's estimates are known to be completely off a lot of times.
    >> If you
    >> do not make any load on the server how long does the transfer take?

    >
    > I don't know how long it'd *actually* take (life's too short to let it
    > complete) but it's definately at least several minutes when it should
    > just be a matter of seconds..
    >
    > HTTP downloads from the machine, scp-ing files to/from, etc are fine..
    > it's just samba that seems to have this issue..
    >
    > Perplexed,
    > Will

    --
    To unsubscribe from this list go to the following URL and read the
    instructions: https://lists.samba.org/mailman/listinfo/samba

  6. Re: [Samba] Odd transfer speed issue

    On Jan 22, 2008 1:43 PM, Stuart Gall wrote:

    > Hi Will,
    > Alright ALTHOUGH this makes no sense at all
    > do you have
    > 04:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd.
    > RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 01)
    >
    > I read that someone fixed this issue by swapping out a RTL8111 card.
    > I have this card AND I have this problem. It is only affecting samba
    > access from windows, http from windows is fine
    >
    > google "samba RTL8111" to get a feel for it :-))
    >
    > I am going to swap the NIC on Thursday I will report back.
    >
    > Can anyone imagine what could possibly be wrong with a NIC or its
    > driver so as to ONLY affect samba to windows ??!!!
    >


    This is why I make sure that any nic purchase that I go to newegg and verify
    the chip does not have the realtek symbol on it. Any other symbol and you
    will be fine. The problem is the bulk of the inexpensive cards have a
    realtek chip.

    John
    --
    To unsubscribe from this list go to the following URL and read the
    instructions: https://lists.samba.org/mailman/listinfo/samba

  7. Re: [Samba] Odd transfer speed issue

    Hi Will,
    Alright ALTHOUGH this makes no sense at all
    do you have
    04:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd.
    RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 01)

    I read that someone fixed this issue by swapping out a RTL8111 card.
    I have this card AND I have this problem. It is only affecting samba
    access from windows, http from windows is fine

    google "samba RTL8111" to get a feel for it :-))

    I am going to swap the NIC on Thursday I will report back.

    Can anyone imagine what could possibly be wrong with a NIC or its
    driver so as to ONLY affect samba to windows ??!!!

    Stuart.

    On 18 Jan 2008, at 20:46, Will Payne wrote:

    > Hi all,
    >
    > I'm seeing slow transfers to/from my samba server. I just tried to
    > copy a 270MB file from a samba share to an XP machine. At first,
    > the estimated time displayed as 141 minutes
    >
    > The odd thing is that if I then flood-ping from the server (in this
    > case, I pinged my dsl router), the transfer completes in about 10
    > seconds. Hitting F5 repeatedly when browsing a share on the server
    > also causes an increase of speed. I seem to get *more* throughput
    > when there's a higher load.. Watching a video off a samba share is
    > quite choppy and keeps stopping but leaving the ping running seems
    > to fix it.
    >
    > Any ideas? My google powers fail me..
    >
    > W
    >
    >
    > --
    > To unsubscribe from this list go to the following URL and read the
    > instructions: https://lists.samba.org/mailman/listinfo/samba
    >


    --
    Stuart Gall
    ----------------------------------------------
    All of your mail are belong to us




    --
    To unsubscribe from this list go to the following URL and read the
    instructions: https://lists.samba.org/mailman/listinfo/samba

  8. Re: [Samba] Odd transfer speed issue

    Stuart Gall wrote:
    > Hi Will,
    > Alright ALTHOUGH this makes no sense at all
    > do you have
    > 04:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd.
    > RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 01)


    *checks* ....yep:

    [ 8.000000] r8169 Gigabit Ethernet driver 2.2LK loaded
    [ 8.000000] eth0: RTL8168b/8111b at 0xf8854000, 00:13:8f:d7:ed:6c, IRQ 26

    Will try swapping it out..

    W
    --
    To unsubscribe from this list go to the following URL and read the
    instructions: https://lists.samba.org/mailman/listinfo/samba

  9. Re: [Samba] Odd transfer speed issue

    On Jan 22, 2008 5:09 PM, Will Payne wrote:

    > Stuart Gall wrote:
    > > Hi Will,
    > > Alright ALTHOUGH this makes no sense at all
    > > do you have
    > > 04:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd.
    > > RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 01)

    >
    > *checks* ....yep:
    >
    > [ 8.000000] r8169 Gigabit Ethernet driver 2.2LK loaded
    > [ 8.000000] eth0: RTL8168b/8111b at 0xf8854000, 00:13:8f:d7:ed:6c, IRQ
    > 26
    >
    >

    I did not mention that we have had other odd performance problems (not samba
    related) with the r8169 chip and it is also a little slower (when it is
    working fine) than most of my other gbit cards especially marvell (tg3
    cards).

    John
    --
    To unsubscribe from this list go to the following URL and read the
    instructions: https://lists.samba.org/mailman/listinfo/samba

  10. Re: [Samba] Odd transfer speed issue

    Stuart Gall wrote:
    > Hi Will,
    > Did you get anywhere with this ?


    No but I've not had time to fiddle. I've checked and found the issue is
    the same with a Vista client.

    Someone on here suggested a config change but I must've deleted the
    email..

    W
    --
    To unsubscribe from this list go to the following URL and read the
    instructions: https://lists.samba.org/mailman/listinfo/samba

  11. Re: [Samba] Odd transfer speed issue

    Hi Will,
    Did you get anywhere with this ?

    I have this exact same problem on one system Debian 4.0r2
    I can download with http super fast.
    Access from linux using mount.cifs is fast. Access from OSX is fast.
    ONLY access from windows is slow
    I have an older samba box on the same network it is fine.
    I built 3.0.28 from source with async io , still no good.
    Made hundreds of tweaks the smb.conf nothing I do makes any differance.

    Wierder . . . I set up another file-server today same NIC same
    motherboard same version of debian - no problems.

    I am going to go mad


    On 18 Jan 2008, at 21:39, Will Payne wrote:

    >>> I'm seeing slow transfers to/from my samba server. I just tried
    >>> to copy a
    >>> 270MB file from a samba share to an XP machine. At first, the
    >>> estimated
    >>> time displayed as 141 minutes

    >
    > -snip-
    >
    >> Microsoft's estimates are known to be completely off a lot of
    >> times. If you
    >> do not make any load on the server how long does the transfer take?

    >
    > I don't know how long it'd *actually* take (life's too short to let
    > it complete) but it's definately at least several minutes when it
    > should just be a matter of seconds..
    >
    > HTTP downloads from the machine, scp-ing files to/from, etc are
    > fine.. it's just samba that seems to have this issue..
    >
    > Perplexed,
    > Will
    > --
    > To unsubscribe from this list go to the following URL and read the
    > instructions: https://lists.samba.org/mailman/listinfo/samba
    >


    --
    Stuart Gall
    ----------------------------------------------
    All of your mail are belong to us




    --
    To unsubscribe from this list go to the following URL and read the
    instructions: https://lists.samba.org/mailman/listinfo/samba

  12. Re: [Samba] Odd transfer speed issue

    On Tuesday 22 January 2008 21:47:52 Will Payne wrote:
    > Stuart Gall wrote:
    > > Hi Will,
    > > Did you get anywhere with this ?

    >
    > No but I've not had time to fiddle. I've checked and found the issue is
    > the same with a Vista client.
    >
    > Someone on here suggested a config change but I must've deleted the
    > email..
    >

    Was that

    msdfs = yes

    ?

    Anne



    --
    To unsubscribe from this list go to the following URL and read the
    instructions: https://lists.samba.org/mailman/listinfo/samba
    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v1.4.7 (GNU/Linux)

    iD8DBQBHlvmKj93fyh4cnBcRAkOcAJwIKqpwQy+jDZoF3nBxm9 eRo3+lHgCfZcTY
    ZEkOc+ArLb1hocj5ff6VZws=
    =ZTlv
    -----END PGP SIGNATURE-----


  13. Re: [Samba] Odd transfer speed issue

    -----BEGIN PGP SIGNED MESSAGE-----
    Hash: SHA1

    There was talk about changes to the TCP window and RSSIZE etc. a month
    or two ago. Could any of this be related?

    Stuart Gall wrote:
    > Hi Will,
    > Did you get anywhere with this ?
    >
    > I have this exact same problem on one system Debian 4.0r2
    > I can download with http super fast.
    > Access from linux using mount.cifs is fast. Access from OSX is fast.
    > ONLY access from windows is slow
    > I have an older samba box on the same network it is fine.
    > I built 3.0.28 from source with async io , still no good.
    > Made hundreds of tweaks the smb.conf nothing I do makes any differance.
    >
    > Wierder . . . I set up another file-server today same NIC same
    > motherboard same version of debian - no problems.
    >
    > I am going to go mad
    >
    >
    > On 18 Jan 2008, at 21:39, Will Payne wrote:
    >
    >>>> I'm seeing slow transfers to/from my samba server. I just tried to
    >>>> copy a
    >>>> 270MB file from a samba share to an XP machine. At first, the estimated
    >>>> time displayed as 141 minutes

    >>
    >> -snip-
    >>
    >>> Microsoft's estimates are known to be completely off a lot of times.
    >>> If you
    >>> do not make any load on the server how long does the transfer take?

    >>
    >> I don't know how long it'd *actually* take (life's too short to let it
    >> complete) but it's definately at least several minutes when it should
    >> just be a matter of seconds..
    >>
    >> HTTP downloads from the machine, scp-ing files to/from, etc are fine..
    >> it's just samba that seems to have this issue..
    >>
    >> Perplexed,
    >> Will
    >> --
    >> To unsubscribe from this list go to the following URL and read the
    >> instructions: https://lists.samba.org/mailman/listinfo/samba
    >>

    >
    > --
    > Stuart Gall
    > ----------------------------------------------
    > All of your mail are belong to us



    - --
    ---- _ _ _ _ ___ _ _ _
    |Y#| | | |\/| | \ |\ | | |Ryan Novosielski - Systems Programmer II
    |$&| |__| | | |__/ | \| _| |novosirj@umdnj.edu - 973/972.0922 (2-0922)
    \__/ Univ. of Med. and Dent.|IST/AST - NJMS Medical Science Bldg - C630
    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v1.4.6 (GNU/Linux)
    Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

    iD8DBQFHmMJRmb+gadEcsb4RAsnsAJ9a40ZcuraFe0+DQfHDPb qHEkOMMgCaA/Hg
    NO/XtTYdZU1VUwKbJ0BEmxY=
    =H0xk
    -----END PGP SIGNATURE-----

    --
    To unsubscribe from this list go to the following URL and read the
    instructions: https://lists.samba.org/mailman/listinfo/samba

  14. Re: [Samba] Odd transfer speed issue


    On 22 Jan 2008, at 20:43, Stuart Gall wrote:

    > Hi Will,
    > Alright ALTHOUGH this makes no sense at all
    > do you have
    > 04:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd.
    > RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 01)
    >
    > I read that someone fixed this issue by swapping out a RTL8111 card.
    > I have this card AND I have this problem. It is only affecting
    > samba access from windows, http from windows is fine
    >
    > google "samba RTL8111" to get a feel for it :-))
    >
    > I am going to swap the NIC on Thursday I will report back.


    Changing the NIC solved this problem.
    I tried bulding the realtek driver from their site, but I could not
    convince the OS to use it. at 20 for a new NIC it just wasn't worth
    spending any more time on it.

    >
    > Can anyone imagine what could possibly be wrong with a NIC or its
    > driver so as to ONLY affect samba to windows ??!!!
    >
    > Stuart.
    >
    > On 18 Jan 2008, at 20:46, Will Payne wrote:
    >
    >> Hi all,
    >>
    >> I'm seeing slow transfers to/from my samba server. I just tried to
    >> copy a 270MB file from a samba share to an XP machine. At first,
    >> the estimated time displayed as 141 minutes
    >>
    >> The odd thing is that if I then flood-ping from the server (in
    >> this case, I pinged my dsl router), the transfer completes in
    >> about 10 seconds. Hitting F5 repeatedly when browsing a share on
    >> the server also causes an increase of speed. I seem to get *more*
    >> throughput when there's a higher load.. Watching a video off a
    >> samba share is quite choppy and keeps stopping but leaving the
    >> ping running seems to fix it.
    >>
    >> Any ideas? My google powers fail me..
    >>
    >> W
    >>
    >>
    >> --
    >> To unsubscribe from this list go to the following URL and read the
    >> instructions: https://lists.samba.org/mailman/listinfo/samba
    >>

    >
    > --
    > Stuart Gall
    > ----------------------------------------------
    > All of your mail are belong to us
    >
    >
    >
    >
    > --
    > To unsubscribe from this list go to the following URL and read the
    > instructions: https://lists.samba.org/mailman/listinfo/samba
    >


    --
    Stuart Gall
    ----------------------------------------------
    All of your mail are belong to us




    --
    To unsubscribe from this list go to the following URL and read the
    instructions: https://lists.samba.org/mailman/listinfo/samba

+ Reply to Thread