linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* Poor 8xx SCC Ethernet mode performence..
@ 2002-07-16  9:37 Jim Lin
  2002-07-16 17:29 ` Conn Clark
  0 siblings, 1 reply; 5+ messages in thread
From: Jim Lin @ 2002-07-16  9:37 UTC (permalink / raw)
  To: linuppc


Hi .

I  was testing SCC ethernet performance at our 850 custom board and found somting interesting.

1. Tested FTP  Transfer about 20MB file with 10T hub  I got  about 250 k bps (someting poor ..)
2. and I found the hhl20 arch/ppc/8xx_io/enet.c source code NOT enable full duplex ..
     and I had  pmsr  added SCC_PMSR_FDE | SCC_PMSR_LPB .. and compiling , tested FTP Transfer again.
     I got about 200 Kbps!

I do not understand what is happen? Has anyone experience this?

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

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

* Re: Poor 8xx SCC Ethernet mode performence..
  2002-07-16  9:37 Poor 8xx SCC Ethernet mode performence Jim Lin
@ 2002-07-16 17:29 ` Conn Clark
  0 siblings, 0 replies; 5+ messages in thread
From: Conn Clark @ 2002-07-16 17:29 UTC (permalink / raw)
  To: Jim Lin; +Cc: May Ling List


Jim Lin wrote:
>
> Hi .
>
> I  was testing SCC ethernet performance at our 850 custom board and found somting interesting.
>
> 1. Tested FTP  Transfer about 20MB file with 10T hub  I got  about 250 k bps (someting poor ..)
> 2. and I found the hhl20 arch/ppc/8xx_io/enet.c source code NOT enable full duplex ..
>      and I had  pmsr  added SCC_PMSR_FDE | SCC_PMSR_LPB .. and compiling , tested FTP Transfer again.
>      I got about 200 Kbps!
>
> I do not understand what is happen? Has anyone experience this?
>

I know for a fact that the 850 can do 10Mbits .  Check and see what the download
rate is from your ftp host using a different computer. Your 850 board should be
about the same speed.

If your 850 board isn't try looking at the Tx and Rx ethernet data lines with an
oscilliscope. If the activity on the lines seems to corespond to the with the
datarate you have a software problem. If the activity is signifigantly greater
you probably have a analog problem. Double check the turns ratio on your magnet
and make sure it is what your phy needs.

Good luck

	Conn

--

*****************************************************************
  If you live at home long enough, your parents will move out.
 (Warning they may try to sell their house out from under you.)
*****************************************************************

Conn Clark
Engineering Stooge				clark@esteem.com
Electronic Systems Technology Inc.		www.esteem.com


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

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

* RE: Poor 8xx SCC Ethernet mode performence..
       [not found] <FFECLICFNBJAHONLGAKMKEGICFAA.gklug@giga-stream.de>
@ 2002-07-17  3:39 ` Jim Lin
  0 siblings, 0 replies; 5+ messages in thread
From: Jim Lin @ 2002-07-17  3:39 UTC (permalink / raw)
  To: linuppc, Georg Klug, clark, jcampos


Hi :

After I change 10/100 T hub . It's speed up to 370KBps at Half duplex. 480 KBps at Full duplex in NFS envirment.
I had work follow ..

1. 10/100 HUB turn to Halt duplex because RTL 8201 not  support auto-negotiaon.
    I check our hardware component PHY Rtl 8201. It's not support  auto-negotiation when it's wired SMI .

2.enable  SCC_PMSR_FDE | SCC_PMSR_LPB  , and Tested FTP Transfer again through 10/100 T HUB at Full           duplex .  It's about 200KBps.It's collision between HUB and RTL8201..

3.enfore FTP host nic running at 10 Full duplex  mode ,  pulg cross line between  FTP host and custom board .
   It's got 470 KBps .

4. Due to custom board running in  NFS  envirment . It's cost some throughput.. now I trying test it without NFS envirment.
    If I got more  information  I will post again.


Thanks and Regards

Sent: Tuesday, July 16, 2002 8:28 PM
To: Jim Lin
Subject: AW: Poor 8xx SCC Ethernet mode performence..


Hi Jim,

> I  was testing SCC ethernet performance at our 850 custom board and
> found somting interesting.
>
> 1. Tested FTP  Transfer about 20MB file with 10T hub  I got  about
> 250 k bps (someting poor ..)

Yes that is poor, indeed.

> 2. and I found the hhl20 arch/ppc/8xx_io/enet.c source code NOT
> enable full duplex ..
>      and I had  pmsr  added SCC_PMSR_FDE | SCC_PMSR_LPB .. and
> compiling , tested FTP Transfer again.
>      I got about 200 Kbps!
>
> I do not understand what is happen? Has anyone experience this?

The other performance is also poor.

First I think you should check your whole ethernet. If you really have
2 stations at a 10BaseT Hub, you definetely need half duplex traffic. It
might be that not all station are half duplex connected, so there would be
collisions and even late collisions on the network that could not be
detected. This would make the performance decrease.

Probably your hub has a collision LED This would make it easier for you to
debug the situation.

What about installing a little switch with 10/100 connectors? Then you
could use full duplex on each connector and that would boost your
performance.

Georg Klug

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

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

* RE: Poor 8xx SCC Ethernet mode performence..
@ 2002-07-17 20:11 Jean-Denis Boyer
  2002-07-18  1:32 ` Jim Lin
  0 siblings, 1 reply; 5+ messages in thread
