Re: [gentoo-user] Slow data transfer over network

2005-05-29 Thread Stuart Howard
Well I am now officially confused.
I have found a way that means I can get by with the system as it is,
not ideal of course as I would prfer to understand why and what the
prolem is rather than just get around it.

I have now found that if I initiate a transfer using a command such as
cp on the gentoo machine to copy a file to the XP machine on a
directory that is mounted on the gentoo then the speeds increase
vastly.

root transfer from genstu -- xp
366Mb 66 secs [which equates to approx 46Mbps]

XP -- XP
366Mb 43secs [which equates to approx 71Mbps]


eg. For clarity
Gentoo fs
/home/movie/testfile.avi ---[366Mb file]
/mnt/NEWSTU/transferdump [XP directory mounted Samba on genstu]

cp /home/movie/testfile.avi /mnt/NEWSTU/transferdump  [66 secs]

Using drag and drop from XP machine
copying same file from genstu to XP --[Time in sxcess of 12 mins at least]


I suspect that I am missed something fundamental about the way files
transfer between file systems using samba or even the way in which
that same trnsfer is initiated.


Also in answer to the tulip-diag suggestion I have compiled and run
the program which produced the following output. I am afraid I cannot
interpret this though if someone could point out if there is anything
strange about it I would appreciate it.

thanks again 
stu


[EMAIL PROTECTED] tulip # ./tulip-diag
tulip-diag.c:v2.18 11/12/2003 Donald Becker ([EMAIL PROTECTED])
 http://www.scyld.com/diag/index.html
Index #1: Found a Macronix 98715 PMAC adapter at 0xb000.
 Port selection is 10mpbs-serial 100baseTx scrambler, full-duplex.
 Transmit started, Receive started.
  The Rx process state is 'Waiting for packets'.
  The Tx process state is 'Idle'.
  The transmit unit is set to store-and-forward.
 Use '-a' or '-aa' to show device registers,
 '-e' to show EEPROM contents, -ee for parsed contents,
  or '-m' or '-mm' to show MII management registers.


[EMAIL PROTECTED] tulip # tulip-diag -a
tulip-diag.c:v2.18 11/12/2003 Donald Becker ([EMAIL PROTECTED])
 http://www.scyld.com/diag/index.html
Index #1: Found a Macronix 98715 PMAC adapter at 0xb000.
Macronix 98715 PMAC chip registers at 0xb000:
 0x00: fff88000   2ddbe000 2ddbe800 ec000102 01a80200 e7fe
 0x40: fffe 00fecf08 f2ff fffe 45e1d0cc   fff0
 Extended registers:
 0x80: 0f34 0f34 0f34 0f34 0f34 0f34 fc0fffe0 fc0fffe0
 0xa0: c001527f c001527f 1140 1140 a24cff28 a24cff28 e000e000 e000e000
 0xc0: a04cf302 a04cf302      
 0xe0:        
 Port selection is 10mpbs-serial 100baseTx scrambler, full-duplex.
 Transmit stopped, Receive stopped.
  The Rx process state is 'Stopped'.
  The Tx process state is 'Stopped'.
  The transmit unit is set to store-and-forward.




[EMAIL PROTECTED] tulip # tulip-diag -e
tulip-diag.c:v2.18 11/12/2003 Donald Becker ([EMAIL PROTECTED])
 http://www.scyld.com/diag/index.html
Index #1: Found a Macronix 98715 PMAC adapter at 0xb000.
 Port selection is 10mpbs-serial 100baseTx scrambler, full-duplex.
 Transmit stopped, Receive stopped.
  The Rx process state is 'Stopped'.
  The Tx process state is 'Stopped'.
  The transmit unit is set to store-and-forward.
EEPROM 64 words, 6 address bits.
PCI Subsystem IDs, vendor 13d1, device ab01.
CardBus Information Structure at offset 0282.
Ethernet MAC Station Address 00:E0:4C:A2:28:FF.
EEPROM transceiver/media description table.
Leaf node at offset 224, default media type  (10baseT).
 0 transceiver description blocks:



