You are Here:
Linux Lite 7.0 RC1 Released - See Release Announcement Section



Speed up Boot time

Author (Read 11195 times)

0 Members and 2 Guests are viewing this topic.

Re: Speed up Boot time
« Reply #7 on: December 03, 2015, 07:58:06 AM »
 

regularfella

  • PayPal Supporter
  • New to Forums
  • *****
  • 14
    Posts
  • Reputation: 1
  • Linux Lite Member
    • View Profile

  • CPU: AMD Athalon II x4 3.0Ghz

  • MEMORY: 8Gb

  • VIDEO CARD: Nvidia GTX 460
I want to try this...but I'm afraid lol.

It seems like I already boot up in record time anyway. Hard to believe it can get even faster. I'll try it when I have some more time behind the wheel and understand the OS better.

*Edit

Ok, I did the first 2 and it does seem to boot even faster. Thanks, Jerry!
I won't attempt the last mod where you blacklist modules because I don't know enough about that yet.

Good work!
« Last Edit: December 03, 2015, 08:08:24 AM by regularfella »
 

Re: Speed up Boot time
« Reply #6 on: November 25, 2015, 06:15:55 AM »
 

UltraCookie

  • Forum Regular
  • ***
  • 159
    Posts
  • Reputation: 24
  • Linux Flavoured Chocolate Cookie
    • View Profile

  • CPU: Intel i5-4210M Dual Core 2,60 GHz

  • MEMORY: 4Gb

  • VIDEO CARD: Intel HD 4600

  • Kernel: 5.x
Not sure what to change in GRUB_CMDLINE_LINUX_DEFAULT

mine says:
Code: [Select]
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash acpi_osi=Linux acpi_backlight=vendor"
I don't want to mess it up.
Linux Lite 5.0 on Lenovo Edge 540 <3
 

Re: Speed up Boot time
« Reply #5 on: November 25, 2015, 05:54:14 AM »
 

Duckeenie

  • Occasional Poster
  • **
  • 93
    Posts
  • Reputation: 11
  • Linux Lite Member
    • View Profile

  • CPU: Intel i3-4130

  • MEMORY: 6Gb

  • VIDEO CARD: Nvidia 740
rc says:

Code: [Select]
#
# Check if we are able to use make like booting.  It require the
# insserv package to be enabled. Boot concurrency also requires
# startpar to be installed.
#

Of particular interest here is that startpar isn't installed or in the repo's
Don't believe half of what you see and none of what you hear

- Lou Reed
 

Re: Speed up Boot time
« Reply #4 on: November 25, 2015, 12:27:44 AM »
 

Jerry

  • Linux Lite Creator
  • Administrator
  • Platinum Level Poster
  • *****
  • 8793
    Posts
  • Reputation: 803
  • Linux Lite Member
    • View Profile
    • Linux Lite OS

  • CPU: Intel Core i9-10850K CPU @ 3.60GHz

  • MEMORY: 32Gb

  • VIDEO CARD: nVidia GeForce GTX 1650

  • Kernel: 5.x
Correct.
 

Re: Speed up Boot time
« Reply #3 on: November 24, 2015, 07:43:52 PM »
 

Wirezfree

  • PayPal Supporter
  • Platinum Level Poster
  • *****
  • 1484
    Posts
  • Reputation: 405
  • Linux Lite "Advocate"
    • View Profile

  • CPU: i7-4790S

  • MEMORY: 16Gb

  • VIDEO CARD: Intel HD4600 (Integrated)
@Jerry,
I looked through my notes, I had some on Profile.
I had a note to say,
"Once you have profiled, then remove Profile from grub, it adds an over head when it's profiling, so don't need it every boot"
I assume that an unless you change configs, or add things that need new drivera, the profile is O.K till then..??
Upgrades WIP 2.6 to 2.8 - (6 X 2.6 to 2.8 completed on: 20/02/16 All O.K )
Linux Lite 3.0 Humming on a ASRock N3070 Mobo ~ btrfs RAID 10 Install on 4 Disks :)

