Welcome to the Tiny Core Linux Wiki at tinycorelinux.net!

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

wiki:speeding_up_boot_time [2019/12/26 09:33]
neonix created
wiki:speeding_up_boot_time [2019/12/27 06:52] (current)
neonix
Line 1: Line 1:
 There are many ways to speed up boot process. There are many ways to speed up boot process.
 One is Linux kernel parameter (bootcodes) One is Linux kernel parameter (bootcodes)
 +== Use bootcodes ==
 ^ bootcode ^ description ^ ^ bootcode ^ description ^
 | nodhcp | disable dhcp client | | nodhcp | disable dhcp client |
-| pnpbios=off | disable if your computer don't have plug and play bios |  +| pnpbios=off | if your computer don't have plug and play bios |  
-| acpi=off | if your computer don't support acpi |+| acpi=off | if your computer don't support Advanced Configuration and Power Interface |
 | quiet | don't show all messages during boot | | quiet | don't show all messages during boot |
 | lpj=?????? | skip BogoMIPS calibration | | lpj=?????? | skip BogoMIPS calibration |
Line 11: Line 11:
 | floppy=0,irq | disable floppy | | floppy=0,irq | disable floppy |
 | apm=off | disable Advanced Power Management; (old before 2007) | | apm=off | disable Advanced Power Management; (old before 2007) |
-| nosmp | use when you single processor machine |+| nosmp | use when you have single processor machine |
 | noisapnp | use if you don't have isa computer | | noisapnp | use if you don't have isa computer |
 | lp=0 | disable parallel port | | lp=0 | disable parallel port |
 | blacklist=acpi_cpufreq | disable cpu frequency scaling | | blacklist=acpi_cpufreq | disable cpu frequency scaling |
 | blacklist=serio_raw | disable serial port driver | | blacklist=serio_raw | disable serial port driver |
-| i8042.nopnp | --- |+| i8042.nopnp | of you don't have PS/2 touchpas/mouse/keyboard  |
 | blacklist=pcspk | disable PC speaker driver | | blacklist=pcspk | disable PC speaker driver |
 | blacklist=joydev | disable joystick support |  | blacklist=joydev | disable joystick support | 
Line 25: Line 25:
 | cpufreq.off=1 | --- | | cpufreq.off=1 | --- |
 | cpuidle.off=1 | --- | | cpuidle.off=1 | --- |
-| dis_ucode_ldr | disable microcode update |+| dis_ucode_ldr | disable CPU microcode update |
 | iommu=off | disable input–output memory management unit | | iommu=off | disable input–output memory management unit |
-| noapic | ---- +| noapic | disable Advanced Programmable Interrupt Controller 
 | hest_disable ghes.disable=1 | disable hardware-driven error report mechanism | | hest_disable ghes.disable=1 | disable hardware-driven error report mechanism |
 | noexec=off | disable NX protection check | | noexec=off | disable NX protection check |
-| pci=nomsi nomsi | [MSI] If the PCI_MSI kernel config parameter is enabled, this kernel boot option can be used to disable the use of MSI interrupts system-wide | +| pci=nomsi nomsi | this kernel boot option can be used to disable the use of MSI interrupts system-wide | 
-| noaer | disable [PCIE] If the PCIEAER kernel config parameter is enabled, this kernel boot option can be used to disable the use of PCIE advanced error reporting |+| noaer | this kernel boot option can be used to disable the use of PCIE advanced error reporting |
 | locktorture.onoff_interval=0 | disable CPU-hotplug testing | | locktorture.onoff_interval=0 | disable CPU-hotplug testing |
  
-Use this bootcodes only if your computer support this standard+Use this bootcodes only if your computer support this features
 ------------ ------------
 ^ bootcode ^ description ^ ^ bootcode ^ description ^
-nopcmcia +nopcmcia |disable pcmcia | 
-nodma +nodma disable Direct Memory Access suport | 
-noideraid +noideraid | 
-pcie_aspm=off +pcie_aspm=off | 
-pcie_port_pm=off +pcie_port_pm=off | 
-acpi_no_memhotplug +acpi_no_memhotplug | 
-agp=off +agp=off | disable Accelerated Graphics Port | 
-pci=off +pci=off | use this if you don't need PCI support | 
-i8042.unlock +|i8042.unlock | 
-i8042.nomux +|i8042.nomux | 
-i8042.nokbd +|i8042.nokbd | 
-i8042.noloop +|i8042.noloop | 
-i8042.noaux+|i8042.noaux |
  
 +== Kernel recompiation ==
 Other option is to recompile kernel. Other option is to recompile kernel.
 +== Bootloader set up ==
 You can also change timeout parameter to 0 in your bootloader. You can also change timeout parameter to 0 in your bootloader.
 Notice that there is usually 256 characters limit in boot parameter line. Notice that there is usually 256 characters limit in boot parameter line.
  
 +//The number of kernel parameters is not limited, but the length of the complete command line (parameters including spaces etc.) is limited to a fixed number of characters. This limit depends on the architecture and is between 256 and 4096 characters. It is defined in the file ./include/asm/setup.h as COMMAND_LINE_SIZE.//
 +\\ https://www.kernel.org/doc/html/v4.14/admin-guide/kernel-parameters.html
Print/export