Scope

Target is to provide a IMP/Gateway speedtest reference implementation to RDK-B community as part of banana Pi R4


Types of speedtests

Block diagram

Components involved

Backend ecosystems involved


RDK-B Customer perspective

Technical requirements of gateway speed test

State machine design for Bananapi R4


Source code repo

Reference

Plan


TEST STEPS

                  Pre test requirement : Ensure we have a iperf server on wan side in a ubuntu machine / windows machine.And is listening at port 5201 

                1.  Using DMcli / webui set the   Speedtest argument .In the string, give the server details is used to send the Iperf server, port number ( ex: 5201) , bandwidth (ex 200), timeout (ex 15)  details .Example as below

                                       Ex: dmcli eRT setv Device.IP.Diagnostics.X_RDKCENTRAL-COM_SpeedTest.Argument string "-t 15 -b 200 -P 6 -p 5201 67.xx.xx.xxx"

               2. Enable the speed test  :     dmcli eRT setv Device.IP.Diagnostics.X_RDKCENTRAL-COM_SpeedTest.Enable_Speedtest bool true
               3. Enable the SpeedRun DM :   dmcli eRT setv Device.IP.Diagnostics.X_RDKCENTRAL-COM_SpeedTest.Run bool true

                4.Once we enable the Speedtest.Run DM ,we can see the iperf test has been intiated by through ps o/p , also we can see the packets being sent from server and received by the gateway in the console


                    root@Filogic-GW:~# ps | grep speed
                    392379 root      3236 S    {speedtest.sh} /bin/sh /usr/ccsp/tad/speedtest.sh
                    392417 root      2180 SN   /usr/bin/speedtest-client xx.xx.xx.xxx
5.Once the speedtest completes , check the TandD logs where there will be a logging for Iperf test results

cat TDMlog.txt.0
2025-03-06 10:43:48 : Iperf test results: 375000000 MBytes 200.000000 Mbits/sec sender
375000000 MBytes 200.000000 Mbits/sec receiver .

6.Follow the steps to create a telemetery profile for the speedtest from the below link :
440323 root      3352 S    grep speed

 

                       

               



FAQ's

Child pages