Re: [RFC] memory_hotplug: Free pages as pageblock_order

2018-09-18 Thread Arun KS
On 2018-09-14 14:40, Michal Hocko wrote: On Wed 12-09-18 20:12:30, Arun KS wrote: On 2018-09-12 18:47, Michal Hocko wrote: > On Wed 12-09-18 22:57:43, Balbir Singh wrote: > > On Wed, Sep 12, 2018 at 12:38:53PM +0200, Michal Hocko wrote: > > > On Wed 12-09-18 14:56:45, Arun KS wrote: > > > > When

Re: [RFC] memory_hotplug: Free pages as pageblock_order

2018-09-14 Thread Michal Hocko
On Wed 12-09-18 20:12:30, Arun KS wrote: > On 2018-09-12 18:47, Michal Hocko wrote: > > On Wed 12-09-18 22:57:43, Balbir Singh wrote: > > > On Wed, Sep 12, 2018 at 12:38:53PM +0200, Michal Hocko wrote: > > > > On Wed 12-09-18 14:56:45, Arun KS wrote: > > > > > When free pages are done with pagebloc

Re: [RFC] memory_hotplug: Free pages as pageblock_order

2018-09-12 Thread Arun KS
On 2018-09-12 18:47, Michal Hocko wrote: On Wed 12-09-18 22:57:43, Balbir Singh wrote: On Wed, Sep 12, 2018 at 12:38:53PM +0200, Michal Hocko wrote: > On Wed 12-09-18 14:56:45, Arun KS wrote: > > When free pages are done with pageblock_order, time spend on > > coalescing pages by buddy allocator

Re: [RFC] memory_hotplug: Free pages as pageblock_order

2018-09-12 Thread Arun KS
Hello Michal and Balbir, Thanks for reviewing. On 2018-09-12 18:27, Balbir Singh wrote: On Wed, Sep 12, 2018 at 12:38:53PM +0200, Michal Hocko wrote: On Wed 12-09-18 14:56:45, Arun KS wrote: > When free pages are done with pageblock_order, time spend on > coalescing pages by buddy allocator ca

Re: [RFC] memory_hotplug: Free pages as pageblock_order

2018-09-12 Thread Michal Hocko
On Wed 12-09-18 22:57:43, Balbir Singh wrote: > On Wed, Sep 12, 2018 at 12:38:53PM +0200, Michal Hocko wrote: > > On Wed 12-09-18 14:56:45, Arun KS wrote: > > > When free pages are done with pageblock_order, time spend on > > > coalescing pages by buddy allocator can be reduced. With > > > section

Re: [RFC] memory_hotplug: Free pages as pageblock_order

2018-09-12 Thread Balbir Singh
On Wed, Sep 12, 2018 at 12:38:53PM +0200, Michal Hocko wrote: > On Wed 12-09-18 14:56:45, Arun KS wrote: > > When free pages are done with pageblock_order, time spend on > > coalescing pages by buddy allocator can be reduced. With > > section size of 256MB, hot add latency of a single section > > s

Re: [RFC] memory_hotplug: Free pages as pageblock_order

2018-09-12 Thread Michal Hocko
On Wed 12-09-18 14:56:45, Arun KS wrote: > When free pages are done with pageblock_order, time spend on > coalescing pages by buddy allocator can be reduced. With > section size of 256MB, hot add latency of a single section > shows improvement from 50-60 ms to less than 1 ms, hence > improving the

[RFC] memory_hotplug: Free pages as pageblock_order

2018-09-12 Thread Arun KS
When free pages are done with pageblock_order, time spend on coalescing pages by buddy allocator can be reduced. With section size of 256MB, hot add latency of a single section shows improvement from 50-60 ms to less than 1 ms, hence improving the hot add latency by 60%. If this looks okey, I'll m