+TCP IPERF source

All the previous sourceforge links are 403’d, is there a place I can find the source for the iperf test for +TCP?

Hi @friesen, all the threads have been migrated from Sourceforge discussions to here. If there’s a particular thread you’re looking for, you can copy and paste the title you’ve turned up from your search engine and it will show on here.

This might be the link you’re looking for with the attachment from @htibosch : FreeRTOS+TCP data loss

Thanks, I hadn’t seen that. I was referring to zip file links in other theads.

Perhaps this could be added to the Demo source.

Can you point out which thread you’re referring to? We weren’t able to migrate attachments because of export limitations but I am happy to get the attachments for you on your behalf.

@htibosch what do you think about this suggestion?

Perhaps this could be added to the Demo source.

what do you think about this suggestion?

Well, there is a big difference in quality between the sources in de public demo code, and a utility like iperf3. The latter is just a tool that helps fine-tuning parameters set in FreeRTOSIPConfig.h.

Here you find the comfig items that I used recently on an STM32F4:

#define USE_IPERF                                   1
#define ipconfigIPERF_DOES_ECHO_UDP                 0

#define ipconfigIPERF_VERSION                       3

#define ipconfigIPERF_STACK_SIZE_IPERF_TASK         680  // or more?

#define ipconfigIPERF_TX_BUFSIZE                    ( 8 * ipconfigTCP_MSS )
#define ipconfigIPERF_TX_WINSIZE                    ( 6 )
#define ipconfigIPERF_RX_BUFSIZE                    ( 8 * ipconfigTCP_MSS )
#define ipconfigIPERF_RX_WINSIZE                    ( 6 )

/* The iperf module declares a character buffer to store its send data. */
#define ipconfigIPERF_RECV_BUFFER_SIZE              ( 2 * ipconfigTCP_MSS )

The more memory the faster, but this is only true on a fast LAN.

From a PC you can start a IPERF client, either for sending or receiving;

iperf3 -c 192.168.2.114 --port 5001 --bytes 100M
iperf3 -c 192.168.2.114 --port 5001 --bytes 100M -R

Just to be sure, I am attaching the latest source code:
iperf_task_v3_0d.zip (6.8 KB)

Thank you for posting that code.