Baocheng Sun
aa641abe46
binder: fix binderDriverInterfaceTest fail [1/1]
PD#155252: bind: fix binderDriverInterfaceTest fail
Commit "ANDROID: binder: Add thread->process_todo flag." brings one
binderDriverInterfaceTest failure. The commit is for improving the
performance of synchronous transactions. So we just workround not
revert it. And the patch do not impact performance.
Before patch:
Benchmark Time CPU Iterations
-------------------------------------------------------------
BM_sendVec_binder/4 55697 ns 33263 ns 21198
BM_sendVec_binder/8 56630 ns 33161 ns 21074
BM_sendVec_binder/16 56569 ns 33155 ns 21156
BM_sendVec_binder/32 56469 ns 33465 ns 21003
BM_sendVec_binder/64 58141 ns 33785 ns 20483
BM_sendVec_binder/128 57505 ns 33845 ns 20512
BM_sendVec_binder/256 57711 ns 33844 ns 20434
BM_sendVec_binder/512 58497 ns 34360 ns 20243
BM_sendVec_binder/1024 59609 ns 34893 ns 20012
BM_sendVec_binder/2k 61486 ns 36065 ns 19495
BM_sendVec_binder/4k 67373 ns 38824 ns 17904
BM_sendVec_binder/8k 80915 ns 45374 ns 15254
BM_sendVec_binder/16k 115286 ns 62732 ns 11189
BM_sendVec_binder/32k 202865 ns 104122 ns 6728
BM_sendVec_binder/64k 601649 ns 309523 ns 2259
After patch
Benchmark Time CPU Iterations
-------------------------------------------------------------
BM_sendVec_binder/4 55247 ns 33132 ns 21086
BM_sendVec_binder/8 56771 ns 33465 ns 21094
BM_sendVec_binder/16 56517 ns 33476 ns 20850
BM_sendVec_binder/32 56732 ns 33413 ns 20964
BM_sendVec_binder/64 57548 ns 33977 ns 20515
BM_sendVec_binder/128 60491 ns 34868 ns 20404
BM_sendVec_binder/256 59150 ns 34609 ns 20293
BM_sendVec_binder/512 59519 ns 34914 ns 19970
BM_sendVec_binder/1024 60230 ns 35313 ns 19832
BM_sendVec_binder/2k 65008 ns 37580 ns 18866
BM_sendVec_binder/4k 69085 ns 39789 ns 17511
BM_sendVec_binder/8k 84204 ns 47321 ns 14894
BM_sendVec_binder/16k 118609 ns 64363 ns 10730
BM_sendVec_binder/32k 207010 ns 106080 ns 6547
BM_sendVec_binder/64k 605543 ns 312110 ns 2256
Change-Id: If70094a330082122c47259c8e1df8ef7eee219dd
Signed-off-by: Baocheng Sun <baocheng.sun@amlogic.com>
2017-12-07 19:08:55 -07:00
..
2017-08-30 10:21:56 +02:00
2017-12-07 04:33:13 -07:00
2017-12-07 19:08:55 -07:00
2017-10-08 10:26:11 +02:00
2016-12-05 14:53:46 -05:00
2017-03-30 09:41:27 +02:00
2017-11-08 10:44:28 +01:00
2017-03-12 06:41:52 +01:00
2017-09-27 14:39:21 +02:00
2017-10-21 17:21:38 +02:00
2017-10-27 10:38:08 +02:00
2017-08-06 18:59:43 -07:00
2017-11-08 10:08:35 +01:00
2017-10-27 10:38:08 +02:00
2017-12-02 16:52:23 +08:00
2017-01-31 10:46:19 -08:00
2017-11-08 10:08:33 +01:00
2017-08-06 18:59:43 -07:00
2017-09-27 14:39:24 +02:00
2017-10-18 09:35:38 +02:00
2017-12-06 05:56:21 -07:00
2017-10-21 17:21:38 +02:00
2017-10-19 08:43:31 +08:00
2016-11-03 14:46:39 +01:00
2017-10-30 17:58:50 +00:00
2017-12-02 16:52:23 +08:00
2017-11-08 10:44:28 +01:00
2017-10-18 09:45:37 +02:00
2017-10-12 11:51:24 +02:00
2017-10-08 10:26:04 +02:00
2017-10-12 11:51:24 +02:00
2017-11-08 10:08:34 +01:00
2017-04-12 12:41:17 +02:00
2017-10-27 10:38:06 +02:00
2017-11-08 10:08:33 +01:00
2017-11-02 10:30:09 +01:00
2017-10-18 09:35:39 +02:00
2016-10-27 18:43:43 -07:00
2017-10-21 17:21:33 +02:00
2017-10-12 11:51:21 +02:00
2017-11-09 18:58:24 -07:00
2016-10-07 14:42:05 -07:00
2017-08-06 18:59:42 -07:00
2017-09-09 17:39:41 +02:00
2017-11-14 17:18:44 +08:00
2017-12-02 16:52:23 +08:00
2017-03-15 10:02:45 +08:00
2016-10-17 15:43:05 +02:00
2017-11-08 10:08:33 +01:00
2017-11-08 10:44:28 +01:00
2017-12-02 16:52:23 +08:00
2017-12-02 16:52:23 +08:00
2017-12-02 16:52:23 +08:00
2017-08-25 15:54:14 +00:00
2017-08-30 10:21:55 +02:00
2017-07-27 15:08:02 -07:00
2017-10-12 11:51:25 +02:00
2017-08-06 18:59:48 -07:00
2017-07-27 15:24:43 -07:00
2016-10-10 20:16:43 -07:00
2017-08-24 17:12:18 -07:00
2017-06-17 06:41:54 +02:00
2017-12-02 16:52:23 +08:00
2016-11-11 08:45:08 -08:00
2016-10-17 15:50:07 +01:00
2017-05-14 14:00:19 +02:00
2017-10-18 09:35:39 +02:00
2017-11-08 10:44:28 +01:00
2017-10-08 10:49:06 +02:00
2017-01-19 20:18:07 +01:00
2016-10-11 15:06:32 -07:00
2016-10-13 10:20:06 -04:00
2017-04-21 09:31:22 +02:00
2017-10-08 10:26:09 +02:00
2017-11-02 09:49:15 +01:00
2017-03-12 06:41:50 +01:00
2017-10-08 10:26:03 +02:00
2017-01-26 08:24:44 +01:00
2017-04-21 09:48:33 +02:00
2017-11-08 10:08:37 +01:00
2017-11-08 10:44:28 +01:00
2017-01-26 08:24:45 +01:00
2017-11-02 09:49:13 +01:00
2017-07-27 15:08:08 -07:00
2017-01-09 08:32:16 +01:00
2017-12-02 16:52:23 +08:00
2017-10-21 17:21:38 +02:00
2017-08-14 15:24:11 +08:00
2017-10-23 09:35:27 +02:00
2017-11-14 17:18:44 +08:00
2017-10-12 11:51:19 +02:00
2017-08-06 18:59:48 -07:00
2017-09-20 08:19:56 +02:00
2017-10-05 10:37:37 +02:00
2016-10-19 08:11:43 -07:00
2017-03-31 10:31:45 +02:00
2017-03-12 06:41:50 +01:00
2017-03-24 17:36:22 +08:00
2017-10-21 17:21:33 +02:00
2017-11-08 10:08:37 +01:00
2017-01-19 19:00:52 +08:00
2017-06-08 10:59:07 +08:00