On Wed, 22 Jan 2014, Alex Thorlton wrote:
> > I would expect that the alternative solution to a per-mm switch is to
> > reserve the naturally aligned pages for a THP promotion. Have a threshold
> > of pages pages that must be faulted before the full THP's worth of pages
> > is allocated, zero'd
On Wed, Jan 22, 2014 at 10:26:21AM +, Mel Gorman wrote:
> On Tue, Jan 14, 2014 at 01:38:01PM -0600, Alex Thorlton wrote:
> > On Tue, Jan 14, 2014 at 03:44:57PM +, Mel Gorman wrote:
> > > On Fri, Jan 10, 2014 at 04:39:09PM -0600, Alex Thorlton wrote:
> > > > On Fri, Jan 10, 2014 at
On Tue, Jan 14, 2014 at 01:38:01PM -0600, Alex Thorlton wrote:
> On Tue, Jan 14, 2014 at 03:44:57PM +, Mel Gorman wrote:
> > On Fri, Jan 10, 2014 at 04:39:09PM -0600, Alex Thorlton wrote:
> > > On Fri, Jan 10, 2014 at 11:10:10PM +0100, Peter Zijlstra wrote:
> > > > We already have the
On Tue, Jan 14, 2014 at 01:38:01PM -0600, Alex Thorlton wrote:
On Tue, Jan 14, 2014 at 03:44:57PM +, Mel Gorman wrote:
On Fri, Jan 10, 2014 at 04:39:09PM -0600, Alex Thorlton wrote:
On Fri, Jan 10, 2014 at 11:10:10PM +0100, Peter Zijlstra wrote:
We already have the information to
On Wed, Jan 22, 2014 at 10:26:21AM +, Mel Gorman wrote:
On Tue, Jan 14, 2014 at 01:38:01PM -0600, Alex Thorlton wrote:
On Tue, Jan 14, 2014 at 03:44:57PM +, Mel Gorman wrote:
On Fri, Jan 10, 2014 at 04:39:09PM -0600, Alex Thorlton wrote:
On Fri, Jan 10, 2014 at 11:10:10PM +0100,
On Wed, 22 Jan 2014, Alex Thorlton wrote:
I would expect that the alternative solution to a per-mm switch is to
reserve the naturally aligned pages for a THP promotion. Have a threshold
of pages pages that must be faulted before the full THP's worth of pages
is allocated, zero'd and a
On Tue, Jan 14, 2014 at 03:44:57PM +, Mel Gorman wrote:
> On Fri, Jan 10, 2014 at 04:39:09PM -0600, Alex Thorlton wrote:
> > On Fri, Jan 10, 2014 at 11:10:10PM +0100, Peter Zijlstra wrote:
> > > We already have the information to determine if a page is shared across
> > > nodes, Mel even had
On Sat, Jan 11, 2014 at 12:23:15AM +0200, Kirill A. Shutemov wrote:
> On Fri, Jan 10, 2014 at 04:01:55PM -0600, Alex Thorlton wrote:
> > On Fri, Jan 10, 2014 at 10:23:10PM +0200, Kirill A. Shutemov wrote:
> > > Do you know what cause the difference? I prefer to fix THP instead of
> > > adding new
On Fri, Jan 10, 2014 at 04:39:09PM -0600, Alex Thorlton wrote:
> On Fri, Jan 10, 2014 at 11:10:10PM +0100, Peter Zijlstra wrote:
> > We already have the information to determine if a page is shared across
> > nodes, Mel even had some prototype code to do splits under those
> > conditions.
>
> I'm
On Fri, Jan 10, 2014 at 04:39:09PM -0600, Alex Thorlton wrote:
On Fri, Jan 10, 2014 at 11:10:10PM +0100, Peter Zijlstra wrote:
We already have the information to determine if a page is shared across
nodes, Mel even had some prototype code to do splits under those
conditions.
I'm aware
On Sat, Jan 11, 2014 at 12:23:15AM +0200, Kirill A. Shutemov wrote:
On Fri, Jan 10, 2014 at 04:01:55PM -0600, Alex Thorlton wrote:
On Fri, Jan 10, 2014 at 10:23:10PM +0200, Kirill A. Shutemov wrote:
Do you know what cause the difference? I prefer to fix THP instead of
adding new knob to
On Tue, Jan 14, 2014 at 03:44:57PM +, Mel Gorman wrote:
On Fri, Jan 10, 2014 at 04:39:09PM -0600, Alex Thorlton wrote:
On Fri, Jan 10, 2014 at 11:10:10PM +0100, Peter Zijlstra wrote:
We already have the information to determine if a page is shared across
nodes, Mel even had some
On Sun, Jan 12, 2014 at 02:56:00PM +0100, Oleg Nesterov wrote:
> On 01/11, Alex Thorlton wrote:
> >
> > On Sat, Jan 11, 2014 at 04:53:37PM +0100, Oleg Nesterov wrote:
> >
> > > I simply can't understand, this all looks like overkill. Can't you simply
> > > add
> > >
> > > #idfef
On Sun, Jan 12, 2014 at 02:56:00PM +0100, Oleg Nesterov wrote:
On 01/11, Alex Thorlton wrote:
On Sat, Jan 11, 2014 at 04:53:37PM +0100, Oleg Nesterov wrote:
I simply can't understand, this all looks like overkill. Can't you simply
add
#idfef CONFIG_TRANSPARENT_HUGEPAGE
On 01/11, Alex Thorlton wrote:
>
> On Sat, Jan 11, 2014 at 04:53:37PM +0100, Oleg Nesterov wrote:
>
> > I simply can't understand, this all looks like overkill. Can't you simply
> > add
> >
> > #idfef CONFIG_TRANSPARENT_HUGEPAGE
> > case GET:
> > error =
On 01/11, Alex Thorlton wrote:
On Sat, Jan 11, 2014 at 04:53:37PM +0100, Oleg Nesterov wrote:
I simply can't understand, this all looks like overkill. Can't you simply
add
#idfef CONFIG_TRANSPARENT_HUGEPAGE
case GET:
error = test_bit(MMF_THP_DISABLE);
On Sat, Jan 11, 2014 at 04:53:37PM +0100, Oleg Nesterov wrote:
> On 01/10, Alex Thorlton wrote:
> >
> > This patch adds an mm flag (MMF_THP_DISABLE) to disable transparent
> > hugepages using prctl. It is based on my original patch to add a
> > per-task_struct flag to disable THP:
>
> I leave
On 01/10, Kirill A. Shutemov wrote:
>
> I prefer to fix THP instead of
> adding new knob to disable it.
I agree. But if we have the per-vma MADV/VM_ flags, it looks
natural to also have the per-mm know which affects all vmas.
Besides this allows to control the thp behaviour after exec.
Oleg.
On 01/10, Alex Thorlton wrote:
>
> This patch adds an mm flag (MMF_THP_DISABLE) to disable transparent
> hugepages using prctl. It is based on my original patch to add a
> per-task_struct flag to disable THP:
I leave the "whether we need this feature" to other reviewers, although
personally I
On 01/10, Alex Thorlton wrote:
This patch adds an mm flag (MMF_THP_DISABLE) to disable transparent
hugepages using prctl. It is based on my original patch to add a
per-task_struct flag to disable THP:
I leave the whether we need this feature to other reviewers, although
personally I think it
On 01/10, Kirill A. Shutemov wrote:
I prefer to fix THP instead of
adding new knob to disable it.
I agree. But if we have the per-vma MADV/VM_ flags, it looks
natural to also have the per-mm know which affects all vmas.
Besides this allows to control the thp behaviour after exec.
Oleg.
--
On Sat, Jan 11, 2014 at 04:53:37PM +0100, Oleg Nesterov wrote:
On 01/10, Alex Thorlton wrote:
This patch adds an mm flag (MMF_THP_DISABLE) to disable transparent
hugepages using prctl. It is based on my original patch to add a
per-task_struct flag to disable THP:
I leave the whether
On Fri, Jan 10, 2014 at 11:10:10PM +0100, Peter Zijlstra wrote:
> We already have the information to determine if a page is shared across
> nodes, Mel even had some prototype code to do splits under those
> conditions.
I'm aware that we can determine if pages are shared across nodes, but I
On Fri, Jan 10, 2014 at 04:01:55PM -0600, Alex Thorlton wrote:
> On Fri, Jan 10, 2014 at 10:23:10PM +0200, Kirill A. Shutemov wrote:
> > Do you know what cause the difference? I prefer to fix THP instead of
> > adding new knob to disable it.
>
> The issue is that when you touch 1 byte of an
On Fri, Jan 10, 2014 at 04:01:55PM -0600, Alex Thorlton wrote:
> On Fri, Jan 10, 2014 at 10:23:10PM +0200, Kirill A. Shutemov wrote:
> > Do you know what cause the difference? I prefer to fix THP instead of
> > adding new knob to disable it.
>
> The issue is that when you touch 1 byte of an
On Fri, Jan 10, 2014 at 10:23:10PM +0200, Kirill A. Shutemov wrote:
> Do you know what cause the difference? I prefer to fix THP instead of
> adding new knob to disable it.
The issue is that when you touch 1 byte of an untouched, contiguous 2MB
chunk, a THP will be handed out, and the THP will be
On Fri, Jan 10, 2014 at 01:55:18PM -0600, Alex Thorlton wrote:
> This patch adds an mm flag (MMF_THP_DISABLE) to disable transparent
> hugepages using prctl. It is based on my original patch to add a
> per-task_struct flag to disable THP:
>
> v1 - https://lkml.org/lkml/2013/8/2/671
> v2 -
This patch adds an mm flag (MMF_THP_DISABLE) to disable transparent
hugepages using prctl. It is based on my original patch to add a
per-task_struct flag to disable THP:
v1 - https://lkml.org/lkml/2013/8/2/671
v2 - https://lkml.org/lkml/2013/8/2/703
After looking at alternate methods of
This patch adds an mm flag (MMF_THP_DISABLE) to disable transparent
hugepages using prctl. It is based on my original patch to add a
per-task_struct flag to disable THP:
v1 - https://lkml.org/lkml/2013/8/2/671
v2 - https://lkml.org/lkml/2013/8/2/703
After looking at alternate methods of
On Fri, Jan 10, 2014 at 01:55:18PM -0600, Alex Thorlton wrote:
This patch adds an mm flag (MMF_THP_DISABLE) to disable transparent
hugepages using prctl. It is based on my original patch to add a
per-task_struct flag to disable THP:
v1 - https://lkml.org/lkml/2013/8/2/671
v2 -
On Fri, Jan 10, 2014 at 10:23:10PM +0200, Kirill A. Shutemov wrote:
Do you know what cause the difference? I prefer to fix THP instead of
adding new knob to disable it.
The issue is that when you touch 1 byte of an untouched, contiguous 2MB
chunk, a THP will be handed out, and the THP will be
On Fri, Jan 10, 2014 at 04:01:55PM -0600, Alex Thorlton wrote:
On Fri, Jan 10, 2014 at 10:23:10PM +0200, Kirill A. Shutemov wrote:
Do you know what cause the difference? I prefer to fix THP instead of
adding new knob to disable it.
The issue is that when you touch 1 byte of an untouched,
On Fri, Jan 10, 2014 at 04:01:55PM -0600, Alex Thorlton wrote:
On Fri, Jan 10, 2014 at 10:23:10PM +0200, Kirill A. Shutemov wrote:
Do you know what cause the difference? I prefer to fix THP instead of
adding new knob to disable it.
The issue is that when you touch 1 byte of an untouched,
On Fri, Jan 10, 2014 at 11:10:10PM +0100, Peter Zijlstra wrote:
We already have the information to determine if a page is shared across
nodes, Mel even had some prototype code to do splits under those
conditions.
I'm aware that we can determine if pages are shared across nodes, but I
thought
34 matches
Mail list logo