![]() Ensure the Startup Programs tab is selected and then look through the list for items you might want to prune. A few seconds can be saved by trimming this list and that can be done using the GNOME Sessions program (System ^ Preferences ^ Sessions). Once you've logged into the GNOME desktop, you'll face yet another delay as all the GNOME background software starts. This isn't a dramatic increase but it was certainly worth doing. ![]() I experienced a couple of seconds improvement by building a new readahead profile. In subsequent boots, however, you should see speed improvements. Note that the first boot will be slow because the readahead cache will have to be rebuilt. Then hit and then (b to boot your computer. See Figure 3.2 for an example taken from my test PC. ![]() Use the right arrow key to move to the end of the line and, after the words quiet and splash, add the word profile. Use the cursor keys to move the highlight down to the second line that beings kernel and hit Q again. <8-262a-4250-9f90-3b6a93627875 ro quiet splash profile_įigure 3.2: Resetting Ubuntu's readahead profile (see Tip 8, on page 66) This will let you temporarily edit the boot Reboot Ubuntu and, at the boot menu, ensure the usual Ubuntu entry is highlighted. A default readahead profile is included with Ubuntu but you can create your own, tailored to your system. In other words, it allows Ubuntu to cache frequently accessed files to avoid searching around for them at startup. Ubuntu includes a software called readahead that, according to the official blurb, "allows the user to specify a set of files to be read into the page cache to accelerate first time loading of programs". Using this method I managed to shave a massive 20 seconds off my desktop PC's usual start-up time of just under a minute.īuild a readahead profile personalized to your computer Then save the file and reboot your computer. Look for the line that reads CONCURRENCY=none and change it so it reads CONCURRENCY=shell. # If used in the first section of a menu file, disable all interactive editingįigure 3.1: Changing the boot menu countdown (see Tip 8, on page 66) # Hides the menu by default (press ESC to see the menu) #hiddenmenu # [normally the first entry defined), timeout 1 # Set a timeout, in SEC seconds, before automatically booting the default entry # array will desync and will not let you boot your system, default 0 # WARNING: If you are using dmraid do not use 1savedefault1 or your # is the entry saved with the command 1savedefault1. To make the change, type the following to open the necessary configuration file in Gedit: This way all the cores are utilized and quite a bit of time can be saved at each boot. By default these are set to run one-by-one but if you have a processor with more than one core, such as Intel's CoreDuo series or AMD's Athlon X2, you can configure Ubuntu to run the scripts in parallel. Whenever Ubuntu boots it runs several scripts that start necessary background services. Save the file and then reboot to test the settings. See Figure 3.1, on the following page for an example from my test pC. Then search for the line that reads timeout 10 and change the 10 to read either 1, for a one second countdown, or 0, to disable the boot menu completely. Start by opening the boot menu configuration file in Gedit: $ gksu gedit /boot/grub/menu.lst This will deny access to the other boot menu options but if Ubuntu is the only operating system on your computer then this could be a good arrangement. This delay can feasibly be reduced to one second, providing you have quick enough reactions-hitting a key during that second will cause the countdown timer to stop so you can make your choice at leisure.Īlternatively, you can configure the system so the boot menu never appears. If you only have Ubuntu installed, a prompt appears for three seconds telling you that you can hit a key to see the boot menu. If you dual-boot Ubuntu and Windows on your computer the boot menu appears for 10 seconds, during which you can select either Windows or Ubuntu.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |