Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
19 years ago

Ethernet

Hi,

My question is about the possible Ethernet speed i can reach (TCP and UDP) with a NIOS2 CPU. General conditons are :

- 100 Mbit Network

- Only one process running (No filesystem...->No Os needed)

Does it depend on :

1) What OS i use (Ecos, µClinux, No OS,...) and which one should i prefer to get best performance

2) Which Ethernet Stack i use (Lwip, FreeBSD Stack,.....) and which one should i prefer to get best performance

3) What effect will Hw calcucation of the checksum have on the speed

4) Which Controller i use (SMSc111, Open Core Mac,...) and which one should i prefer to get best performance

I know there are a lot of posts which are already about the performance of ethernet, but they are confusing, because some say, it depends on the OS, others say it depends on the stack ans so on. So my question is on what does it depend really http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/smile.gif

3 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Take a look at www.maco-engineering.de there is an OpenCore 10/100 SOPC builder Component available. You only need an external PHY.

    The PDF about this core says

    "Nios processor 33MHz, 100 MBit/s, full-duplex, cross-over cable, pseudo-UDP frames, 1.5kB frame length" .... "Ethernet performance of about 8

    MByte/s was archived without using any software optimisations"

    "Nios processor 75MHz, 100 MBit/s, full-duplex, cross-over cable, TCP/IP protocol" ... "Ethernet performance of about 5 MByte/s was archived with some software optimisations (e.g. checksum calculation in hardware)."

    I use the 5-in-1 Package.

    Regards.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    --- Quote Start ---

    originally posted by mschmitt@Feb 14 2007, 11:17 AM

    take a look at www.maco-engineering.de there is an opencore 10/100 sopc builder component available. you only need an external phy.

    the pdf about this core says

    "nios processor 33mhz, 100 mbit/s, full-duplex, cross-over cable, pseudo-udp frames, 1.5kb frame length" .... "ethernet performance of about 8

    mbyte/s was archived without using any software optimisations"

    "nios processor 75mhz, 100 mbit/s, full-duplex, cross-over cable, tcp/ip protocol" ... "ethernet performance of about 5 mbyte/s was archived with some software optimisations (e.g. checksum calculation in hardware)."

    i use the 5-in-1 package.

    regards.

    <div align='right'><{post_snapback}> (index.php?act=findpost&pid=21562)

    --- quote end ---

    --- Quote End ---

    We don&#39;t reach at www.maco-engineering.de.

    Is it corret address?

    Regards.

    Glen.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    --- Quote Start ---

    originally posted by glen yoon+feb 14 2007, 08:40 pm--><div class='quotetop'>quote (glen yoon @ feb 14 2007, 08:40 pm)</div>

    --- quote start ---

    <!--quotebegin-mschmitt@Feb 14 2007, 11:17 AM

    take a look at www.maco-engineering.de there is an opencore 10/100 sopc builder component available. you only need an external phy.

    the pdf about this core says

    "nios processor 33mhz, 100 mbit/s, full-duplex, cross-over cable, pseudo-udp frames, 1.5kb frame length" .... "ethernet performance of about 8

    mbyte/s was archived without using any software optimisations"

    "nios processor 75mhz, 100 mbit/s, full-duplex, cross-over cable, tcp/ip protocol" ... "ethernet performance of about 5 mbyte/s was archived with some software optimisations (e.g. checksum calculation in hardware)."

    i use the 5-in-1 package.

    regards.

    <div align='right'><{post_snapback}> (index.php?act=findpost&pid=21562)

    --- quote end ---

    --- Quote End ---

    We don&#39;t reach at www.maco-engineering.de.

    Is it corret address?

    Regards.

    Glen.

    <div align='right'><{post_snapback}> (index.php?act=findpost&pid=21590)</div>

    [/b]

    --- Quote End ---

    Yes, it is http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/smile.gif