Michael Larabel stories by way of Phoronix: Intel Linux engineer Colin Ian King found that if aligning the slab within the ACPI code by way of the “SLAB_HWCACHE_ALIGN” flag will provide a measurable enchancment in reminiscence efficiency and lowering the kernel boot time.
Colin defined with this one line kernel patch: “Enabling SLAB_HWCACHE_ALIGN for the ACPI object caches improves boot velocity within the ACPICA core for object allocation and free’ing particularly within the AML parsing and execution phases in boot. Testing with 100 boots exhibits a median boot saving in acpi_init of ~35000 usecs in comparison with the unaligned model. Many of the ACPI objects being allotted and free’d are of very brief life occasions within the vital paths for parsing and execution, so the additional reminiscence used for alignment is not too onerous.”