https://bugzilla.kernel.org/show_bug.cgi?id=153511

            Bug ID: 153511
           Summary: Much longer boot compared to kernel 4.4 and 4.6
           Product: ACPI
           Version: 2.5
    Kernel Version: 4.7
          Hardware: All
                OS: Linux
              Tree: Mainline
            Status: NEW
          Severity: normal
          Priority: P1
         Component: EC
          Assignee: [email protected]
          Reporter: [email protected]
        Regression: No

Created attachment 229601
  --> https://bugzilla.kernel.org/attachment.cgi?id=229601&action=edit
side by side dmesg comparision where biggest early discrepancies occur

Arch Linux recently rolled out 4.7.0, and I noticed my boot time increase
dramatically. The lag/pause occurs just after selecting the desired kernel from
my syslinux menu, and before it changes the modeline resolution and prompts for
my cryptsetup root password.

I installed the linux-lts package for Arch (4.4.16) and compared the dmesg
outputs, though the speed change was noticed from the last version of 4.6. It
was more convenient to try 4.4 since there's a package for it (just want to
rule out that it existed in 4.6). I've attached a file showing the three major
discrepancies I see. Here's some quick comparisons for reference:

### kernel 4.4.16
$ systemd-analyze
Startup finished in 4.683s (kernel) + 7.625s (initrd) + 1.084s (userspace) =
13.393s

### kernel 4.7.0
$ systemd-analyze
Startup finished in 10.746s (kernel) + 10.518s (initrd) + 4.060s (userspace) =
25.325s


Biggest differences happen during these chunks of the boot process, both
involving ACPI : EC. The first accounts for a ~1sec difference:

### kernel 4.4.16
[    0.279066] ACPI : EC: EC started
[    4.418531] ACPI: Interpreter enabled

### kernel 4.7.0
[    0.279066] ACPI : EC: EC started
[    4.418531] ACPI: Interpreter enabled

The second is a stop/start of EC which adds another 6sec to 4.7.0:

### kernel 4.4.16
[    4.528033] ACPI: Enabled 7 GPEs in block 00 to 3F         
[    4.528068] ACPI : EC: GPE = 0x16, I/O: command/status = 0 
[    4.528134] vgaarb: setting as boot device: PCI:0000:00:02

### kernel 4.7.0
[    5.711566] ACPI: Enabled 7 GPEs in block 00 to 3F        
[    5.711639] ACPI : EC: EC stopped                         
[    5.711667] ACPI : EC: GPE = 0x16, I/O: command/status = 0
[    5.711668] ACPI : EC: EC started                         
[   10.526295] vgaarb: setting as boot device: PCI:0000:00:02

I have a post on the Arch Linux forums about this as well (in case others
comment there):
- https://bbs.archlinux.org/viewtopic.php?id=216096

I also found another user on Reddit reporting what appears to be similar:
-
https://www.reddit.com/r/linuxquestions/comments/4yok1c/slow_kernel_boot_acpi_ec/

The laptop is an HP Zbook 15 running x86_64. I *believe* this is related to
ACPI as that's where the first 1sec jump occurs, and the later big 6sec leap
surrounds ACPI lines as well. That said, the first line *after* the time jump
relates to vgaarb, so if you think the bug is really about that, please let me
know and I can re-submit elsewhere.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.

------------------------------------------------------------------------------
_______________________________________________
acpi-bugzilla mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/acpi-bugzilla

Reply via email to