Added default TCP buffer size for Pixels

Bug: 213596972
Test: Manual
Change-Id: Ib2dbd339d9b8ae9f9f1248f7be518cdf5830ec7c
This commit is contained in:
Jack Yu 2022-01-12 15:21:28 -08:00
parent db339d7ccb
commit 270f0d46ef

View file

@ -266,4 +266,19 @@
<!-- Enable Zram writeback feature to allow unused pages in zram be written to flash. --> <!-- Enable Zram writeback feature to allow unused pages in zram be written to flash. -->
<bool name="config_zramWriteback">true</bool> <bool name="config_zramWriteback">true</bool>
<!-- Configure tcp buffer sizes in the form:
rmem_min,rmem_def,rmem_max,wmem_min,wmem_def,wmem_max
If this is configured as an empty string, the system default will be applied.
For now this config is used by mobile data only. In the future it should be
used by Wi-Fi as well.
Note that starting from Android 13, the TCP buffer size is fixed after boot up, and should
never be changed based on carriers or the network types. The value should be configured
appropriately based on the device's memory and performance. It is recommended to use lower
values if the device has low memory or doesn't support high-speed network such like LTE,
NR, or Wifi.
-->
<string name="config_tcp_buffers" translatable="false">2097152,6291456,16777216,512000,2097152,8388608</string>
</resources> </resources>