Re: [PATCH v2] mm/slub: don't wait for high-order page allocation

2015-08-12 Thread David Rientjes
On Fri, 7 Aug 2015, Joonsoo Kim wrote: > Almost description is copied from commit fb05e7a89f50 > ("net: don't wait for order-3 page allocation"). > > I saw excessive direct memory reclaim/compaction triggered by slub. > This causes performance issues and add latency. Slub uses high-order > alloca

Re: [PATCH v2] mm/slub: don't wait for high-order page allocation

2015-08-10 Thread Michal Hocko
On Mon 10-08-15 09:40:22, Joonsoo Kim wrote: > On Fri, Aug 07, 2015 at 05:05:01PM +0200, Michal Hocko wrote: > > On Fri 07-08-15 11:10:03, Joonsoo Kim wrote: > > [...] > > > diff --git a/mm/slub.c b/mm/slub.c > > > index 257283f..52b9025 100644 > > > --- a/mm/slub.c > > > +++ b/mm/slub.c > > > @@ -

Re: [PATCH v2] mm/slub: don't wait for high-order page allocation

2015-08-09 Thread Joonsoo Kim
On Fri, Aug 07, 2015 at 05:05:01PM +0200, Michal Hocko wrote: > On Fri 07-08-15 11:10:03, Joonsoo Kim wrote: > [...] > > diff --git a/mm/slub.c b/mm/slub.c > > index 257283f..52b9025 100644 > > --- a/mm/slub.c > > +++ b/mm/slub.c > > @@ -1364,6 +1364,8 @@ static struct page *allocate_slab(struct km

Re: [PATCH v2] mm/slub: don't wait for high-order page allocation

2015-08-07 Thread Michal Hocko
On Fri 07-08-15 11:10:03, Joonsoo Kim wrote: [...] > diff --git a/mm/slub.c b/mm/slub.c > index 257283f..52b9025 100644 > --- a/mm/slub.c > +++ b/mm/slub.c > @@ -1364,6 +1364,8 @@ static struct page *allocate_slab(struct kmem_cache *s, > gfp_t flags, int node) >* so we fall-back to the min

[PATCH v2] mm/slub: don't wait for high-order page allocation

2015-08-06 Thread Joonsoo Kim
Almost description is copied from commit fb05e7a89f50 ("net: don't wait for order-3 page allocation"). I saw excessive direct memory reclaim/compaction triggered by slub. This causes performance issues and add latency. Slub uses high-order allocation to reduce internal fragmentation and management