Re: [PATCH RFC] hotplug-memory: refactor online_pages to separate zone growth from page onlining

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Yasunori Goto
Date: Tuesday, April 1, 2008 - 12:17 am

> Dave Hansen wrote:

Not only to avoid fragmentation, but also for notification
to user level for preparing memory add event.
When memory is added, there is a notification via udev for each memory
device.
In our box, one node which includes some DIMMs and CPUs can be added by
hot-add, and there is another notification for 1 node by ACPI's
container device.
After user level check for preparing, user(or shell script) can
online memory.

IIRC, some of user level application would require this notification.
ex) resource manager over physical/logical partitioning.


Basically, I hope there is no change for user level interface between
physical hotplug and Xen as much as possible. 
So, I would like to make sense why memory is added "on-demand" on Xen.
I thought the hypervisor gathers a section's memory and moves all of them
from one guest to another at a time. Its gathering time may be long time.
But, each per page moving may cause of fragmentation, if my understanding
is correct....



I don't make sense both your idea yet. Could you tell me more?
One of them may be same to my understanding. But I'm not sure.


Thanks.

-- 
Yasunori Goto 


--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH RFC] hotplug-memory: refactor online_pages to separ ..., Jeremy Fitzhardinge, (Fri Mar 28, 5:00 pm)
Re: [PATCH RFC] hotplug-memory: refactor online_pages to s ..., Jeremy Fitzhardinge, (Fri Mar 28, 7:08 pm)
Re: [PATCH RFC] hotplug-memory: refactor online_pages to s ..., KAMEZAWA Hiroyuki, (Fri Mar 28, 9:38 pm)
Re: [PATCH RFC] hotplug-memory: refactor online_pages to s ..., Jeremy Fitzhardinge, (Fri Mar 28, 10:48 pm)
Re: [PATCH RFC] hotplug-memory: refactor online_pages to s ..., KAMEZAWA Hiroyuki, (Fri Mar 28, 11:26 pm)
Re: [PATCH RFC] hotplug-memory: refactor online_pages to s ..., Jeremy Fitzhardinge, (Sat Mar 29, 4:53 pm)
Re: [PATCH RFC] hotplug-memory: refactor online_pages to s ..., Jeremy Fitzhardinge, (Mon Mar 31, 11:06 am)
Re: [PATCH RFC] hotplug-memory: refactor online_pages to s ..., Yasunori Goto, (Tue Apr 1, 12:17 am)
Re: [PATCH RFC] hotplug-memory: refactor online_pages to s ..., Jeremy Fitzhardinge, (Wed Apr 2, 11:52 am)
Re: [PATCH RFC] hotplug-memory: refactor online_pages to s ..., Jeremy Fitzhardinge, (Wed Apr 2, 2:03 pm)
Re: [PATCH RFC] hotplug-memory: refactor online_pages to s ..., Jeremy Fitzhardinge, (Wed Apr 2, 2:35 pm)
Re: [PATCH RFC] hotplug-memory: refactor online_pages to s ..., Jeremy Fitzhardinge, (Wed Apr 2, 3:13 pm)
Re: [PATCH RFC] hotplug-memory: refactor online_pages to s ..., KAMEZAWA Hiroyuki, (Thu Apr 3, 12:03 am)