<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns:p="urn:schemas-microsoft-com:office:powerpoint" xmlns:a="urn:schemas-microsoft-com:office:access" xmlns:dt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882" xmlns:s="uuid:BDC6E3F0-6DA3-11d1-A2A3-00AA00C14882" xmlns:rs="urn:schemas-microsoft-com:rowset" xmlns:z="#RowsetSchema" xmlns:b="urn:schemas-microsoft-com:office:publisher" xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet" xmlns:c="urn:schemas-microsoft-com:office:component:spreadsheet" xmlns:odc="urn:schemas-microsoft-com:office:odc" xmlns:oa="urn:schemas-microsoft-com:office:activation" xmlns:html="http://www.w3.org/TR/REC-html40" xmlns:q="http://schemas.xmlsoap.org/soap/envelope/" xmlns:rtc="http://microsoft.com/officenet/conferencing" xmlns:D="DAV:" xmlns:Repl="http://schemas.microsoft.com/repl/" xmlns:mt="http://schemas.microsoft.com/sharepoint/soap/meetings/" xmlns:x2="http://schemas.microsoft.com/office/excel/2003/xml" xmlns:ppda="http://www.passport.com/NameSpace.xsd" xmlns:ois="http://schemas.microsoft.com/sharepoint/soap/ois/" xmlns:dir="http://schemas.microsoft.com/sharepoint/soap/directory/" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:dsp="http://schemas.microsoft.com/sharepoint/dsp" xmlns:udc="http://schemas.microsoft.com/data/udc" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:sub="http://schemas.microsoft.com/sharepoint/soap/2002/1/alerts/" xmlns:ec="http://www.w3.org/2001/04/xmlenc#" xmlns:sp="http://schemas.microsoft.com/sharepoint/" xmlns:sps="http://schemas.microsoft.com/sharepoint/soap/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:udcs="http://schemas.microsoft.com/data/udc/soap" xmlns:udcxf="http://schemas.microsoft.com/data/udc/xmlfile" xmlns:udcp2p="http://schemas.microsoft.com/data/udc/parttopart" xmlns:wf="http://schemas.microsoft.com/sharepoint/soap/workflow/" xmlns:dsss="http://schemas.microsoft.com/office/2006/digsig-setup" xmlns:dssi="http://schemas.microsoft.com/office/2006/digsig" xmlns:mdssi="http://schemas.openxmlformats.org/package/2006/digital-signature" xmlns:mver="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns:mrels="http://schemas.openxmlformats.org/package/2006/relationships" xmlns:spwp="http://microsoft.com/sharepoint/webpartpages" xmlns:ex12t="http://schemas.microsoft.com/exchange/services/2006/types" xmlns:ex12m="http://schemas.microsoft.com/exchange/services/2006/messages" xmlns:pptsl="http://schemas.microsoft.com/sharepoint/soap/SlideLibrary/" xmlns:spsl="http://microsoft.com/webservices/SharePointPortalServer/PublishedLinksService" xmlns:Z="urn:schemas-microsoft-com:" xmlns:st="&#1;" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=Content-Type content="text/html; charset=gb2312">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]-->
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:SimSun;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:SimSun;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:"\@SimSun";
        panose-1:2 1 6 0 3 1 1 1 1 1;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:SimSun;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
        {mso-style-priority:34;
        margin-top:0in;
        margin-right:0in;
        margin-bottom:0in;
        margin-left:.5in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:SimSun;}
span.EmailStyle17
        {mso-style-type:personal-reply;
        font-family:"Arial","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.Section1
        {page:Section1;}
 /* List Definitions */
 @list l0
        {mso-list-id:1363630253;
        mso-list-type:hybrid;
        mso-list-template-ids:-1719635908 -127467540 67698713 67698715 67698703 67698713 67698715 67698703 67698713 67698715;}
@list l0:level1
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:.75in;
        text-indent:-.25in;}
ol
        {margin-bottom:0in;}
ul
        {margin-bottom:0in;}
-->
</style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
</head>

<body lang=EN-US link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Arial","sans-serif";
color:#1F497D'>I have developed a board with the AMCC PPC405eX running at 600MHz
and experimented with two transmission methods;<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Arial","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoListParagraph style='margin-left:.75in;text-indent:-.25in;
mso-list:l0 level1 lfo1'><![if !supportLists]><span style='font-size:11.0pt;
font-family:"Arial","sans-serif";color:#1F497D'><span style='mso-list:Ignore'>1.<span
style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp; </span></span></span><![endif]><span
style='font-size:11.0pt;font-family:"Arial","sans-serif";color:#1F497D'>Raw
socket w/jumbo frames – approx. 600Mbits/sec<o:p></o:p></span></p>

<p class=MsoListParagraph style='margin-left:.75in;text-indent:-.25in;
mso-list:l0 level1 lfo1'><![if !supportLists]><span style='font-size:11.0pt;
font-family:"Arial","sans-serif";color:#1F497D'><span style='mso-list:Ignore'>2.<span
style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp; </span></span></span><![endif]><span
style='font-size:11.0pt;font-family:"Arial","sans-serif";color:#1F497D'>TCP
using writev w/jumbo frames – approx. 525Mbits/sec<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Arial","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'>

