LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1461|回复: 4

为什么启动到X桌面很慢?

[复制链接]
发表于 2005-1-13 10:14:29 | 显示全部楼层 |阅读模式
我的系统本来启动到X桌面很快,现在启动时到浏览器图标时要停留很长时间,到X桌面以后打开窗口的速度也明显的变慢。我重新设置了网络,但结果还是一样。XD们能否给个建议?
发表于 2005-1-13 19:30:22 | 显示全部楼层
When the system is running out of resources, it begins to use the SWAP on your hard disk to store temporary data.  This may be a possible reason.

1. What is your X桌面?  KDE and Gnome etc can be very memory demanding. Using a light-weight X-window manager such as icewm, fluxbox etc to reduce memory usage.  Can you post your result of "free" for study?
2. Try to reduce or close unnecessary daemon services in your system.
3. Try to optimize your hard disk performance by the hdparm command.
发表于 2005-1-13 23:02:56 | 显示全部楼层
Post by d00m3d
When the system is running out of resources, it begins to use the SWAP on your hard disk to store temporary data.  This may be a possible reason.

1. What is your X桌面?  KDE and Gnome etc can be very memory demanding. Using a light-weight X-window manager such as icewm, fluxbox etc to reduce memory usage.  Can you post your result of "free" for study?
2. Try to reduce or close unnecessary daemon services in your system.
3. Try to optimize your hard disk performance by the hdparm command.

:)
我翻译一下,
1:装一个轻量级的桌面管理系统,比如icewm,或者fluxbox这些的,可以减少内存的使用,你能够贴出free命令的输出么?
2:关闭一些不需要的服务,
3:用hdparam命令打开硬盘的DMA支持

呵呵,
发表于 2005-1-14 07:51:51 | 显示全部楼层
Good translations, thanks!

As for hdparm, it only just enable DMA (-d1), you may also enable ATA66 (-X66) or ATA100 (-X69?) to enable fast transmission rate.  In addition, you may also increase the readahead buffer (-a1024)... to optimize the hard disk performance.  The man page of hdparm can give you the information about the options.  Ususally, I use:

hdparm -d1 -c1 -u1 -m16 -X66 -a1024 /dev/hda

My hard disk is a little bit old, it does not support ATA100+, but the above works very well.  You may also do a simply benchmark with you hard disk before and after the execution of hdparm.

hdparm -tT /dev/hda
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-1-14 12:05:39 | 显示全部楼层
谢谢各位!

我现在重新安装了系统,恢复了过来。当时可能是我在安装字体时出现了错误,我曾经手工修改了 /etc/fonts/fonts.conf 文件。
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表