Poor 8xx SCC Ethernet mode performence..

2002-07-18 Thread Jim Lin

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:[EMAIL PROTECTED]
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/





Poor 8xx SCC Ethernet mode performence..

2002-07-17 Thread Jim Lin

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/





Poor 8xx SCC Ethernet mode performence..

2002-07-16 Thread Jim Lin

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/