[EMAIL PROTECTED] tulip # tulip-diag -m
tulip-diag.c:v2.18 11/12/2003 Donald Becker ([EMAIL PROTECTED])
 http://www.scyld.com/diag/index.html
Index #1: Found a Macronix 98715 PMAC adapter at 0xb000.
 Port selection is 10mpbs-serial 100baseTx scrambler, full-duplex.
 Transmit stopped, Receive stopped.
  The Rx process state is 'Stopped'.
  The Tx process state is 'Stopped'.
  The transmit unit is set to store-and-forward.
   No MII transceivers found!




On 5/29/05, A. Khattri [EMAIL PROTECTED] wrote:
 On Sat, 28 May 2005, Stuart Howard wrote:
 
  lsmod returns tulip
 
  The switch is :-
 
  Supports 4 10/100 Auto MDI-X
  Ethernet switch ports and 1 Line
  port
 
 
  and using modinfo tulip I get
  [EMAIL PROTECTED] stuart # modinfo tulip
  author: The Linux Kernel Team
  description:Digital 21*4* Tulip ethernet driver
  license:GPL
  version:1.1.13
  parmtype:   tulip_debug:int
  parmtype:   max_interrupt_work:int
  parmtype:   rx_copybreak:int
  parmtype:   csr0:int
  parmtype:   options:array of int
  parmtype:   full_duplex:array of int
  vermagic:   2.6.11.5 486 gcc-3.3
  depends:
  alias:  pci:v1011d0009sv*sd*bc*sc*i*
  30 more lines of similar to above alias [1 line easier on eyes]
 
  The NIC in genstu is exactly the same model as the NIC in one of the
  XP machines and data 

[gentoo-user] Slow data transfer over network

2005-05-28 Thread Stuart Howard
Hi

I have a small LAN at home with 2 winXP and 1 Gentoo [genstu] machines
connected through a combined ADSLrouter etc.
I have a problem whereby, I seem to have very slow data transfer
speeds between my Gentoo machine and my XP machines as a guide here
are some figures

Transfer of a 66Mb file :-
XP-gen 90 secs 700KB/s
gen-XP 30 secs 2700KB/s
XP-XP   7 secs ?KB/s

The share on genstu is samba and I have also tried Winscp which gives
a little improvement in performance but not much.
The hardware is all relatively new and the NIC's were cheap and
cheerful but 10/100.
Some output:-
lspci
:00:0e.0 Ethernet controller: Macronix, Inc. [MXIC] MX987x5 (rev 25)
dmesg
tulip0:  Index #251 - Media 10baseT(forced) (#12) described by a 21140
non-MII (0) block.
tulip0:  Index #252 - Media 10baseT-FDX (#20) described by a 21140
non-MII (0) block.
tulip0:  Index #253 - Media 10baseT (#0) described by a 21140 non-MII (0) block.
tulip0:  Index #254 - Media 10baseT (#0) described by a 21140 non-MII (0) block.


Originally I thought it would be Samba and my poor attempt at
configuration but I am becoming more convinced that it may be a NIC
issue or more likely the kernel and my configuration of that
especially since I saw that dmesg output, the kernel was built using
genkernel origianlly and has been updated once [make oldconfig] I also
tried out my pure genkernel config and recieved the same performance.

If anyone can suggest a solution :)

or more reasonably somewhere to look it would be most grateful, as at
the moment I have too many places to look for a problem with no guide
ie. could it be the NIC, kernel, samba, XP, protocols or even because
I just forgot to say please.

Anyway thx for reading 

stu

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Slow data transfer over network

2005-05-28 Thread A. Khattri
On Sat, 28 May 2005, Stuart Howard wrote:

 I have a small LAN at home with 2 winXP and 1 Gentoo [genstu] machines
 connected through a combined ADSLrouter etc.
 I have a problem whereby, I seem to have very slow data transfer
 speeds between my Gentoo machine and my XP machines as a guide here
 are some figures

 Transfer of a 66Mb file :-
 XP-gen 90 secs 700KB/s
 gen-XP 30 secs 2700KB/s
 XP-XP   7 secs ?KB/s

 The share on genstu is samba and I have also tried Winscp which gives
 a little improvement in performance but not much.
 The hardware is all relatively new and the NIC's were cheap and
 cheerful but 10/100.

