Solve the problem of slow start speed in Ubuntu7.04

Source: Internet
Author: User
I have been using Ubuntu for more than two years. from 5.4 to the current 7.04, I feel that the latest 7.04 version is the slowest to start, and it will pause for several seconds. Today, I suddenly wanted to find out what the pause was, so google found a good tool-bootchart, it can collect statistics on the time and IO consumption of various processes during Linux Startup and generate intuitive charts. After sudoapt-getinstallbootchart is installed, restart it. After entering the system, enable/var/l with Ubuntu for more than two years. from 5.4 to 7.04, I feel that the latest version 7.04 is the slowest to start, the startup will pause for several seconds. Today, I suddenly wanted to find out what the pause was, so google found a good tool-bootchart, it can collect statistics on the time and IO consumption of various processes during Linux Startup and generate intuitive charts.

Sudo apt-get install bootchart

After installation, restart the system and open the/var/log/bootchart/directory after entering the system. A Chart similar to the UML time sequence diagram is here.

Observe this chart carefully and find that the entire startup process is 46 s, and The fsck process has been frozen for nearly 10 s. It seems that the pause in startup is here.

Then, google detected that Ubuntu 7.04 checked my three Reiserfs4 partitions every time it was started. However, I am very confident in Reiserfs4, So modify the/etc/fstab file to change the pass of the three Reiserfs4 partitions to 0, and disable checking these partitions at startup.

After the modification is complete, restart the system, and then look at the chart generated by bootchart. It is found that the startup process is 30 s, which is 16 s faster!

Do not forget to delete the bootchart. Install the bootchart next time you observe the startup process.

Apt-get remove bootchart
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.