Re: How movable is zone movable?

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Mel Gorman
Date: Tuesday, April 14, 2009 - 2:18 am

On Mon, Apr 13, 2009 at 08:10:58AM -0400, Ed Tomlinson wrote:

My recollection is fuzzy but it was mainly down to three points.

1. I could occasionally lock up the system if under enough load using
   page migration. I didn't have a reliable reproduction case to pin down
   whether it was something in page migration or something wrong with the
   way I was using it. There have been fixes in page migration since though
   so it's possible that got fixed along the way.

2. At the time, memory partitioning and anti-fragmentation were not long in
   mainline and dynamic hugepage pool resizing was very new. It was not clear
   there were going to be users of dynamic hugepage pool resizing that would
   need memory compaction as well. I was reasonasbly confident but that's
   not users.

3. There were significant problems in hugetlbfs that needed fixing up
   such as the reliability of MAP_PRIVATE. It was more important to chase
   down the stuff people certainly needed than complete features that they
   might need.

The patches weren't downright rejected as such but I didn't push hard as there
were almost zero users of dynamic hugepage pool resizing to be complaining
about mlock(). Improving hugetlbfs was more important and of obvious benefit
and I reckoned I'd wait and see who complained about mlock.

This has changed now. hugetlbfs is in way better state than it was and it
sounds like KVM is a user that is both interested in using dynamic pool
resizing and has mlocked pages. How much demand is there do you think?

There is someone currently working on helping the pool resizing from userspace
by temporarily adding a swap device during pool resize that will take a
while to complete. The plan was that they would revisit memory compaction
based on the prototype patches I did ages ago later in the year but maybe
that can be pushed along a bit harder if there was enough interest.

-- 
Mel Gorman
Part-time Phd Student                          Linux Technology Center
University of Limerick                         IBM Dublin Software Lab
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
How movable is zone movable?, Ed Tomlinson, (Sun Apr 12, 8:29 am)
Re: How movable is zone movable?, KAMEZAWA Hiroyuki, (Sun Apr 12, 6:04 pm)
Re: How movable is zone movable?, Mel Gorman, (Mon Apr 13, 2:59 am)
Re: How movable is zone movable?, Mel Gorman, (Mon Apr 13, 3:04 am)
Re: How movable is zone movable?, Ed Tomlinson, (Mon Apr 13, 5:10 am)
Re: How movable is zone movable?, Mel Gorman, (Tue Apr 14, 2:18 am)