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: I6c892eb7b8cf3ab6b7ecd620e1e52211e5d550bd
This commit is contained in:
Ken Chen 2023-04-13 16:21:01 +08:00
parent 6f1e1dca4a
commit 7ad7baf23d

View file

@ -119,7 +119,7 @@ on init
symlink /data/app /factory symlink /data/app /factory
# Apply network parameters for high data performance. # 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/rmem_max 8388608
write /proc/sys/net/core/wmem_default 327680 write /proc/sys/net/core/wmem_default 327680
write /proc/sys/net/core/wmem_max 8388608 write /proc/sys/net/core/wmem_max 8388608