RE: [2/8,v3] NUMA Hotplug Emulator: infrastructure of NUMA hotplug emulation

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Li, Haicheng
Date: Sunday, November 21, 2010 - 8:14 am

David Rientjes wrote:

Sorry for the late response as I'm in a biz trip recently.

David, your original concern is just about powerful/flexibility. I'm sure our implementation can better meets such requirments.

IMHO, I don't see any powerful/flexibility from your patch, compared to our original implementation. you just make things more complex and mess.

Why not use "numa=hide=N*size" as originally implemented?
- later you just need to online the node once you want. And it naturally/exactly emulates the behavior that current HW provides.
- N is the possible node number. And we can use 128M as the default size for each hidden node if user doesn't specify a size.
- If user wants more mem for hidden node, he just needs specify the "size".
- besides, user can also use "mem=" to hide more mem and later use mem-add i/f to freely attach more mem to the hidden node during runtime.

Your patch introduces additional dependency on "mem=", but ours is simple and flexibly compatible with "mem=" and "numa=emu". 


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

Messages in current thread:
[8/8,v3] NUMA Hotplug Emulator: documentation, shaohui.zheng, (Tue Nov 16, 7:08 pm)
Re: [8/8,v3] NUMA Hotplug Emulator: documentation, Randy Dunlap, (Wed Nov 17, 4:06 pm)
Re: [8/8,v3] NUMA Hotplug Emulator: documentation, Shaohui Zheng, (Wed Nov 17, 7:31 pm)
[patch 1/2] x86: add numa=possible command line option, David Rientjes, (Sat Nov 20, 7:28 pm)
[patch 2/2] mm: add node hotplug emulation, David Rientjes, (Sat Nov 20, 7:28 pm)
Re: [8/8,v3] NUMA Hotplug Emulator: documentation, Américo Wang, (Sun Nov 21, 8:03 am)
RE: [2/8,v3] NUMA Hotplug Emulator: infrastructure of NUMA ..., Li, Haicheng, (Sun Nov 21, 8:14 am)
RE: [8/8,v3] NUMA Hotplug Emulator: documentation, Li, Haicheng, (Sun Nov 21, 8:16 am)
Re: [patch 2/2] mm: add node hotplug emulation, Greg KH, (Sun Nov 21, 10:34 am)
Re: [patch 1/2] x86: add numa=possible command line option, David Rientjes, (Sun Nov 21, 2:46 pm)
Re: [patch 2/2] mm: add node hotplug emulation, David Rientjes, (Sun Nov 21, 2:48 pm)
[patch 2/2 v2] mm: add node hotplug emulation, David Rientjes, (Sun Nov 21, 4:08 pm)
Re: [8/8,v3] NUMA Hotplug Emulator: documentation, Shaohui Zheng, (Sun Nov 21, 4:33 pm)
Re: [8/8,v3] NUMA Hotplug Emulator: documentation, Américo Wang, (Mon Nov 22, 9:04 am)
Re: [8/8,v3] NUMA Hotplug Emulator: documentation, Shaohui Zheng, (Mon Nov 22, 4:23 pm)
Re: [patch 2/2 v2] mm: add node hotplug emulation, David Rientjes, (Sat Nov 27, 6:52 pm)
Re: [patch 2/2 v2] mm: add node hotplug emulation, Greg KH, (Sat Nov 27, 10:17 pm)
Re: [patch 2/2 v2] mm: add node hotplug emulation, David Rientjes, (Mon Nov 29, 5:04 pm)