linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* 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?
@ 2020-02-01 17:52 Toralf Förster
  2020-03-30  2:55 ` Randy Dunlap
  0 siblings, 1 reply; 5+ messages in thread
From: Toralf Förster @ 2020-02-01 17:52 UTC (permalink / raw)
  To: Linux Kernel

I do wonder (and I'm surprised) about increased boot speed according to dmesg for thi9s hardend Gentoo Linux system:
Linux mr-fox 5.5.1 #1 SMP Sat Feb 1 18:25:21 CET 2020 x86_64 Intel(R) Xeon(R) CPU E5-1650 v3 @ 3.50GHz GenuineIntel GNU/Linux

Under 5.4.17 I do have usually 14 sec to wait:

[    0.497171] mem auto-init: stack:byref_all, heap alloc:on, heap free:on
[    0.497171] mem auto-init: clearing system memory may take some time...
[    0.501549] Calgary: detecting Calgary via BIOS EBDA area
[    0.501550] Calgary: Unable to locate Rio Grande table in EBDA - bailing!
[   14.083235] Memory: 131812972K/134101088K available (12291K kernel code, 1400K rwdata, 1912K rodata, 1272K init, 2040K bss, 2288116K reserved, 0K cma-reserved)
[   14.083342] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=12, Nodes=1
[   14.083350] Kernel/User page tables isolation: enabled
[   14.083403] rcu: Hierarchical RCU implementation.
[   14.083404] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
[   14.083414] NR_IRQS: 4352, nr_irqs: 928, preallocated irqs: 16

but with 5.5.1 there's no wait?:

[    0.000000] mem auto-init: stack:byref_all, heap alloc:on, heap free:on
[    0.000000] mem auto-init: clearing system memory may take some time...
[    0.000000] Memory: 131812876K/134101088K available (12291K kernel code, 1412K rwdata, 1936K rodata, 1260K init, 2012K bss, 2288212K reserved, 0K cma-reserved)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=12, Nodes=1
[    0.000000] Kernel/User page tables isolation: enabled
[    0.000000] rcu: Hierarchical RCU implementation.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
[    0.000000] NR_IRQS: 4352, nr_irqs: 928, preallocated irqs: 16
[    0.000000] random: get_random_bytes called from start_kernel+0x4a8/0x659 with crng_init=0

Do I miss something? (The kernel config was derived via "make oldconfig").

--
Toralf

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2020-04-03  1:33 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-02-01 17:52 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? 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 is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).