Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1411724
| From | Minchan Kim <minchan@kernel.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH v7 00/12] Support non-lru page migration |
| Date | 2016-06-02 02:40 +0200 |
| Message-ID | <rFoQ2-7j4-11@gated-at.bofh.it> (permalink) |
| References | <rF1gJ-An-3@gated-at.bofh.it> <rFmbv-5DL-19@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Wed, Jun 01, 2016 at 02:41:51PM -0700, Andrew Morton wrote: > On Wed, 1 Jun 2016 08:21:09 +0900 Minchan Kim <minchan@kernel.org> wrote: > > > Recently, I got many reports about perfermance degradation in embedded > > system(Android mobile phone, webOS TV and so on) and easy fork fail. > > > > The problem was fragmentation caused by zram and GPU driver mainly. > > With memory pressure, their pages were spread out all of pageblock and > > it cannot be migrated with current compaction algorithm which supports > > only LRU pages. In the end, compaction cannot work well so reclaimer > > shrinks all of working set pages. It made system very slow and even to > > fail to fork easily which requires order-[2 or 3] allocations. > > > > Other pain point is that they cannot use CMA memory space so when OOM > > kill happens, I can see many free pages in CMA area, which is not > > memory efficient. In our product which has big CMA memory, it reclaims > > zones too exccessively to allocate GPU and zram page although there are > > lots of free space in CMA so system becomes very slow easily. > > But this isn't presently implemented for GPU drivers or for CMA, yes? For GPU driver, Gioh implemented but it was proprietary so couldn't contribute. For CMA, [zram: use __GFP_MOVABLE for memory allocation] added __GFP_MOVABLE for zsmalloc page allocation so it can use CMA area automatically now. > > What's the story there?
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH v7 00/12] Support non-lru page migration Minchan Kim <minchan@kernel.org> - 2016-06-01 01:30 +0200
[PATCH v7 10/12] zsmalloc: use freeobj for index Minchan Kim <minchan@kernel.org> - 2016-06-01 01:30 +0200
[PATCH v7 02/12] mm: migrate: support non-lru movable page migration Minchan Kim <minchan@kernel.org> - 2016-06-01 01:30 +0200
[PATCH v7 03/12] mm: balloon: use general non-lru movable page feature Minchan Kim <minchan@kernel.org> - 2016-06-01 01:30 +0200
Re: [PATCH v7 00/12] Support non-lru page migration Andrew Morton <akpm@linux-foundation.org> - 2016-06-01 23:50 +0200
Re: [PATCH v7 00/12] Support non-lru page migration Daniel Vetter <daniel@ffwll.ch> - 2016-06-02 00:50 +0200
Re: [PATCH v7 00/12] Support non-lru page migration Minchan Kim <minchan@kernel.org> - 2016-06-02 02:40 +0200
csiph-web