Programmable Devices
CPLDs, FPGAs, SoC FPGAs, Configuration, and Transceivers
21341 Discussions

Application speed enhancement

Altera_Forum
Honored Contributor II
1,621 Views

Hello, 

 

 

We are designing an embedded system used to process video data then send them to another embedded system using Ethernet. 

 

Data are sent using NicheStack TCP/IP with MicoC/OS-II.  

 

To test the transmitter we used a telnet session ,as in the simple socket server design example and instead of sending the menu (the one introduced in the example), we send the processed video data (that was stored in an SDRAM). 

 

The problem is as following: 

 

It was found that the data rate (data transmitted per second) is very small. To increase it. we increased the system clock (in SOPC builder) from 75 MHz to 150 MHz. It was expected that the data rate will be doubled, but unfortunately that was not the case. 

 

Is this limited to the telnet session??? I don't know!! :confused: :( 

 

Can anyone advise me. :) 

 

Thanks & Regards.
0 Kudos
5 Replies
Altera_Forum
Honored Contributor II
681 Views

For expectable network throughput with NIOS, you should consult AN 440 accelerating nios ii networking applications

 

I would also use Wireshark to trace the transmission timing. It can at least show, which peer acts as a bottleneck.
0 Kudos
Altera_Forum
Honored Contributor II
681 Views

If throughput is desired, I would use UDP and take a look at the following example: 

 

http://alterawiki.com/wiki/nios_ii_udp_offload_example 

 

Regards, 

 

-- slacker
0 Kudos
Altera_Forum
Honored Contributor II
681 Views

 

--- Quote Start ---  

For expectable network throughput with NIOS, you should consult AN 440 accelerating nios ii networking applications

 

I would also use Wireshark to trace the transmission timing. It can at least show, which peer acts as a bottleneck. 

--- Quote End ---  

 

 

Hello, 

 

Thank you for your reply :). 

 

Kindly advise me how can I find using Wireshark which peer acts as a bottleneck. 

 

Thanks & Regards
0 Kudos
Altera_Forum
Honored Contributor II
681 Views

 

--- Quote Start ---  

If throughput is desired, I would use UDP and take a look at the following example: 

 

http://alterawiki.com/wiki/nios_ii_udp_offload_example 

 

Regards, 

 

-- slacker 

--- Quote End ---  

 

 

Hello, 

 

Thank you for your reply :) 

 

I will follow your advice & try the UDP. 

 

Thanks & Regards
0 Kudos
Altera_Forum
Honored Contributor II
681 Views

 

--- Quote Start ---  

how can I find using Wireshark which peer acts as a bottleneck 

--- Quote End ---  

 

As a prerequisite, you have to understand how TCP flow control works, either from the basic RFCs or a TCP/IP networking text book. 

 

A scenario, where the receiver throttles transmission speed would be, if ACK is delayed or even retransmission of segments is caused. I agree however with slacker, that you should try UDP for a fast transmission. Here you can immediately detect, if the transmitter is able to keep up with the data rate or possibly the receiver can't manage it.
0 Kudos
Reply