Get the latest tech news

Linux Will Be Able To Boot 0.035 Seconds Faster With One Line Kernel Patch


Michael Larabel reports via Phoronix: Intel Linux engineer Colin Ian King discovered that if aligning the slab in the ACPI code via the "SLAB_HWCACHE_ALIGN" flag will offer a measurable improvement in memory performance and reducing the kernel boot time. Colin explained with this one line kernel ...

Michael Larabel reports via Phoronix: Intel Linux engineer Colin Ian King discovered that if aligning the slab in the ACPI code via the "SLAB_HWCACHE_ALIGN" flag will offer a measurable improvement in memory performance and reducing the kernel boot time. Colin explained with this one line kernel patch: "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. 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."

Get the Android app

Or read this on Slashdot

Read more on:

Photo of Linux

Linux

Photo of seconds

seconds

Photo of line kernel patch

line kernel patch

Related news:

News photo

An Initial Benchmark Of Bcachefs vs. Btrfs vs. EXT4 vs. F2FS vs. XFS On Linux 6.11

News photo

Linux's DRM Power Saving Policy Gets Reverted For Now

News photo

Linux On The Snapdragon X1 Microsoft Surface Laptop 7, But Critical Features Missing