LINUX LITE 7.2 FINAL RELEASED - SEE RELEASE ANNOUNCEMENTS SECTION FOR DETAILS


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Speed up Boot time
#1
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:
sudo leafpad /etc/default/grub

replace GRUB_CMDLINE_LINUX_DEFAULT=”quiet splash” with GRUB_CMDLINE_LINUX_DEFAULT=”quiet splash profile

save and exit

Code:
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:
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...oting.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:
sudo leafpad /etc/modprobe.d/blacklist.conf

go to the bottom of the file and start adding your blacklisted kernel modules, eg.

Code:
blacklist floppy

Code:
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/0...ssary.html
Reply
#2
If you want to see your boot times, and whats happening.
Use BootChart
My i7 is 7.05 secs
.
[Image: X2VhPSZ.png]
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 Smile

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)
Reply
#3
@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 Smile

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)
Reply
#4
Correct.
Reply
#5
rc says:

Code:
#
# 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
Reply
#6
Not sure what to change in GRUB_CMDLINE_LINUX_DEFAULT

mine says:
Code:
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
Reply
#7
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!
Reply


Forum Jump:


Users browsing this thread: 4 Guest(s)