From: Jean-Denis Boyer @ 2002-07-17 20:11 UTC (permalink / raw)
  To: 'Jim Lin'; +Cc: linuppc


Jim,

> 4. Due to custom board running in  NFS  envirment . It's cost
> some throughput.. now I trying test it without NFS envirment.
>     If I got more  information  I will post again.

Send your incoming file to /dev/null to eliminate the NFS cost.
Example:
  ftp> get bigfile /dev/null

Then your measure with FTP will be more precise.

Regards,
--------------------------------------------
 Jean-Denis Boyer, B.Eng., System Architect
 Mediatrix Telecom Inc.
 4229 Garlock Street
 Sherbrooke (Quebec)
 J1L 2C8  CANADA
 (819)829-8749 x241
--------------------------------------------

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

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

* RE: Poor 8xx SCC Ethernet mode performence..
  2002-07-17 20:11 Jean-Denis Boyer
@ 2002-07-18  1:32 ` Jim Lin
  0 siblings, 0 replies; 5+ messages in thread
From: Jim Lin @ 2002-07-18  1:32 UTC (permalink / raw)
  To: Jean-Denis Boyer; +Cc: linuppc


Hi   Jean-denis:

It's about 860KBps , It's a amaze..

---------------------------------------------
ftp> get xbc /dev/null
local: /dev/null remote: xbc
200 PORT command successful.
150 Opening BINARY mode data connection for xbc (13172736 bytes).
226 Transfer complete.
13172736 bytes received in 14.92 secs (862.4 kB/s)


Thanks

-----Original Message-----
From: Jean-Denis Boyer [mailto:jdboyer@mediatrix.com]
Sent: Thursday, July 18, 2002 4:12 AM
To: 'Jim Lin'
Cc: linuppc
Subject: RE: Poor 8xx SCC Ethernet mode performence..



Jim,

> 4. Due to custom board running in  NFS  envirment . It's cost
> some throughput.. now I trying test it without NFS envirment.
>     If I got more  information  I will post again.

Send your incoming file to /dev/null to eliminate the NFS cost.
Example:
  ftp> get bigfile /dev/null

Then your measure with FTP will be more precise.

Regards,
--------------------------------------------
 Jean-Denis Boyer, B.Eng., System Architect
 Mediatrix Telecom Inc.
 4229 Garlock Street
 Sherbrooke (Quebec)
 J1L 2C8  CANADA
 (819)829-8749 x241
--------------------------------------------

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

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

end of thread, other threads:[~2002-07-18  1:32 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-07-16  9:37 Poor 8xx SCC Ethernet mode performence Jim Lin
2002-07-16 17:29 ` Conn Clark
     [not found] <FFECLICFNBJAHONLGAKMKEGICFAA.gklug@giga-stream.de>
2002-07-17  3:39 ` Jim Lin
  -- strict thread matches above, loose matches on Subject: below --
2002-07-17 20:11 Jean-Denis Boyer
2002-07-18  1:32 ` Jim Lin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).