Re: [1/7,v8] NUMA Hotplug Emulator: documentation

From: Eric B Munson
Date: Wed Dec 08 2010 - 13:16:55 EST


Shaohui,

I was able to online a cpu to node 0 successfully. My problem was that I did
not take the cpu offline before I released it. Everything looks to be working
for me.

Thanks for your help,
Eric
On Wed, 08 Dec 2010, Shaohui Zheng wrote:

> On Tue, Dec 07, 2010 at 11:24:20AM -0700, Eric B Munson wrote:
> > Shaohui,
> >
> > The documentation patch seems to be stale, it needs to be updated to match the
> > new file names.
> >
> Eric,
> the major change on the patchset is on the interface, for the v8 emulator,
> we accept David's per-node debugfs add_memory interface, we already included
> in the documentation patch. the change is very small, so it is not obvious.
>
> This is the change on the documentation compare with v7:
> +3) Memory hotplug emulation:
> +
> +The emulator reserves memory before OS boots, the reserved memory region is
> +removed from e820 table. Each online node has an add_memory interface, and
> +memory can be hot-added via the per-ndoe add_memory debugfs interface.
> +
> +The difficulty of Memory Release is well-known, we have no plan for it until
> +now.
> +
> + - reserve memory thru a kernel boot paramter
> + mem=1024m
> +
> + - add a memory section to node 3
> + # echo 0x40000000 > mem_hotplug/node3/add_memory
> + OR
> + # echo 1024m > mem_hotplug/node3/add_memory
> +
>
> --
> Thanks & Regards,
> Shaohui
>

Attachment: signature.asc
Description: Digital signature