Computers Early days:
ZX Spectrum(1982) , HP-150 MS-DOS(1983) , Amstrad CPC464(1984) ,  BBC Micro B+64(1985) , My First PC HP-Vectra(1987)
 

Re: Speed up Boot time
« Reply #2 on: November 24, 2015, 07:29:20 PM »
 

Wirezfree

  • PayPal Supporter
  • Platinum Level Poster
  • *****
  • 1484
    Posts
  • Reputation: 405
  • Linux Lite "Advocate"
    • View Profile

  • CPU: i7-4790S

  • MEMORY: 16Gb

  • VIDEO CARD: Intel HD4600 (Integrated)
If you want to see your boot times, and whats happening.
Use BootChart
My i7 is 7.05 secs
.
Upgrades WIP 2.6 to 2.8 - (6 X 2.6 to 2.8 completed on: 20/02/16 All O.K )
Linux Lite 3.0 Humming on a ASRock N3070 Mobo ~ btrfs RAID 10 Install on 4 Disks :)

Computers Early days:
ZX Spectrum(1982) , HP-150 MS-DOS(1983) , Amstrad CPC464(1984) ,  BBC Micro B+64(1985) , My First PC HP-Vectra(1987)
 

Speed up Boot time
« Reply #1 on: November 24, 2015, 07:00:39 PM »
 

Jerry

  • Linux Lite Creator
  • Administrator
  • Platinum Level Poster
  • *****
  • 8793
    Posts
  • Reputation: 803
  • Linux Lite Member
    • View Profile
    • Linux Lite OS

  • CPU: Intel Core i9-10850K CPU @ 3.60GHz

  • MEMORY: 32Gb

  • VIDEO CARD: nVidia GeForce GTX 1650

  • Kernel: 5.x
Disclaimer: Only perform this tweak if you are competent on the command line. This guide is not meant for newbies.
If you have an SSD, I'm not sure how much of a difference this will make.

GRUB:

Code: [Select]
sudo leafpad /etc/default/grub
replace GRUB_CMDLINE_LINUX_DEFAULT=”quiet splash” with GRUB_CMDLINE_LINUX_DEFAULT=”quiet splash profile

save and exit

Code: [Select]
sudo update-grub2
Reboot

Grub does a search for all the necessary drivers to load. Instead of making Grub search for required drivers, the profiling actually makes Grub remember every necessary driver to work. This action will cutting down all of the driver load times. First reboot may be a little slower than normal, but consequent boots should be much faster.

CPU:

If you have a multi-core CPU/Processor, this following steps may be able to speed up your boot time besides of using the step above, follow these instructions:

Code: [Select]
sudo leafpad /etc/init.d/rc
find this line : CONCURRENCY=none or CONCURRENCY=makefile
replace with : CONCURRENCY=shell

save and exit

Source:  http://www.ubuntubuzz.com/2012/01/how-to-increasespeed-up-ubuntu-booting.html

USE WITH EXTREME CAUTION

Blacklisting unnecessary kernel modules. Open the terminal and type command lsmod to see what are the modules that are loaded.

Check the value in section "used by", if the value is "0" it means that the this kernel module is not been used by any of the application/process and it's unnecessary occupying the space in the memory, the best way to know about such module to use google/bing search engine and if you feel that this module is not required you can simply unload it, for example if you don't have the floppy drive then why to load floppy module.

Code: [Select]
sudo leafpad /etc/modprobe.d/blacklist.conf
go to the bottom of the file and start adding your blacklisted kernel modules, eg.

Code: [Select]
blacklist floppy
Code: [Select]
sudo update-initramfs -u
reboot.

You MUST research each module you want to prevent loading before you disable it. Don't blacklist everything with a 0.

Source: http://linuxpoison.blogspot.co.nz/2009/06/how-to-disable-loading-of-unnecessary.html
« Last Edit: November 24, 2015, 07:32:38 PM by Jerry »
 

 

-->
X Close Ad

Linux Lite 7.0 RC1 Released - See Release Announcement Section