From 7ad7baf23da3404ca755379b11a2da2fe453e513 Mon Sep 17 00:00:00 2001 From: Ken Chen Date: Thu, 13 Apr 2023 16:21:01 +0800 Subject: [PATCH] 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 --- conf/init.zuma.rc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conf/init.zuma.rc b/conf/init.zuma.rc index 6c3e2aea..75f54427 100644 --- a/conf/init.zuma.rc +++ b/conf/init.zuma.rc @@ -119,7 +119,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