How to upgrade iperf3 tool

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to upgrade iperf3 tool

1,172 Views
stevenyu
Contributor III

Hi ,

Server listening on 50001
-----------------------------------------------------------
Accepted connection from 192.168.3.50, port 49512
[ 5] local 192.168.3.1 port 50001 connected to 192.168.3.50 port 51801
[ ID] Interval Transfer Bandwidth Jitter Lost/Total Datagrams
[ 5] 0.00-1.00 sec 48.0 KBytes 393 Kbits/sec 60003257.112 ms 60/66 (91%)
[ 5] 1.00-2.00 sec 16.0 KBytes 131 Kbits/sec 52737244.375 ms 56/58 (97%)
[ 5] 2.00-3.00 sec 48.0 KBytes 393 Kbits/sec 35805127.378 ms 90/96 (94%)
[ 5] 3.00-4.00 sec 48.0 KBytes 393 Kbits/sec 24309336.433 ms 56/62 (90%)
[ 5] 4.00-5.00 sec 40.0 KBytes 328 Kbits/sec 17604744.840 ms 80/85 (94%)
[ 5] 5.00-6.00 sec 16.0 KBytes 131 Kbits/sec 15472925.918 ms 75/77 (97%)
[ 5] 6.00-7.00 sec 16.0 KBytes 131 Kbits/sec 13599256.136 ms 58/60 (97%)
[ 5] 7.00-8.00 sec 32.0 KBytes 262 Kbits/sec 10505110.730 ms 28/32 (88%)
[ 5] 8.00-9.00 sec 32.0 KBytes 262 Kbits/sec 8114954.635 ms 125/129 (97%)
[ 5] 9.00-10.00 sec 48.0 KBytes 393 Kbits/sec 5509528.431 ms 55/61 (90%)
[ 5] 10.00-10.33 sec 0.00 Bytes 0.00 bits/sec 5509528.431 ms 0/0 (nan%)
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval Transfer Bandwidth Jitter Lost/Total Datagrams
[ 5] 0.00-10.33 sec 0.00 Bytes 0.00 bits/sec 5509528.431 ms 683/726 (94%)

We have found the iperf3 not work properly, and found the original iperf3_git.bb is version 3.1. Then, we found new 3.6 is on gitHub. Do you know how to upgrade yocto to use newer version of iperf3 ?

Thanks.

Steven Yu

0 Kudos
2 Replies

992 Views
gusarambula
NXP TechSupport
NXP TechSupport

Hello Steven Yu,

The L4.9.88_2.0.0 BSP supports the iperf 3.2 version. The master of the Open Ebedded Yocto layer does have the 3.6 version:

https://layers.openembedded.org/layerindex/branch/master/layer/meta-oe/

However, you would need to add it manually and fix all dependencies required by it, which can be tricky. Alternatively, you could write a recipe that installs it from the source code.

 For more information about customizing Yocto please check the Yocto Project Reference Manual (link below)

https://www.yoctoproject.org/docs/2.4/ref-manual/ref-manual.html

I hope this helps!

Regards,

0 Kudos

992 Views
stevenyu
Contributor III

Hi gusarambula,

Follow the first link, I can see this recipe. 

https://layers.openembedded.org/layerindex/recipe/32243/

I have seen one recipe file and two patch files, do you know any good method to download it ?

Currently, I do it by select all on web browser, copy and paste to my local PC editor, but I feel this is strange method. If there are many files, it is easy to make wrong. 

Any method to update the sub-tree in my codebase ?

Regards,

Steven Yu

0 Kudos