Re: [RFC v5 2/3] mm: make optimistic check for swapin readahead

2015-09-15 Thread Ebru Akagunduz
On Mon, Sep 14, 2015 at 02:33:55PM -0700, Andrew Morton wrote: > On Mon, 14 Sep 2015 22:31:44 +0300 Ebru Akagunduz > wrote: > > > This patch introduces new sysfs integer knob > > /sys/kernel/mm/transparent_hugepage/khugepaged/max_ptes_swap > > which makes optimistic check for swapin readahead to

Re: [RFC v5 2/3] mm: make optimistic check for swapin readahead

2015-09-14 Thread Andrew Morton
On Mon, 14 Sep 2015 22:31:44 +0300 Ebru Akagunduz wrote: > This patch introduces new sysfs integer knob > /sys/kernel/mm/transparent_hugepage/khugepaged/max_ptes_swap > which makes optimistic check for swapin readahead to > increase thp collapse rate. Before getting swapped > out pages to memory

Re: [RFC v5 2/3] mm: make optimistic check for swapin readahead

2015-09-14 Thread Rik van Riel
On 09/14/2015 03:31 PM, Ebru Akagunduz wrote: > This patch introduces new sysfs integer knob > /sys/kernel/mm/transparent_hugepage/khugepaged/max_ptes_swap > which makes optimistic check for swapin readahead to > increase thp collapse rate. Before getting swapped > out pages to memory, checks them

[RFC v5 2/3] mm: make optimistic check for swapin readahead

2015-09-14 Thread Ebru Akagunduz
This patch introduces new sysfs integer knob /sys/kernel/mm/transparent_hugepage/khugepaged/max_ptes_swap which makes optimistic check for swapin readahead to increase thp collapse rate. Before getting swapped out pages to memory, checks them and allows up to a certain number. It also prints out us