Forum Discussion

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

How fast 91c111 can get ?

Hi,friends

How fast 91c111 can get ?in uclinux on noisII,I know some number ,but I want to use uclinux with 91c111 to send data to pc.As far as I know ,the ucos with nios can only use lwip,which only can get 500kbits/s or so with tcp/ip.so I want to get the transfer rate of >= 8Mbits/s,I want to know can I make it.or is there an other number to indicate the problem of my idea.

best wishes,

Tommy

3 Replies

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

    >8 MBits/s is possible. You don't have to do any special for this.

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

    Hi Tommy

    It is not easy to give you accurate operating values of the 91c111 running under uCLinux. Which service do you will use?

    At last year (April...Oct. 2005) I corporated with MoreThanIP (MTIP, Germany) while evaluating an optimized MAC IP Core coming from MTIP (uCLinux and NIOS II). The goal of that was exactly your idea. The measurements based on several combinations with the MAC/PHY 91c111 on-board, the MIP MAC Core and PHY 83865 (doughter card) and different services like Telnet, FTP and Samba 2.2.12a (changes for running SAMBA Server under uCLinux made by my self).

    By the way, there was an implementation of an ATA-5 IP Core to store data on hard disks and booting uCLinux from HD (Stratix II, 2S60ES eval board)

    Here some results (sending Bytes from PC to STRATIX II/NIOS II over two cables):

    (2S60ES-NIOS II/s 55MHz, uCLinux V2.6.11 with two Ethernet if's, MTIP 10-100-100 MAC, NS83865 PHY, 91c111, all Full Duplex, all 100Mbit/s)

    Bytes No. Files MAC/PHY Service Time [s]

    ----------------------------------------------------------

    380M 1 91c111 FTP 571

    380M 1 MTIP/NS83865 FTP 565

    120M 1 91c111 FTP 170

    120M 1 MTIP/NS83865 FTP 161

    4M 1 91c111 FTP 6

    4M 1 MTIP/NS83865 FTP 5

    25M 1 91c111 FTP 38

    25M 1 MTIP/NS83865 FTP 35

    10M 400 91c111 SMB 90

    10M 400 MTIP/NS83865 SMB 72

    Transfer Rates:

    FTP: 600...900 kB/s (optimized MAC IP Core is abt. 10% faster)

    SMB: 100...140 kB/s

    Also I optimized the MTIP driver for the MAC. Note that there exists important depencies (how much files you will transfering, switching, MTU size and so on).

    Nominated Time Consumption:

    CPU (pure software) 60% http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/dry.gif

    ATA-5 (pure hardware) 20%

    MAC/PHY (pure hardware) 20%

    It is difficult to estimate the amount of time for DMA and/or interrupts.

    Conclusion:

    Under uClinux and normal conditions it is possible to speed up your Ethernet for FTP to average 700kBytes per second. By increasing the clock speed and/or optimizing your hardware with LogicLock you can speed up the network too (60% time consuption CPU !!!).

    I wonder about the very low value of 500kbit/s (62kByte/s ???). Did you using DMA for the 91c111?

    Please tell me more about your NIOS II system.

    I hope, that will helps you a little bit.

    Happy new year and best wishes

    Jens

    PS: sorry for my bad english writing.... http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/sad.gif
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Jens&#65292;

    Thank you so much,I have understand the problem I face.In fact ,I will use uclinux on nios2 to transfer data(about 1Mbits/s)to PC now.But Later, we will speed up transfer rates to higher(I infact can&#39;t estimate accurately,maybe double or 2*,4*,...).Thanks again.

    happy new year!

    Best wishes!

    sincerely,

    Tommy