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
On Jan 18, 2008 1:46 PM, Will Payne <will@teambadger.co.uk> 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?
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
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
On Jan 22, 2008 1:43 PM, Stuart Gall <stuart@otenet.gr> 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
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
On Jan 22, 2008 5:09 PM, Will Payne <will@teambadger.co.uk> 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