https://bugzilla.kernel.org/show_bug.cgi?id=197107
Bug ID: 197107
Summary: Decrease run-time of `acpi_init()`
Product: ACPI
Version: 2.5
Kernel Version: 4.14-rc2
Hardware: All
OS: Linux
Tree: Mainline
Status: NEW
Severity: normal
Priority: P1
Component: ACPICA-Core
Assignee: [email protected]
Reporter: [email protected]
Regression: No
Created attachment 258699
--> https://bugzilla.kernel.org/attachment.cgi?id=258699&action=edit
Linux messages
The goal is to minimize the boot time time of the Linux kernel. Currently, it
takes some seconds.
Instrumenting Linux 4.14-rc2 on the TUXEDO Book BU1406 using the script
`analyze-boot.py` from pm-graph [1], shows that `acpi_init` takes 700 ms.
The relevant parts are below.
```
acpi_initialize_objects 351.998 ms
- acpi_ns_exec_module_code_list 14.369 ms
- acpi_ns_initialize_objects 166.147 ms
- acpi_walk_namespace 166.147 ms
- acpi_ut_acquire_read_lock 0.005 ms
- acpi_ut/acquire_mutex 0.002 ms
[…]
- acpi_ns_walk_namespace 166.133 ms
- [several hundreds(?) of lock and mutex]
[…]
- acpi_ns_initialize_devices 171.381
[…]
[…]
```
I’ll gladly share the generated HTML file, put its size is 496 MB. So please
tell me, if you are interested.
[1] https://github.com/01org/pm-graph
--
You are receiving this mail because:
You are watching the assignee of the bug.
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
acpi-bugzilla mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/acpi-bugzilla