<p class=MsoNormal style='margin-left:.5in'><b><span style='font-size:10.0pt;
font-family:"Tahoma","sans-serif"'>From:</span></b><span style='font-size:10.0pt;
font-family:"Tahoma","sans-serif"'> linuxppc-dev-bounces+john.p.price=l-3com.com@lists.ozlabs.org
[mailto:linuxppc-dev-bounces+john.p.price=l-3com.com@lists.ozlabs.org] <b>On
Behalf Of </b>Lada Podivin<br>
<b>Sent:</b> Wednesday, July 01, 2009 7:25 AM<br>
<b>To:</b> LiuMing<br>
<b>Cc:</b> linuxppc-dev@ozlabs.org<br>
<b>Subject:</b> Re: ppc405ex + gigabit ethernet<o:p></o:p></span></p>

</div>

<p class=MsoNormal style='margin-left:.5in'><o:p>&nbsp;</o:p></p>

<p class=MsoNormal style='mso-margin-top-alt:0in;margin-right:0in;margin-bottom:
12.0pt;margin-left:.5in'>Thank you for your reply!<br>
Yes, I agree the CPU is the bottleneck. But I have performed more tests with
the netperf tool and results seem strange to me. If I send 800 B of data, the
resulting speed is aproximately 100 Kb/s. On the other hand, If I try to send
32KB chunk of data with jumbo frames turned on, resulting speed is about 600
Kb/s (300-400 without jumbo frames). My ppc405ex runs at 600 MHz.<br>
<br>
So it seems that it is definetely better idea to call sendto() less frequently
with bigger amounts of data, than to call it more often with smaler amounts. Is
it because smaller data means more frequent user space/kernel space switching?
Or is it network related issue?&nbsp; <br>
<br>
Thanks!<br>
<br>
Best,<br>
Lada<o:p></o:p></p>

<div>

<p class=MsoNormal style='margin-left:.5in'>2009/7/1 LiuMing &lt;<a
href="mailto:eemingliu@hotmail.com">eemingliu@hotmail.com</a>&gt;<o:p></o:p></p>

<div>

<p class=MsoNormal style='margin-left:.5in'>Hi,<br>
According to our experience on PPC405 + Gigabit Enet, your result is already
very reasonable. For UDP transmission, it can be around 400 Kb/s because of
the&nbsp;CPU bottleneck (in our case 300 MHz ppc405). If you want
to&nbsp;further improve it, a faster CPU is needed to process the TCP/IP stack,
or you may buy&nbsp;commercial TCP/IP stack&nbsp;rather than using the free
Linux one. <br>
&nbsp;<br>
BR<br>
Ming<br>
&nbsp;<o:p></o:p></p>

<div class=MsoNormal align=center style='margin-left:.5in;text-align:center'>

<hr size=2 width="100%" align=center>

</div>

<p class=MsoNormal style='margin-left:.5in'>Date: Tue, 30 Jun 2009 15:58:53
+0200<br>
Subject: ppc405ex + gigabit ethernet<br>
From: <a href="mailto:lada.podivin@gmail.com" target="_blank">lada.podivin@gmail.com</a><br>
To: <a href="mailto:linuxppc-dev@ozlabs.org" target="_blank">linuxppc-dev@ozlabs.org</a><o:p></o:p></p>

<div>

<div>

<p class=MsoNormal style='mso-margin-top-alt:0in;margin-right:0in;margin-bottom:
12.0pt;margin-left:.5in'><br>
<br>
Hi,<br>
<br>
I benchmarked performance of my network, which contains ppc405EX (Kilauea
board, kernel 2.6.30 from Denx) connected with a linux desktop via gigabit
ethernet. I used the netperf tool: <br>
<br>
netperf -t UDP_STREAM -H 192.168.1.1 -- -m 32768<br>
<br>
So I was sending UDP packets to the desktop. The resulting speed was about 370
Kb/s. I tried to send the packets to several different computers - with the
same result. So the ppc board is the bottleneck in this case.<br>
<br>
Is there any possibility to improve the gigabit capabilities of the ppc405EX?
Is there anyone who achieved a better performance with ppc4xx boards?<br>
<br>
Thanks!<br>
<br>
Best,<br>
Lada Podivin<br>
<br>
<o:p></o:p></p>

</div>

</div>

<div>

<div class=MsoNormal align=center style='margin-left:.5in;text-align:center'>

<hr size=2 width="100%" align=center>

</div>

<p class=MsoNormal style='margin-left:.5in'><span lang=ZH-CN>立刻下载</span> MSN <span
lang=ZH-CN>保护盾,保障</span> MSN <span lang=ZH-CN>安全稳定! </span><a
href="http://im.live.cn/safe/" target="_blank"><span lang=ZH-CN>现在就下载!</span></a><o:p></o:p></p>

</div>

</div>

</div>

<p class=MsoNormal style='margin-left:.5in'><o:p>&nbsp;</o:p></p>

</div>

</body>

</html>