Forum Discussion

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

NIOS+MicroOS+Niche stack (TCP) optimization

Hello.

I am trying to get as much data rate as possible from Niche stack that is working on NIOS processor (now with MicroOS).

Now I am using TCP for transmission.

I think I've get all that I can with HW optimization (NIOS memory interfaces and so on).

Now I want to understand how can I optimize the SW to send information faster.

So, several questions like "have somebody tried?".

1) What is the actual requirements of MicroOS+Niche stack to the stack/heap memory? It is used only for data transmission (no other tasks), so if to know digits for these 2 components, it will be usable for me. All my memory is on-chip, and this is limiting factor of the Fmax now.

2) Do somebody tried to compare the transfer rate for cases with and without MicroOS? What rate benefit can "Soperloop" give?

3) Is it possible to tune Niche stack so to force it to use jumbo frames (8K for example). Now it uses 1500 bytes packets and up to this time I can't force it to increase the size of the packets. Can Ipv6 help with this? If this is possible, what benefit can be expected?

4) What is the benefit for UDP comparing with TCP for NIOS+MicroOS+Niche stack?

Thank you all in advance for answers.

13 Replies