Difference between revisions of "Maximizing performance/Boot process"

From ArchWiki
Jump to: navigation, search
(removing out-of-date and/or broken stuff)
(disabling SSS)
Line 15: Line 15:
 
To decrease boot time, a stripped kernel is a must.
 
To decrease boot time, a stripped kernel is a must.
 
[[Kernel Compilation|Read more about compiling a kernel.]]
 
[[Kernel Compilation|Read more about compiling a kernel.]]
 +
 +
==Staggered spin-up==
 +
 +
Some hardware implements [[Wikipedia:Spin-up#Staggered spin-up|staggered spin-up]], which causes the OS to probe ATA interfaces serially, which can spin up the drives one-by-one and reduce the peak power usage. This slows down the boot speed, and on most consumer hardware provides no benefits at all since the drives will already spin-in immediately when the power is turned on. To check if SSS is being used:
 +
 +
$ dmesg | grep SSS
 +
 +
If it wasn't used during boot, there will be no output.
 +
 +
To disable it, add {{ic|libahci.ignore_sss=1}} to the [[kernel line]].
  
 
== Additional Resources ==
 
== Additional Resources ==

Revision as of 02:55, 22 October 2012

Template:Article summary start Template:Article summary text Template:Article summary end

Preface

Improving the boot performance of a system can provide reduced boot wait times and a means to learn more about how certain system files and scripts interact with one another. This article attempts to aggregate methods on how to improve the boot performance of an Arch Linux system.

Compiling a Custom Kernel

To decrease boot time, a stripped kernel is a must. Read more about compiling a kernel.

Staggered spin-up

Some hardware implements staggered spin-up, which causes the OS to probe ATA interfaces serially, which can spin up the drives one-by-one and reduce the peak power usage. This slows down the boot speed, and on most consumer hardware provides no benefits at all since the drives will already spin-in immediately when the power is turned on. To check if SSS is being used:

$ dmesg | grep SSS

If it wasn't used during boot, there will be no output.

To disable it, add
Template error: are you trying to use the = sign? Visit Help:Template#Escape template-breaking characters for workarounds.
to the kernel line.

Additional Resources