commit | 8f66bf36da106e7d60604b1e0ef3fa90d5e5e3a7 | [log] [tgz] |
---|---|---|
author | Bailey Kuo <formosa@google.com> | Mon May 06 11:28:24 2024 -0700 |
committer | Bailey Kuo <formosa@google.com> | Mon May 06 11:28:24 2024 -0700 |
tree | 1780e7599d059c45eda1d3848a1c28c01203fb83 | |
parent | 12c42cc4f11dd0ced5cd20a6991ac3fee1472f83 [diff] |
Reduce netsimd CPU usage - In aosp/3044938, callng libslirp_main_loop_wait() in a separate thread improved Wi-Fi performance but caused higher CPU usage - Reduced CPU usage by calling the libslirp_main_loop_wait() every 1 ms instead of 10 us - CPU usage droped from 20 to ~5 % - iperf3 performance remains the same: ~66 Mbits/sec Bug: 337161678 Test: ninja Change-Id: I848c34438f5aea49dea4d031e20e6bf924bf1268