]> asedeno.scripts.mit.edu Git - linux.git/commit
goldfish_pipe: An implementation of more parallel pipe
authorJin Qian <jinqian@android.com>
Thu, 20 Apr 2017 14:05:11 +0000 (16:05 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 26 Apr 2017 09:43:03 +0000 (11:43 +0200)
commit726ea1a8ea96b2bba34ee2073b58f0770800701c
treed3646e9abec7e5c705d583fd94ba55fe8594966c
parentdd17cc7bf8b9447f5612c3887b84a88eeb5e3dff
goldfish_pipe: An implementation of more parallel pipe

This is a driver code for a redesigned android pipe.
Currently it works for x86 and x64 emulators with the following
performance results:
  ADB push to /dev/null,
  Ubuntu,
  400 MB file,
  times are for (1 / 10 / 100) parallel adb commands
x86 adb push: (4.4s / 11.5s / 2m10s) -> (2.8s / 6s / 51s)
x64 adb push: (7s / 15s / (too long, 6m+) -> (2.7s / 6.2s / 52s)

ADB pull and push to /data/ have the same %% of speedup
More importantly, I don't see any signs of slowdowns when
run in parallel with Antutu benchmark, so it is definitely
making much better job at multithreading.

Signed-off-by: Yurii Zubrytskyi <zyy@google.com>
Signed-off-by: Jin Qian <jinqian@android.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/platform/goldfish/goldfish_pipe.c