Results 1 to 6 of 6
  1. #1

    Lightbulb Ten tricks to make Linux boot faster


    For my 500th post...

    Linux rarely needs to be rebooted but, when it does, it often takes longer than you'd like.

    Fortunately, there are ways to speed things up. Some methods are relatively easy, while others are more difficult.

    1. Disable unnecessary services
    Depending upon the use of the machine, plenty of services won't be needed. If you're using Linux just for a desktop, you won't need sendmail, httpd and many other services.

    If your server is only a web server, you can shut off many services as well.

    To do this, you can go to the administration menu and take a look at the services entry. Just deselect all of the services that you don't want to start.

    2. Disable unnecessary kernel modules
    If your desktop is wired to the Ethernet, you don't need to have a wireless kernel module loaded.

    This task is a bit more difficult and will require a kernel recompilation, which is not the easiest task to undertake. To do this, you will need the kernel sources. Then, follow the standard steps for compiling a kernel. The difference is that you're going to go through your system and disable all of the modules you don't need.

    The best way to find out what kernel modules currently install and run on your system is to install Bootchart. Not only will this give you a good list of modules, it will illustrate for you what is happening during your system boot. You can also issue the command chkconfig –list | grep 3:on to find out what services are running.

    Once you know what loading modules you don't need, you can remove them during a kernel recompilation. While you're at it, compile the kernel to exactly match your architecture.

    3. Use a lightweight window manager instead of Gnome or KDE
    I plug smaller-footprint window managers for a reason: they drastically reduce graphical boot time. Instead of having to wait that extra 30 to 60 seconds for Gnome or KDE to boot up, why not wait two to 10 seconds for Enlightenment or Xfce to boot up? Not only will they save you boot time, they will save your memory and the headache of dealing with bloatware.

    4. Use a text-based login instead of a graphical login
    Most of my Linux machines boot to run level 3 instead of run level 5. This will halt at the text-based login, where I only have to log in and issue startx to start my desktop of choice. The graphical logins do two things: increase load times and create headaches trying to recover from an X windows fubar.

    5. Use a lighter-weight distribution
    Instead of loading the heavyweight Fedora, why not try Gentoo, Arch or Puppy Linux?

    The boot times for these smaller distributions are far faster than for the more bloated Fedora, and even Ubuntu. In terms of the latest versions, Ubuntu boots significantly faster than Fedora — and that is out of the box.

    6. Use an OpenBIOS
    If you're savvy enough to upgrade your PC's firmware, you might consider migrating to an open-source BIOS. One caveat to using open firmware is that it allows Linux to actually initialise the hardware as it boots, instead of relying on the BIOS. On top of that, many open BIOSes can be configured to meet your machine's specific needs.

    Read this
    Feature
    Feature: Ten tips for securing Linux desktops

    Read more +

    If you don't go the open BIOS route, you can at least configure your BIOS not to search for a floppy drive that's not there or to boot directly to the first hard drive, instead of the CD drive first.

    7. Avoid DHCP
    If you are working on a home network, or a small business network, where address lease isn't a problem, go with static IP addresses. This will keep your machine from having to call out to a DHCP server to get an IP address. If you take this approach, make sure you configure your /etc/resolve.conf to reflect your DNS server addresses as well.

    8. If you can spare it, get rid of hotplug
    Hotplug is the system that allows you to plug in new devices and use them immediately. If you know your server won't need this system, delete it. This will cut down on boot time. On many systems, hotplugging consumes much of the boot time. The method utilised to remove hotplug will vary depending upon the distribution used.

    Note that udev has, for the most part, replaced hotplug. However, if you're running an older distribution, the above does apply.

    9. If you are really daring, you could give initng a try
    The initng system serves as a replacement for the SysVinit system and promises to drastically decrease boot times in Unix-like operating systems. If you would like to see the initng system in action, you can give the Pingwinek LiveCD a try.

    10. Use a hack with Debian
    If you're using Debian, there is a simple hack you can use to switch your startup scripts to run in parallel. If you look at the /etc/init.d/rc script, you will see: 'Concurrency=none' around line 24. Change this line to 'Concurrency=shell' and you should see a reduction in boot times.
    Source: Ten tricks to make Linux boot faster - at ZDNet.co.uk

  2. #2
    thats right...basically we need to remove unnecessary modules that doesnt fit to your needs.

  3. #3

    Default mga kuya....mga ate.....

    mga kuya....mga ate....at sir admenistrator....pede pow ba nyo ako turuan kung panu gumamit at
    mag karoon ng boot program kc pow pag nasa chat room ako lage pow nila ako binuboot
    un lng pow TY

  4. #4
    uu nga pow...pero di pow kc alam kung panu un gawin kc lahat ng friend ko pinagtitripan ako pag online na pow id ko, nagsisimula na pow cla iboot ako

  5. #5

    Default yeah...thats right

    diko pow kc alam kung panu un gawain....iba sa mga friend ko pag Online na pow YM ko dun na pow cla nagsisimula na iboot ako, pinagtitripa pow nila ako tlga panu pow ba tlaga gamitin un

  6. #6
    add lang ko use ext4 as a file partition, you can also change ext3 to ext4 if you don't want to partition your drive (kapoy ana yucks!).

  7.    Advertisement

Similar Threads

 
  1. help me...how to make hair grow faster?
    By aiko_kawaii in forum Fitness & Health
    Replies: 20
    Last Post: 02-06-2019, 10:10 PM
  2. IBM, 3M to make processors 1000x faster using special glue
    By naborbong in forum Computer Hardware
    Replies: 0
    Last Post: 09-14-2011, 02:16 PM
  3. Replies: 748
    Last Post: 08-29-2010, 09:32 PM
  4. ::How To Make XP Go Faster::
    By sercor::jhumzki in forum Software & Games (Old)
    Replies: 20
    Last Post: 05-06-2010, 05:49 AM
  5. How to make my torrent download faster
    By Adamot in forum Computer Hardware
    Replies: 8
    Last Post: 10-22-2008, 11:59 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
about us
We are the first Cebu Online Media.

iSTORYA.NET is Cebu's Biggest, Southern Philippines' Most Active, and the Philippines' Strongest Online Community!
follow us
#top