LinuxTOY 是一个致力于提供 Linux 相关资讯的专题站点。如果您发现了好用好玩的 Linux 东东并愿意发扬自由、分享的精神,可以点击顶部导航 Contact 按钮进行投稿。

Related entries

你的 Linux 系统启动快吗

很多朋友抱怨自己的 Linux 系统启动速度太慢,但又苦于没有什么好途径进行分析,使之能够得到改进。如果你正受到这方面问题的困惑,那么有一个 Bootchart 小工具能够帮助你。

Bootchart 能够对系统的性能进行分析,并生成系统启动过程的图表,以便为你提供有价值的参考信息。综合所得的信息,你就可以进行相应的改进,从而加快你的 Linux 系统启动过程。

在安装 Bootchart 并重新启动系统后,你就可以在 /var/log/bootchart/ 找到它生成的图片文件了。以下是我的系统所生成的启动过程图表,你可以参考一下。

Bootchart

Bootchart 已被包含到常见的 Linux 发行版中,你可以直接从自己所用的系统中加以安装。如果你对 Bootchart 的源代码感兴趣,也可从 Bootchart 的下载页获取。

署名 • 注明出处 • 非商业性使用

25 Comments

  1. 1 食古不化 Commented @ 2007-07-13 2:20 pmReply to this comment

    这个似乎很有趣。不过,我一个月能启动几次电脑呢?

  2. 2 lh Commented @ 2007-07-13 3:04 pmReply to this comment

    哇。还是图形的呢。。。

  3. 3 matri Commented @ 2007-07-13 3:09 pmReply to this comment

    没关系…慢也慢不到哪里去.

  4. 4 noxide Commented @ 2007-07-13 3:32 pmReply to this comment

    挺有意思的,可以试试

  5. 5 yuk Commented @ 2007-07-13 3:52 pmReply to this comment

    莫非1楼的不关电脑?!??注意节能哦

  6. 6 zissan Commented @ 2007-07-13 4:53 pmReply to this comment

    我的系统启动花了43秒,比toy的快;-)

  7. 7 yasker Commented @ 2007-07-13 8:22 pmReply to this comment

    linux需要重启么……

  8. 8 yang Commented @ 2007-07-13 8:46 pmReply to this comment

    我发现我启动比toy的慢10秒,我的奔三1.13G,硬盘转速那里显示的是13M/S,估计差距就在此处吧

  9. 9 Kyle Commented @ 2007-07-13 11:09 pmReply to this comment

    嗯,回头就去试试。不错的东东。
    yang,你的机器用ubuntu会比较慢么?我的p4 1.8G觉得用firefox(swiftfox)速度很慢,比较win xp下的来说。关于低配置的机器如何配置linux跑的更快,看Toy能不能出几篇文章出来。呵呵~

  10. 10 Kyle Commented @ 2007-07-13 11:17 pmReply to this comment

    另外,八卦一下,是否安装了这个东东,他的分析过程会让linux启动更慢?呵呵~

  11. 11 aitilang Commented @ 2007-07-13 11:39 pmReply to this comment

    我的ubuntu启动的时候有一般的时间在挂载文件系统

  12. 12 yang Commented @ 2007-07-13 11:53 pmReply to this comment

    @Kyle,启动是有点慢,但是运行却不慢,尽管firefox启动有点慢,估计和我安装了大量的插件有关。

  13. 13 matri Commented @ 2007-07-14 8:12 amReply to this comment

    @Kyle,linux下的firefox的确比win下的慢,用opera吧…

  14. 14 Jarod Commented @ 2007-07-14 9:19 amReply to this comment

    有趣的东东,试一下

  15. 15 yuan.l Commented @ 2007-07-14 1:07 pmReply to this comment

    在2.6.18之後我都是用休眠,很久沒有重啟了。

  16. 16 Feng Commented @ 2007-07-15 10:46 amReply to this comment

    编译一遍内核,把不需要的去掉的话应该能加速启动速度吧?(对Linux完全不了解,据BSD使用经验而说)

  17. 17 clxer Commented @ 2007-07-16 4:33 pmReply to this comment

    suse下安装了,没发现/var/log/bootchart这个目录。

  18. 18 fcicq Commented @ 2007-08-13 6:43 pmReply to this comment

    好了,谁挑战一下26s?
    呵呵.

    http://www.fcicq.net/bootchart.png

    (掘一下老文章,大家不要见怪,thx…
    xxd同学进来拜一下?)

  19. 19 Toy Commented @ 2007-08-15 4:15 pmReply to this comment

    @fcicq:你这个速度快得不得了,赶明我也去玩 Gentoo :)

  20. 20 fcicq Commented @ 2007-08-19 5:43 pmReply to this comment

    再更新…22s… baselayout-2 的功劳.
    http://www.fcicq.net/bootchart22.png

  21. 21 kokie Commented @ 2007-09-07 1:34 pmReply to this comment

    我的pIII800,比toy快一秒

  22. 22 puNk!d Commented @ 2007-09-09 12:38 pmReply to this comment

    @fcicq : 就敢用hard masked的baselayout-2了,小白兔啊…

  23. 23 Loong Commented @ 2007-09-13 7:43 pmReply to this comment

    Sempron 3200+ ,32秒。

  24. 24 roy0524 Commented @ 2007-12-03 10:19 amReply to this comment

    我Ubuntu 7.10 装在NEC S900 上,启动要接近4分钟!!
    有什么办法解决一下?

  25. 25 zmwgreenrain Commented @ 2008-07-15 7:55 amReply to this comment

    我的好像仅仅25秒