Re: [PATCH] memory hotplug disable boot option

Andi Kleen
2010-06-25T09:19:17Z

KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com> writes:

>> Proposed patch to disable memory hotplug via a boot option,
>> mem_hotplug=[on|off]. The patch only disables memory hotplug in that it
>> prevents the creation of the memory sysfs directories for memory sections.
>>
>> This patch is meant to help alleviate very long boot times on systems with
>> large memory (1+ TB) and many memory sections (10's of thousands).
>
> Why making simple /sys file is so slowly? Couldn't we fix such performance
> problem?

Yes I agree this really needs to be fixed properly, not hacked around
with an option. Nathan can you please post some profile logs of the long
boot times?

-Andi

--
ak@linux.intel.com -- Speaking for myself only.