All of lore.kernel.org
 help / color / mirror / Atom feed
* [LSF/MM TOPIC][ATTEND] a few topics I'd like to discuss
@ 2013-02-17  6:44 KOSAKI Motohiro
  2013-02-17  7:28 ` Will Huck
  2013-02-18 14:50 ` [Lsf-pc] " Mel Gorman
  0 siblings, 2 replies; 8+ messages in thread
From: KOSAKI Motohiro @ 2013-02-17  6:44 UTC (permalink / raw)
  To: lsf-pc, linux-mm

Sorry for the delay.

I would like to discuss the following topics:



* Hugepage migration – Currently, hugepage is not migratable and can’t
use pages in ZONE_MOVABLE.  It is not happy from point of CMA/hotplug
view.

* Remove ZONE_MOVABLE –Very long term goal. Maybe not suitable in this year.

* Mempolicy rebinding rework – current mempolicy rebinding has a lot
of limitations.

  - no rebinding when hotplug

  - no rebinding when using shm memplicy

  - broken argument check when MPOL_DEFAULT

* Rework shared mempolicy – shared mempolicy don’t work correctly when
attached from multiple processes. However shmem exist for inter
process  communication.

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [LSF/MM TOPIC][ATTEND] a few topics I'd like to discuss
  2013-02-17  6:44 [LSF/MM TOPIC][ATTEND] a few topics I'd like to discuss KOSAKI Motohiro
@ 2013-02-17  7:28 ` Will Huck
  2013-02-18 14:50 ` [Lsf-pc] " Mel Gorman
  1 sibling, 0 replies; 8+ messages in thread
From: Will Huck @ 2013-02-17  7:28 UTC (permalink / raw)
  To: KOSAKI Motohiro; +Cc: lsf-pc, linux-mm

On 02/17/2013 02:44 PM, KOSAKI Motohiro wrote:
> Sorry for the delay.
>
> I would like to discuss the following topics:
>
>
>
> * Hugepage migration ? Currently, hugepage is not migratable and can?t
> use pages in ZONE_MOVABLE.  It is not happy from point of CMA/hotplug
> view.

Why CMA not happy? unmovable pages can't alloc from CMA range.

>
> * Remove ZONE_MOVABLE ?Very long term goal. Maybe not suitable in this year.
>
> * Mempolicy rebinding rework ? current mempolicy rebinding has a lot
> of limitations.
>
>    - no rebinding when hotplug
>
>    - no rebinding when using shm memplicy
>
>    - broken argument check when MPOL_DEFAULT
>
> * Rework shared mempolicy ? shared mempolicy don?t work correctly when
> attached from multiple processes. However shmem exist for inter
> process  communication.
>
> --
> To unsubscribe, send a message with 'unsubscribe linux-mm' in
> the body to majordomo@kvack.org.  For more info on Linux MM,
> see: http://www.linux-mm.org/ .
> Don't email: <a href=ilto:"dont@kvack.org"> email@kvack.org </a>

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [Lsf-pc] [LSF/MM TOPIC][ATTEND] a few topics I'd like to discuss
  2013-02-17  6:44 [LSF/MM TOPIC][ATTEND] a few topics I'd like to discuss KOSAKI Motohiro
  2013-02-17  7:28 ` Will Huck
@ 2013-02-18 14:50 ` Mel Gorman
  2013-02-19  2:51   ` KOSAKI Motohiro
  2013-02-20 11:03   ` Simon Jeons
  1 sibling, 2 replies; 8+ messages in thread
From: Mel Gorman @ 2013-02-18 14:50 UTC (permalink / raw)
  To: KOSAKI Motohiro; +Cc: lsf-pc, linux-mm

On Sun, Feb 17, 2013 at 01:44:33AM -0500, KOSAKI Motohiro wrote:
> Sorry for the delay.
> 
> I would like to discuss the following topics:
> 
> 
> 
> * Hugepage migration ? Currently, hugepage is not migratable and can?t
> use pages in ZONE_MOVABLE.  It is not happy from point of CMA/hotplug
> view.
> 

