public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] NIC setup? slow transfer speed
@ 2006-01-30 12:06 Stuart Howard
  2006-01-30 12:30 ` jarry
  2006-01-30 13:02 ` William Kenworthy
  0 siblings, 2 replies; 8+ messages in thread
From: Stuart Howard @ 2006-01-30 12:06 UTC (permalink / raw
  To: gentoo-user

Hi

I have a home LAN with a mix of dual boot, XP and Gentoo[<-- mine].
Now the basic problem is this :-
Transfer of file [eg. 200Mb]
Dual boot on XP    --  XP  speed approx 50Mbps
Dual boot on linux    --  XP  speed <= 1Mbps

Now this applies regardless of transport ie. I have tried smb FTP NFS,
I have been tweaking the smb performance which did improve it though
not beyond the figures above
http://www.dd.iij4u.or.jp/~okuyamak/Documents/tuning.english.html

However I cannot believe that this is the best that can be acheieved
ie. it would not be acceptable in an enterprise environment yet smb
servers are used with windows clients in such places so

my question is, where am I not looking?
Could it be the nic driver?
or setup of same ?
or something obvious I am not looking at?

Any pointers at places of investigation are welcome.

stu


--
"There are 10 types of people in this world: those who understand
binary, those who don't"

--Unknown

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [gentoo-user] NIC setup? slow transfer speed
  2006-01-30 12:06 [gentoo-user] NIC setup? slow transfer speed Stuart Howard
@ 2006-01-30 12:30 ` jarry
  2006-01-30 13:02 ` William Kenworthy
  1 sibling, 0 replies; 8+ messages in thread
From: jarry @ 2006-01-30 12:30 UTC (permalink / raw
  To: gentoo-user

> Dual boot on XP    --  XP  speed approx 50Mbps
> Dual boot on linux    --  XP  speed <= 1Mbps

I have read somewhere that this might be caused by slightly different
mru/mtu settings between your "linux" and "XP" computers. If you had
that second comp dual-bootable, I bet you would not get 1Mbps between
linux-linux...

Jarry

-- 
Telefonieren Sie schon oder sparen Sie noch?
NEU: GMX Phone_Flat http://www.gmx.net/de/go/telefonie
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [gentoo-user] NIC setup? slow transfer speed
  2006-01-30 12:06 [gentoo-user] NIC setup? slow transfer speed Stuart Howard
  2006-01-30 12:30 ` jarry
@ 2006-01-30 13:02 ` William Kenworthy
  2006-01-30 19:31   ` Stuart Howard
  1 sibling, 1 reply; 8+ messages in thread
From: William Kenworthy @ 2006-01-30 13:02 UTC (permalink / raw
  To: gentoo-user

How are you measuring this?  My first suspicion is that you are
measuring on your machine and trying to compare the figures from
different tools running on different OS's.


You also dont say what type of network this is over - 10/100/1000 ??
Also what hardware and drivers?

BillK


On Mon, 2006-01-30 at 13:06 +0100, Stuart Howard wrote:
> Hi
> 
> I have a home LAN with a mix of dual boot, XP and Gentoo[<-- mine].
> Now the basic problem is this :-
> Transfer of file [eg. 200Mb]
> Dual boot on XP    --  XP  speed approx 50Mbps
> Dual boot on linux    --  XP  speed <= 1Mbps

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [gentoo-user] NIC setup? slow transfer speed
  2006-01-30 13:02 ` William Kenworthy
@ 2006-01-30 19:31   ` Stuart Howard
  2006-01-30 19:52     ` Stuart Howard
  0 siblings, 1 reply; 8+ messages in thread
From: Stuart Howard @ 2006-01-30 19:31 UTC (permalink / raw
  To: gentoo-user

I agree in that I am using whichever tool is available to measure the
speed  eg. konqueror file transfer dialog or bmon to monitor rate
however I am not talking optmisations here where the same tool would
be necessary
eg. win to lin 39Mb file > 6 minites
win to win 39Mb file <20 seconds all on same hardware and network

The network itself comprises 10/100 nic's and a linksys WAG54G
gateway/router which again is 10/100.
genstu ~ # lsmod
Module                  Size  Used by
tulip                  47264  0
genstu ~ # lspci
00:0e.0 Ethernet controller: Macronix, Inc. [MXIC] MX987x5 (rev 25)

I have tried the MTU method
genstu ~ # ifconfig
eth0      Link encap:Ethernet  HWaddr 00:E0:4C:A2:28:FF
          inet addr:192.168.1.101  Bcast:192.168.1.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:15600752 errors:0 dropped:0 overruns:0 frame:0
          TX packets:18100911 errors:4892 dropped:0 overruns:0 carrier:4892
          collisions:0 txqueuelen:1000
          RX bytes:2679344110 (2555.2 Mb)  TX bytes:764637378 (729.2 Mb)
          Interrupt:10 Base address:0xb000
WinXP is now set to
rwin 13140
MTU 1500

router
MTU 1500

#############
Well ..

After writing all of this I went back to playing with it all and I
"think" I have somthing that could be considered to be acceptable.
using figures above I have acheived a speed [konqueror dialog] of around
2.6Mb/s ~ 22.6Mbps on a 300Mb file
which is a dramatic improvement really, though I have got to the point
where I have chased the issue round and up my .....

but that said transfers are not painful so I seem to have a reasonable
resolution
Thanks for reading.

stu

ps. The quicker I can cut my families ties to Mr Gates the better.


On 30/01/06, William Kenworthy <billk@iinet.net.au> wrote:
> How are you measuring this?  My first suspicion is that you are
> measuring on your machine and trying to compare the figures from
> different tools running on different OS's.
>
>
> You also dont say what type of network this is over - 10/100/1000 ??
> Also what hardware and drivers?
>
> BillK
>
>
> On Mon, 2006-01-30 at 13:06 +0100, Stuart Howard wrote:
> > Hi
> >
> > I have a home LAN with a mix of dual boot, XP and Gentoo[<-- mine].
> > Now the basic problem is this :-
> > Transfer of file [eg. 200Mb]
> > Dual boot on XP    --  XP  speed approx 50Mbps
> > Dual boot on linux    --  XP  speed <= 1Mbps
>
> --
> gentoo-user@gentoo.org mailing list
>
>


--
"There are 10 types of people in this world: those who understand
binary, those who don't"

--Unknown

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [gentoo-user] NIC setup? slow transfer speed
  2006-01-30 19:31   ` Stuart Howard
@ 2006-01-30 19:52     ` Stuart Howard
  2006-01-31  2:29       ` Steven Susbauer
                         ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Stuart Howard @ 2006-01-30 19:52 UTC (permalink / raw
  To: gentoo-user

OK well I give up

Situation :-

Transfer 39Mb file from
gentoo -> XP share using Konqueror trans time <=25 seconds [XP share
mounted smb using Linneibourhood]

Transfer 39Mb file from
gentoo -> XP share using winXP copy trans time >=5 mins [gentoo smb
directory to XP share dir ie. XP shared dir Not mounted]

So this is same file moving from same computer to same computer over
same network with NO changes except that "pushing" the file from linux
is massively quicker than "calling" the file from win.
I realise that there is probably a valid technical explanation for
this behaviour that is Beyond Our Level Of Current Knowledge [Sir]
however should it really be so hard to do this for an average user?

stu

ps. Solution is simple send letter bomb to M$ though it may take a
long while to get there unless I use a m$ proprietory letter carrier.

pps. Apologies if I am using this list for my rant, it was valid
untill this last post. It ends here


On 30/01/06, Stuart Howard <stuart.g.howard@gmail.com> wrote:
> I agree in that I am using whichever tool is available to measure the
> speed  eg. konqueror file transfer dialog or bmon to monitor rate
> however I am not talking optmisations here where the same tool would
> be necessary
> eg. win to lin 39Mb file > 6 minites
> win to win 39Mb file <20 seconds all on same hardware and network
>
> The network itself comprises 10/100 nic's and a linksys WAG54G
> gateway/router which again is 10/100.
> genstu ~ # lsmod
> Module                  Size  Used by
> tulip                  47264  0
> genstu ~ # lspci
> 00:0e.0 Ethernet controller: Macronix, Inc. [MXIC] MX987x5 (rev 25)
>
> I have tried the MTU method
> genstu ~ # ifconfig
> eth0      Link encap:Ethernet  HWaddr 00:E0:4C:A2:28:FF
>           inet addr:192.168.1.101  Bcast:192.168.1.255  Mask:255.255.255.0
>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>           RX packets:15600752 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:18100911 errors:4892 dropped:0 overruns:0 carrier:4892
>           collisions:0 txqueuelen:1000
>           RX bytes:2679344110 (2555.2 Mb)  TX bytes:764637378 (729.2 Mb)
>           Interrupt:10 Base address:0xb000
> WinXP is now set to
> rwin 13140
> MTU 1500
>
> router
> MTU 1500
>
> #############
> Well ..
>
> After writing all of this I went back to playing with it all and I
> "think" I have somthing that could be considered to be acceptable.
> using figures above I have acheived a speed [konqueror dialog] of around
> 2.6Mb/s ~ 22.6Mbps on a 300Mb file
> which is a dramatic improvement really, though I have got to the point
> where I have chased the issue round and up my .....
>
> but that said transfers are not painful so I seem to have a reasonable
> resolution
> Thanks for reading.
>
> stu
>
> ps. The quicker I can cut my families ties to Mr Gates the better.
>
>
> On 30/01/06, William Kenworthy <billk@iinet.net.au> wrote:
> > How are you measuring this?  My first suspicion is that you are
> > measuring on your machine and trying to compare the figures from
> > different tools running on different OS's.
> >
> >
> > You also dont say what type of network this is over - 10/100/1000 ??
> > Also what hardware and drivers?
> >
> > BillK
> >
> >
> > On Mon, 2006-01-30 at 13:06 +0100, Stuart Howard wrote:
> > > Hi
> > >
> > > I have a home LAN with a mix of dual boot, XP and Gentoo[<-- mine].
> > > Now the basic problem is this :-
> > > Transfer of file [eg. 200Mb]
> > > Dual boot on XP    --  XP  speed approx 50Mbps
> > > Dual boot on linux    --  XP  speed <= 1Mbps
> >
> > --
> > gentoo-user@gentoo.org mailing list
> >
> >
>
>
> --
> "There are 10 types of people in this world: those who understand
> binary, those who don't"
>
> --Unknown
>


--
"There are 10 types of people in this world: those who understand
binary, those who don't"

--Unknown

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [gentoo-user] NIC setup? slow transfer speed
  2006-01-30 19:52     ` Stuart Howard
@ 2006-01-31  2:29       ` Steven Susbauer
  2006-01-31  9:06       ` [gentoo-user] " Remy Blank
  2006-02-01 17:14       ` [gentoo-user] " Peter Volkov (pva)
  2 siblings, 0 replies; 8+ messages in thread
From: Steven Susbauer @ 2006-01-31  2:29 UTC (permalink / raw
  To: gentoo-user

I've had similar problems quite a bit. After a while I just installed 
pure-ftpd on Gentoo and used smart ftp on Windows. It still took a long 
time but seemed to go much faster than that smb stuff.

On Mon, 30 Jan 2006, Stuart Howard wrote:

> OK well I give up
>
> Situation :-
>
> Transfer 39Mb file from
> gentoo -> XP share using Konqueror trans time <=25 seconds [XP share
> mounted smb using Linneibourhood]
>
> Transfer 39Mb file from
> gentoo -> XP share using winXP copy trans time >=5 mins [gentoo smb
> directory to XP share dir ie. XP shared dir Not mounted]
>
> So this is same file moving from same computer to same computer over
> same network with NO changes except that "pushing" the file from linux
> is massively quicker than "calling" the file from win.
> I realise that there is probably a valid technical explanation for
> this behaviour that is Beyond Our Level Of Current Knowledge [Sir]
> however should it really be so hard to do this for an average user?
>
> stu
>
> ps. Solution is simple send letter bomb to M$ though it may take a
> long while to get there unless I use a m$ proprietory letter carrier.
>
> pps. Apologies if I am using this list for my rant, it was valid
> untill this last post. It ends here
>
>
> On 30/01/06, Stuart Howard <stuart.g.howard@gmail.com> wrote:
>> I agree in that I am using whichever tool is available to measure the
>> speed  eg. konqueror file transfer dialog or bmon to monitor rate
>> however I am not talking optmisations here where the same tool would
>> be necessary
>> eg. win to lin 39Mb file > 6 minites
>> win to win 39Mb file <20 seconds all on same hardware and network
>>
>> The network itself comprises 10/100 nic's and a linksys WAG54G
>> gateway/router which again is 10/100.
>> genstu ~ # lsmod
>> Module                  Size  Used by
>> tulip                  47264  0
>> genstu ~ # lspci
>> 00:0e.0 Ethernet controller: Macronix, Inc. [MXIC] MX987x5 (rev 25)
>>
>> I have tried the MTU method
>> genstu ~ # ifconfig
>> eth0      Link encap:Ethernet  HWaddr 00:E0:4C:A2:28:FF
>>           inet addr:192.168.1.101  Bcast:192.168.1.255  Mask:255.255.255.0
>>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>>           RX packets:15600752 errors:0 dropped:0 overruns:0 frame:0
>>           TX packets:18100911 errors:4892 dropped:0 overruns:0 carrier:4892
>>           collisions:0 txqueuelen:1000
>>           RX bytes:2679344110 (2555.2 Mb)  TX bytes:764637378 (729.2 Mb)
>>           Interrupt:10 Base address:0xb000
>> WinXP is now set to
>> rwin 13140
>> MTU 1500
>>
>> router
>> MTU 1500
>>
>> #############
>> Well ..
>>
>> After writing all of this I went back to playing with it all and I
>> "think" I have somthing that could be considered to be acceptable.
>> using figures above I have acheived a speed [konqueror dialog] of around
>> 2.6Mb/s ~ 22.6Mbps on a 300Mb file
>> which is a dramatic improvement really, though I have got to the point
>> where I have chased the issue round and up my .....
>>
>> but that said transfers are not painful so I seem to have a reasonable
>> resolution
>> Thanks for reading.
>>
>> stu
>>
>> ps. The quicker I can cut my families ties to Mr Gates the better.
>>
>>
>> On 30/01/06, William Kenworthy <billk@iinet.net.au> wrote:
>>> How are you measuring this?  My first suspicion is that you are
>>> measuring on your machine and trying to compare the figures from
>>> different tools running on different OS's.
>>>
>>>
>>> You also dont say what type of network this is over - 10/100/1000 ??
>>> Also what hardware and drivers?
>>>
>>> BillK
>>>
>>>
>>> On Mon, 2006-01-30 at 13:06 +0100, Stuart Howard wrote:
>>>> Hi
>>>>
>>>> I have a home LAN with a mix of dual boot, XP and Gentoo[<-- mine].
>>>> Now the basic problem is this :-
>>>> Transfer of file [eg. 200Mb]
>>>> Dual boot on XP    --  XP  speed approx 50Mbps
>>>> Dual boot on linux    --  XP  speed <= 1Mbps
>>>
>>> --
>>> gentoo-user@gentoo.org mailing list
>>>
>>>
>>
>>
>> --
>> "There are 10 types of people in this world: those who understand
>> binary, those who don't"
>>
>> --Unknown
>>
>
>
> --
> "There are 10 types of people in this world: those who understand
> binary, those who don't"
>
> --Unknown
>
> -- 
> gentoo-user@gentoo.org mailing list
>
>
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 8+ messages in thread

* [gentoo-user]  Re: NIC setup? slow transfer speed
  2006-01-30 19:52     ` Stuart Howard
  2006-01-31  2:29       ` Steven Susbauer
@ 2006-01-31  9:06       ` Remy Blank
  2006-02-01 17:14       ` [gentoo-user] " Peter Volkov (pva)
  2 siblings, 0 replies; 8+ messages in thread
From: Remy Blank @ 2006-01-31  9:06 UTC (permalink / raw
  To: gentoo-user

Stuart Howard wrote:
> OK well I give up

I did, too...

> Transfer 39Mb file from
> gentoo -> XP share using winXP copy trans time >=5 mins [gentoo smb
> directory to XP share dir ie. XP shared dir Not mounted]

I have a similar situation here, but with an additional interesting
observation. If I copy a file from WinXP to an SMB share on a Gentoo
server with the XP explorer, I get about 2MB/s throughput, which is not
all too much on a 100Mb/s network. However, if I run the following
command in the background (eth0 being the interface over which I copy):

  tcpdump -n -i eth0 >/dev/null

the throughput increases to about 8-10MB/s!

I have no idea where this could come from. The only explanation I can
see is that tcpdump puts eth0 into a sort of promiscuous mode, which
interacts favorably in the SMB protocol. But I haven't been able to
figure out how I should tune eth0 to get the same results without tcpdump.

-- Remy


Remove underscore and suffix in reply address for a timely response.

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [gentoo-user] NIC setup? slow transfer speed
  2006-01-30 19:52     ` Stuart Howard
  2006-01-31  2:29       ` Steven Susbauer
  2006-01-31  9:06       ` [gentoo-user] " Remy Blank
@ 2006-02-01 17:14       ` Peter Volkov (pva)
  2 siblings, 0 replies; 8+ messages in thread
From: Peter Volkov (pva) @ 2006-02-01 17:14 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 429 bytes --]

On Пнд, 2006-01-30 at 20:52 +0100, Stuart Howard wrote:
> Transfer 39Mb file from
> gentoo -> XP share using Konqueror trans time <=25 seconds [XP share
> mounted smb using Linneibourhood]
> 
> Transfer 39Mb file from
> gentoo -> XP share using winXP copy trans time >=5 mins [gentoo smb
> directory to XP share dir ie. XP shared dir Not mounted]

May be solution is there:
http://dsd.lbl.gov/TCP-tuning/

Peter.

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2006-02-01 17:21 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-01-30 12:06 [gentoo-user] NIC setup? slow transfer speed Stuart Howard
2006-01-30 12:30 ` jarry
2006-01-30 13:02 ` William Kenworthy
2006-01-30 19:31   ` Stuart Howard
2006-01-30 19:52     ` Stuart Howard
2006-01-31  2:29       ` Steven Susbauer
2006-01-31  9:06       ` [gentoo-user] " Remy Blank
2006-02-01 17:14       ` [gentoo-user] " Peter Volkov (pva)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox