Get all your news in one place.
100's of premium titles.
One app.
Start reading
Tom’s Hardware
Tom’s Hardware
Technology
Jowi Morales

MYSTERIOUS: Linux boot time reduced by 0 035 seconds thanks to a one line kernel patch aligning the slab in the acpi code makes linux boot faster - You Need To See This

Linux logo in front of clocks.

Linux systems already boot relatively fast, but it's never fast enough. So, when Linux engineer Colin Ian King (via Phoronix) discovered that aligning the slab in the ACPI code would make Linux boot faster, it was considered a win for the system.

According to King, "Enabling SLAB_HWCACHE_ALIGN for the ACPI object caches improves boot speed in the ACPICA core for object allocation and free'ing especially in the AML parsing and execution phases in boot. Testing with 100 boots shows an average boot saving in acpi_init of ~35000 usecs compared to the unaligned version. Most of the ACPI objects being allocated and free'd are of very short life times in the critical paths for parsing and execution, so the extra memory used for alignment isn't too onerous."

Sign up to read this article
Read news from 100's of titles, curated specifically for you.
Already a member? Sign in here
Related Stories
Top stories on inkl right now
One subscription that gives you access to news from hundreds of sites
Already a member? Sign in here
Our Picks
Fourteen days free
Download the app
One app. One membership.
100+ trusted global sources.