mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Randy Dunlap <rdunlap@infradead.org>
To: "Toralf Förster" <toralf.foerster@gmx.de>,
	"Linux Kernel" <linux-kernel@vger.kernel.org>
Subject: Re: why does "mem auto-init: clearing system memory may take some time..." takes about 14 sec under 5.4.17 but only few msec under 5.5.1?
Date: Thu, 2 Apr 2020 18:33:24 -0700	[thread overview]
Message-ID: <011e98b7-e73d-99e3-d0e7-5b68f89636bf@infradead.org> (raw)
In-Reply-To: <5f7c4aac-2b6c-3dc3-cf4d-ee6c19d0d959@gmx.de>

On 3/30/20 2:12 AM, Toralf Förster wrote:
> On 3/30/20 4:55 AM, Randy Dunlap wrote:
>> Hi > Toralf,
>>
>> Curious/odd.
>>
>> Do you have the kernel .config files for 5.4.17 and 5.5.1?
>> Looks like it would have to be a config difference AFAICT.
> 
> Sry,
> 
> attached the wrong configs at my previous mail. Here are 2 configs from the affected server attached.

Hi Toralf,

There's not much difference in the kernel config files, although
the one for 5.5.8 does have CONFIG_DEBUG_KERNEL=y while it's not set
in 5.4.17.

I built both kernels and booted them. I don't see a big time difference
like you reported.  Here's what I get:

5.4.17:

[    0.112274] mem auto-init: stack:off, heap alloc:on, heap free:on
[    0.112275] mem auto-init: clearing system memory may take some time...
[    0.621019] Memory: 3935312K/4095412K available (10243K kernel code, 1427K rwdata, 1924K rodata, 968K init, 768K bss, 160100K reserved, 0K cma-reserved)

and 5.5.8:

[    0.114455] mem auto-init: stack:off, heap alloc:on, heap free:on
[    0.114456] mem auto-init: clearing system memory may take some time...
[    0.622989] Memory: 3933200K/4095412K available (12291K kernel code, 1438K rwdata, 1952K rodata, 964K init, 708K bss, 162212K reserved, 0K cma-reserved)

but then a lot of the timestamps in your 5.5.8 log are 0.

-- 
~Randy


      reply	other threads:[~2020-04-03  1:33 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-02-01 17:52 Toralf Förster
2020-03-30  2:55 ` Randy Dunlap
2020-03-30  7:12   ` Toralf Förster
2020-03-30  9:12   ` Toralf Förster
2020-04-03  1:33     ` Randy Dunlap [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=011e98b7-e73d-99e3-d0e7-5b68f89636bf@infradead.org \
    --to=rdunlap@infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=toralf.foerster@gmx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®