migrate_huge_page() ?

It's also possible to allocate hugetlbfs pages in ZONE_MOVABLE but must
be enabled via /proc/sys/vm/hugepages_treat_as_movable.

> * Remove ZONE_MOVABLE ?Very long term goal. Maybe not suitable in this year.
> 

Whatever about removing it totally I would like to see node memory hot-remove
not depending on ZONE_MOVABLE.

-- 
Mel Gorman
SUSE Labs

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [Lsf-pc] [LSF/MM TOPIC][ATTEND] a few topics I'd like to discuss
  2013-02-18 14:50 ` [Lsf-pc] " Mel Gorman
@ 2013-02-19  2:51   ` KOSAKI Motohiro
  2013-02-19 11:30     ` Mel Gorman
  2013-02-20 11:03   ` Simon Jeons
  1 sibling, 1 reply; 8+ messages in thread
From: KOSAKI Motohiro @ 2013-02-19  2:51 UTC (permalink / raw)
  To: Mel Gorman; +Cc: KOSAKI Motohiro, lsf-pc, linux-mm

>> * Hugepage migration ? Currently, hugepage is not migratable and can?t
>> use pages in ZONE_MOVABLE.  It is not happy from point of CMA/hotplug
>> view.
>>
> 
> migrate_huge_page() ?
> 
> It's also possible to allocate hugetlbfs pages in ZONE_MOVABLE but must
> be enabled via /proc/sys/vm/hugepages_treat_as_movable.

Oops. I missed that. Sorry for noise.

But but... I wonder why this knob is disabled by default. I don't think anybody
get a benefit form current default.


>> * Remove ZONE_MOVABLE ?Very long term goal. Maybe not suitable in this year.
> 
> Whatever about removing it totally I would like to see node memory hot-remove
> not depending on ZONE_MOVABLE.

Yup. I also think so. the first target is page table and icache/dcache because they
use a lot of memory. second step is to implement slab migration callback likes shrinker_slab. etc.
it is very long term story.

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [Lsf-pc] [LSF/MM TOPIC][ATTEND] a few topics I'd like to discuss
  2013-02-19  2:51   ` KOSAKI Motohiro
@ 2013-02-19 11:30     ` Mel Gorman
  2013-02-19 21:44       ` KOSAKI Motohiro
  0 siblings, 1 reply; 8+ messages in thread
From: Mel Gorman @ 2013-02-19 11:30 UTC (permalink / raw)
  To: KOSAKI Motohiro; +Cc: lsf-pc, linux-mm

On Mon, Feb 18, 2013 at 09:51:44PM -0500, KOSAKI Motohiro wrote:
> >> * Hugepage migration ? Currently, hugepage is not migratable and can?t
> >> use pages in ZONE_MOVABLE.  It is not happy from point of CMA/hotplug
> >> view.
> >>
> > 
> > migrate_huge_page() ?
> > 
> > It's also possible to allocate hugetlbfs pages in ZONE_MOVABLE but must
> > be enabled via /proc/sys/vm/hugepages_treat_as_movable.
> 
> Oops. I missed that. Sorry for noise.
> 
> But but... I wonder why this knob is disabled by default. I don't think anybody
> get a benefit form current default.
> 

It's disabled by default simply because at the time the pages were not
movable at all. They now should be movable with some additional work and
potentially the default could change after that or be removed entirely.

-- 
Mel Gorman
SUSE Labs

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [Lsf-pc] [LSF/MM TOPIC][ATTEND] a few topics I'd like to discuss
  2013-02-19 11:30     ` Mel Gorman
