lkml.org 
[lkml]   [2013]   [Jun]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [RFC 2/2] x86_64, mm: Reinsert the absent memory


On 6/25/2013 12:38 AM, Ingo Molnar wrote:
>
> * Nathan Zimmer <nzimmer@sgi.com> wrote:
>
>> On Sun, Jun 23, 2013 at 11:28:40AM +0200, Ingo Molnar wrote:
>>>
>>> That's 4.5 GB/sec initialization speed - that feels a bit slow and the
>>> boot time effect should be felt on smaller 'a couple of gigabytes'
>>> desktop boxes as well. Do we know exactly where the 2 hours of boot
>>> time on a 32 TB system is spent?
>>
>> There are other several spots that could be improved on a large system
>> but memory initialization is by far the biggest.
>
> My feeling is that deferred/on-demand initialization triggered from the
> buddy allocator is the better long term solution.

I haven't caught up with all of Nathan's changes yet (just
got back from vacation), but there was an option to either
start the memory insertion on boot, or trigger it later
using the /sys/.../memory interface. There is also a monitor
program that calculates the memory insertion rate. This was
extremely useful to determine how changes in the kernel
affected the rate.

>
> That will also make it much easier to profile/test memory init
> performance: boot up a large system and run a simple testprogram that
> allocates a lot of RAM.
>
> ( It will also make people want to optimize the initialization sequence
> better, as it will be part of any freshly booted system's memory
> allocation overhead. )
>
> Thanks,
>
> Ingo
>


\
 
 \ /
  Last update: 2013-06-25 19:41    [W:0.419 / U:0.044 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site