Does the ADSL router have a built-in switch or are you using an external
one? Or a hub? Do you know at what speed the cards auto-negotiate with
your switch? (I use mii-diag to check that).

-- 

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Slow data transfer over network

2005-05-28 Thread A. Khattri
On Sat, 28 May 2005, Stuart Howard wrote:

 yes it has a built in switch [Linksys WAG54G]
 and unfortunaltly

Is it a 100Mbps switch?

 [EMAIL PROTECTED] stuart # mii-diag
 Using the default interface 'eth0'.
 SIOCGMIIPHY on eth0 failed: Operation not supported

 ^^ prehaps this is relavent ?

What driver are you using? Is it a module? (If so, lsmod will show what
module it is).

From my poking around, it looks like the Tulip drivers support the
Macronix cards.

-- 

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Slow data transfer over network

2005-05-28 Thread Stuart Howard
lsmod returns tulip

The switch is :-

Supports 4 10/100 Auto MDI-X
Ethernet switch ports and 1 Line
port


and using modinfo tulip I get 
[EMAIL PROTECTED] stuart # modinfo tulip
author: The Linux Kernel Team
description:Digital 21*4* Tulip ethernet driver
license:GPL
version:1.1.13
parmtype:   tulip_debug:int
parmtype:   max_interrupt_work:int
parmtype:   rx_copybreak:int
parmtype:   csr0:int
parmtype:   options:array of int
parmtype:   full_duplex:array of int
vermagic:   2.6.11.5 486 gcc-3.3
depends:
alias:  pci:v1011d0009sv*sd*bc*sc*i*
30 more lines of similar to above alias [1 line easier on eyes]

The NIC in genstu is exactly the same model as the NIC in one of the
XP machines and data transfer between the two XP machines via the
switch is way in excess of 10Mb [dont have anything prog on XP to
quantify this, except the analogue graph in task manager]

stu

thx for help btw 




On 5/28/05, A. Khattri [EMAIL PROTECTED] wrote:
 On Sat, 28 May 2005, Stuart Howard wrote:
 
  yes it has a built in switch [Linksys WAG54G]
  and unfortunaltly
 
 Is it a 100Mbps switch?
 
  [EMAIL PROTECTED] stuart # mii-diag
  Using the default interface 'eth0'.
  SIOCGMIIPHY on eth0 failed: Operation not supported
 
  ^^ prehaps this is relavent ?
 
 What driver are you using? Is it a module? (If so, lsmod will show what
 module it is).
 
 From my poking around, it looks like the Tulip drivers support the
 Macronix cards.
 
 --
 
 --
 gentoo-user@gentoo.org mailing list
 


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Slow data transfer over network

2005-05-28 Thread A. Khattri
On Sat, 28 May 2005, Stuart Howard wrote:

 lsmod returns tulip

 The switch is :-

 Supports 4 10/100 Auto MDI-X
 Ethernet switch ports and 1 Line
 port


 and using modinfo tulip I get
 [EMAIL PROTECTED] stuart # modinfo tulip
 author: The Linux Kernel Team
 description:Digital 21*4* Tulip ethernet driver
 license:GPL
 version:1.1.13
 parmtype:   tulip_debug:int
 parmtype:   max_interrupt_work:int
 parmtype:   rx_copybreak:int
 parmtype:   csr0:int
 parmtype:   options:array of int
 parmtype:   full_duplex:array of int
 vermagic:   2.6.11.5 486 gcc-3.3
 depends:
 alias:  pci:v1011d0009sv*sd*bc*sc*i*
 30 more lines of similar to above alias [1 line easier on eyes]

 The NIC in genstu is exactly the same model as the NIC in one of the
 XP machines and data transfer between the two XP machines via the
 switch is way in excess of 10Mb [dont have anything prog on XP to
 quantify this, except the analogue graph in task manager]

You might want to look at the tulip-diag utility here:
http://www.scyld.com/ethercard_diag.html

-- 

-- 
gentoo-user@gentoo.org mailing list