diff options
author | Josh Gao <jmgao@google.com> | 2020-03-04 19:34:08 -0800 |
---|---|---|
committer | Josh Gao <jmgao@google.com> | 2020-03-26 13:31:32 -0700 |
commit | 939fc19aee7f6a19ce0f4fa91557bbbe9cd974f5 (patch) | |
tree | 8b34defa0ca79c5abb0fb1a91251603bfb6d6be3 /trusty/coverage/coverage_test.cpp | |
parent | 5e4b94d44da7a0595bc716cf1a04cf47e0f0c5f6 (diff) |
adb: implement compression for file sync.
This improves performance when syncing by up to 2x (remote cuttlefish
goes from 11.9 MB/s to 21.3 MB/s, blueline over USB 2.0 from 36 MB/s
to 70 MB/s).
This results in a slight drop in push speeds over USB 3.0 (125 -> 115
MB/s on blueline), presumably because we're compressing and extracting
on only a single thread, but the gains over lower bandwidth transports
make this worth it to submit this now and parallelize later.
Bug: https://issuetracker.google.com/150827486
Test: ADB_COMPRESSION={0, 1} test_device.py (with new/old adbd)
Change-Id: Ic2a0c974f1b6efecda115f87d336e3caac810035
Diffstat (limited to 'trusty/coverage/coverage_test.cpp')
0 files changed, 0 insertions, 0 deletions