I have a fairly high end computer (8-core i7-6900K, Samsung SM961 1TB NVMe, 32GB RAM), but I have a very slow boot.
$ systemd-analyze
Startup finished in 21.766s (firmware) + 5.769s (loader) + 16.878s (kernel) + 3.532s (userspace) = 47.947sI'm ignoring the firmware and loader for the time being. The userspace part takes less than four seconds, which is OK, but the kernel is taking 17 seconds!
I have boot information here:
I have another similarly configured machine with another motherboard/chipset that is much faster at booting, so I suspect that the problem is with the chipset/HW, but I can not figure out what it is.
UPDATE 1: I have upgraded to Ubuntu 17.10, but the boot time is pretty much the same. Userspace is down to 2s (impressive!), but the kernel time is over 15s.
What I have noticed in the dmesg log is that there are a couple of time "jumps" around some ACPI messages:
[ 0.166049] acpi PNP0A03:03: _OSC: OS supports [ExtendedConfig ASPM ClockPM Segments MSI]
[ 2.208064] acpi PNP0A03:03: _OSC: platform does not support [PCIeHotplug]
[ 4.256069] acpi PNP0A03:03: _OSC: OS now controls [PME AER PCIeCapability]
[ 4.256070] acpi PNP0A03:03: FADT indicates ASPM is unsupported, using BIOS configuration...and:
[ 4.262024] acpi PNP0A08:00: _OSC: OS supports [ExtendedConfig ASPM ClockPM Segments MSI]
[ 6.304065] acpi PNP0A08:00: _OSC: platform does not support [PCIeHotplug]
[ 8.352073] acpi PNP0A08:00: _OSC: OS now controls [PME AER PCIeCapability]
[ 8.352074] acpi PNP0A08:00: FADT indicates ASPM is unsupported, using BIOS configurationIs ACPI configuration having something to do with the slow kernel boot time?
UPDATE 2: Adding acpi=off to the boot parameters the kernel time is reduced from 15s to 7s (of which ~4s seems to be releated to mounting EXT4-fs on my nvme drive), so ACPI is definitely a time thief (~8s).
However, I do not wish to turn off ACPI completely. Is there some other ACPI-related configuration I can try?
Reset to default