@ 2013-02-19 21:44       ` KOSAKI Motohiro
  0 siblings, 0 replies; 8+ messages in thread
From: KOSAKI Motohiro @ 2013-02-19 21:44 UTC (permalink / raw)
  To: Mel Gorman; +Cc: lsf-pc, linux-mm

> It's disabled by default simply because at the time the pages were not
> movable at all. They now should be movable with some additional work and
> potentially the default could change after that or be removed entirely.

Got it. I also found several corner case in current code and I'm
interesting to fix it.
Thank you!

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [Lsf-pc] [LSF/MM TOPIC][ATTEND] a few topics I'd like to discuss
  2013-02-18 14:50 ` [Lsf-pc] " Mel Gorman
  2013-02-19  2:51   ` KOSAKI Motohiro
@ 2013-02-20 11:03   ` Simon Jeons
  2013-02-23  3:02     ` KOSAKI Motohiro
  1 sibling, 1 reply; 8+ messages in thread
From: Simon Jeons @ 2013-02-20 11:03 UTC (permalink / raw)
  To: Mel Gorman; +Cc: KOSAKI Motohiro, lsf-pc, linux-mm

On 02/18/2013 10:50 PM, Mel Gorman wrote:
> On Sun, Feb 17, 2013 at 01:44:33AM -0500, KOSAKI Motohiro wrote:
>> Sorry for the delay.
>>
>> I would like to discuss the following topics:
>>
>>
>>
>> * Hugepage migration ? Currently, hugepage is not migratable and can?t
>> use pages in ZONE_MOVABLE.  It is not happy from point of CMA/hotplug
>> view.
>>
> migrate_huge_page() ?

It seems that migrate_huge_page just called in memory failure path, why 
can't support in memory hotplug path?

>
> It's also possible to allocate hugetlbfs pages in ZONE_MOVABLE but must
> be enabled via /proc/sys/vm/hugepages_treat_as_movable.
>
>> * Remove ZONE_MOVABLE ?Very long term goal. Maybe not suitable in this year.
>>
> Whatever about removing it totally I would like to see node memory hot-remove
> not depending on ZONE_MOVABLE.
>

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [Lsf-pc] [LSF/MM TOPIC][ATTEND] a few topics I'd like to discuss
  2013-02-20 11:03   ` Simon Jeons
@ 2013-02-23  3:02     ` KOSAKI Motohiro
  0 siblings, 0 replies; 8+ messages in thread
From: KOSAKI Motohiro @ 2013-02-23  3:02 UTC (permalink / raw)
  To: Simon Jeons; +Cc: Mel Gorman, lsf-pc, linux-mm

On Wed, Feb 20, 2013 at 6:03 AM, Simon Jeons <simon.jeons@gmail.com> wrote:
> On 02/18/2013 10:50 PM, Mel Gorman wrote:
>>
>> On Sun, Feb 17, 2013 at 01:44:33AM -0500, KOSAKI Motohiro wrote:
>>>
>>> Sorry for the delay.
>>>
>>> I would like to discuss the following topics:
>>>
>>>
>>>
>>> * Hugepage migration ? Currently, hugepage is not migratable and can?t
>>> use pages in ZONE_MOVABLE.  It is not happy from point of CMA/hotplug
>>> view.
>>>
>> migrate_huge_page() ?
>
>
> It seems that migrate_huge_page just called in memory failure path, why
> can't support in memory hotplug path?

No big reason.
Now, horiguchi-san is developing this feature.

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2013-02-23  3:02 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-02-17  6:44 [LSF/MM TOPIC][ATTEND] a few topics I'd like to discuss KOSAKI Motohiro
2013-02-17  7:28 ` Will Huck
2013-02-18 14:50 ` [Lsf-pc] " Mel Gorman
2013-02-19  2:51   ` KOSAKI Motohiro
2013-02-19 11:30     ` Mel Gorman
2013-02-19 21:44       ` KOSAKI Motohiro
2013-02-20 11:03   ` Simon Jeons
2013-02-23  3:02     ` KOSAKI Motohiro

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.