Performance - usb rndis speed - iperf
1. Download iperf3 tool.
2. Download iperf3 source code
3. Build iperf3 code for android
3.1 build method
pending
3.2 download available bin for android
>adb root
>adb push iperf3 /data/iperf3
>adb shell
#cd /data/
#chmod 777 iperf3
#./iperf3 ...
4. Test rndis port
server:
#iperf3 -s
client:
#iperf -c 192.168.40.129 -t 60
5. Increase RNDIS DL for some of Qualcomm platform
# Increase RNDIS DL max aggregation size to 11K
echo 11264 > /sys/module/g_android/parameters/rndis_dl_max_xfer_size