diff options
| author | Chen Feng <[email protected]> | 2016-05-19 11:03:16 +0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2016-08-21 17:38:49 +0200 |
| commit | e7f63771b60e7802c5a9b437c5ab1a8e33a0bb35 (patch) | |
| tree | ee9680ee49b4f37f801b83b5b5ec0ecba777259d /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | 1f0c9efe5627ed12b469dae7434795ed625936bf (diff) | |
ION: Sys_heap: Add cached pool to spead up cached buffer alloc
Add ion cached pool in system heap. This patch add a cached pool
in system heap. It has a great improvement of alloc for cached
buffer.
With memory pressue alloc test 800MB in userspace used iontest.
The result avg is 577ms. Without patch it's avg is about 883ms.
v1: Makes the cached buffer zeroed before going to pool
v2: Add cached param in pool to distinguish wheather need to flush
cache at a fresh alloc.
Rework the shrink function.
Signed-off-by: Chen Feng <[email protected]>
Signed-off-by: Xia Qing <[email protected]>
Reviewed-by: Fu Jun <[email protected]>
Acked-by: Laura Abbott <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions