Hi Laurent,<br><br>I found that pretty hard to believe.<br><br>What are you measuring exactly?<br><br>Speed of replies? If so it's explainable since the TSECs use<br>NAPI.<br><br>Regards<br><br>Pantelis<br><br><div><span class="gmail_quote">
On 2/14/06, <b class="gmail_sendername">Laurent Lagrange</b> &lt;<a href="mailto:lagrange@fr.oleane.com">lagrange@fr.oleane.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>Hello,<br><br>I work on a cutom MPC8541 board with Linux 2.6.9.<br>The kernel activates the L1 cache (instructions and data)<br>and the L2 cache (entirely used as cache and not as sram).<br><br>I configure<br>1 FCC (FCC1),
<br>2 TSECs with or without NAPI (no effect) but without stashing in L2 sram.<br>All PHYs are automatically configured in 100MB full duplex.<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;eth0: Gianfar Ethernet Controller Version 1.1, 00:10:cd:48:48:e0<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;eth0: Running with NAPI disabled<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;eth0: 64/64 RX/TX BD ring size<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;eth1: Gianfar Ethernet Controller Version 1.1, 00:10:cd:48:48:e1<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;eth1: Running with NAPI disabled<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;eth1: 64/64 RX/TX BD ring size
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;eth2: FCC ENET Version custom, 00:10:cd:48:48:e2<br><br>Then I launch 3 simple TCP servers, one on each ports.<br><br>From remote machines I runs 3 TCP clients.<br>The client sends messages of 1000 bytes,<br>The server receives and echoes the message
<br>The client receives the echoed message, check the content<br>and sends a new message again.<br><br>The result is that the 2 TSECs are 2 times slower than the FCC.<br><br>If I run a &quot;top&quot; application on the board, I use less than 10% of the CPU
<br>Each port consumes about 1/3 of the CPU.<br><br>Any idea on how to configure the gianfar driver ?<br><br>Thanks<br>Laurent<br><br><br>_______________________________________________<br>Linuxppc-embedded mailing list<br>
<a href="mailto:Linuxppc-embedded@ozlabs.org">Linuxppc-embedded@ozlabs.org</a><br><a href="https://ozlabs.org/mailman/listinfo/linuxppc-embedded">https://ozlabs.org/mailman/listinfo/linuxppc-embedded</a><br></blockquote></div>
<br>