Re: [RFC PATCH v5 04/16] slub: Slab defrag core

2019-05-20 Thread Roman Gushchin
On Tue, May 21, 2019 at 11:15:25AM +1000, Tobin C. Harding wrote: > On Tue, May 21, 2019 at 12:51:57AM +, Roman Gushchin wrote: > > On Mon, May 20, 2019 at 03:40:05PM +1000, Tobin C. Harding wrote: > > > Internal fragmentation can occur within pages used by the slub > > > allocator. Under some

Re: [RFC PATCH v5 04/16] slub: Slab defrag core

2019-05-20 Thread Tobin C. Harding
On Tue, May 21, 2019 at 12:51:57AM +, Roman Gushchin wrote: > On Mon, May 20, 2019 at 03:40:05PM +1000, Tobin C. Harding wrote: > > Internal fragmentation can occur within pages used by the slub > > allocator. Under some workloads large numbers of pages can be used by > > partial slab pages.

Re: [RFC PATCH v5 04/16] slub: Slab defrag core

2019-05-20 Thread Roman Gushchin
On Mon, May 20, 2019 at 03:40:05PM +1000, Tobin C. Harding wrote: > Internal fragmentation can occur within pages used by the slub > allocator. Under some workloads large numbers of pages can be used by > partial slab pages. This under-utilisation is bad simply because it > wastes memory but also

[RFC PATCH v5 04/16] slub: Slab defrag core

2019-05-19 Thread Tobin C. Harding
Internal fragmentation can occur within pages used by the slub allocator. Under some workloads large numbers of pages can be used by partial slab pages. This under-utilisation is bad simply because it wastes memory but also because if the system is under memory pressure higher order allocations m