Skip to content

per-process reclaim

Minchan Kim linux-mm lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 15 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3mm: vmscan: refactoring force_reclaimmm/vmscan.c+20 -150 replies
2/3mm: vmscan: shrink_page_list with multiple zonesmm/vmscan.c+5 -50 replies
3/3mm: per-process reclaimDocumentation/filesystems/proc.txt fs/proc/base.c fs/proc/internal.h +3 more+210 -09 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH v1 0/3] per-process reclaim

Hi all,

http://thread.gmane.org/gmane.linux.kernel/1480728

I sent per-process reclaim patchset three years ago. Then, last feedback from akpm was that he want to know real usecase scenario.

Since then, I got question from several embedded people of various company "why it's not merged into mainline" and heard they have used the feature as in-house patch and recenlty, I noticed android from Qualcomm started to use it.

Of course, our product have used it and released it in real procuct.

Quote from Sangwoo Park <[email protected]> Thanks for the data, Sangwoo!
"
- Test scenaro
- platform: android
- target: MSM8952, 2G DDR, 16G eMMC
- scenario
retry app launch and Back Home with 16 apps and 16 turns (total app launch count is 256)
- result:
resume count | cold launching count
-----------------------------------------------------------------

 vanilla           |           85        |          171
 perproc reclaim   |           184       |           72

"

Higher resume count is better because cold launching needs loading lots of resource data which takes above 15 ~ 20 seconds for some games while successful resume just takes 1~5 second.

As perproc reclaim way with new management policy, we could reduce cold launching a lot(i.e., 171-72) so that it reduces app startup a lot.

Another useful function from this feature is to make swapout easily which is useful for testing swapout stress and workloads.

Thanks.

Cc Redmond <[email protected]>
Cc ZhaoJunmin Zhao(Junmin) <[email protected]>
Cc Vinayak Menon <[email protected]>
Cc Juneho Choi <[email protected]>
Cc Sangwoo Park <[email protected]>
Cc Chan Gyun Jeong <[email protected]>

Minchan Kim (3):
mm: vmscan: refactoring force_reclaim
mm: vmscan: shrink_page_list with multiple zones
mm: per-process reclaim

 Documentation/filesystems/proc.txt |  15 ++++
 fs/proc/base.c                     |   1 +
 fs/proc/internal.h                 |   1 +
 fs/proc/task_mmu.c                 | 149 +++++++++++++++++++++++++++++++++++++
 include/linux/rmap.h               |   4 +
 mm/vmscan.c                        |  85 ++++++++++++++++-----
 6 files changed, 235 insertions(+), 20 deletions(-)
Signature · 7 lines
1.9.1

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to [email protected].  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>