Increases socket buffer for 5G FR2 throughput

The existing socket buffer size is unable to sustain 4.2Gbits/s. Enlarge
buffer size based on LAB test result.

Bug: 274709266
Test: $ iperf3 -u -c 10.174.105.148 -i1 -b450M -P10 -t60 -p 5029 --bidir
      DL: 4.17 Gbits/sec
      UL: 310 Mbits/sec

Change-Id: I50fe3d43ee3db48dc2d1a0abac75a0b390c17d18
This commit is contained in:
Ken Chen 2023-04-14 05:31:23 +00:00
parent bad22b4210
commit 6c5bec678a

View file

@ -132,7 +132,7 @@ on init
symlink /data/app /factory
# Apply network parameters for high data performance.
write /proc/sys/net/core/rmem_default 327680
write /proc/sys/net/core/rmem_default 1310720
write /proc/sys/net/core/rmem_max 8388608
write /proc/sys/net/core/wmem_default 327680
write /proc/sys/net/core/wmem_max 8388608