Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
求助:编译内核的选项解释
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index 中文 (Chinese)
View previous topic :: View next topic  
Author Message
bluephoenix
Tux's lil' helper
Tux's lil' helper


Joined: 01 Nov 2008
Posts: 94

PostPosted: Sat Nov 01, 2008 2:59 pm    Post subject: 求助:编译内核的选项解释 Reply with quote

我之前试了一次最小化安装stage3。学到不少,但是由于不懂那些编译选项,所以没感觉,出来的系统仍然觉得不是自己的。而且有些命令也很自动化,一敲就下载,下载完就安装,还是不能确定自己的系统是不是最干净的。再加上我是Linux的初学者,当时连VI都不会,结果搞GRUB的时候把GRUB弄乱了,也不知如何恢复,最后安装Ubuntu后才开始真正使用起Linux的,现在也正在用Ubuntu学习一些基本的东西。

今天又上Linuxsir网站看了一下各位大侠总结的Gentoo的好处,觉得那个一次安装、永远升级还是不错,对比Ubuntu从8.04升级到8.10来说。另外时区的问题Gentoo是默认搞好的(我是双系统,用Local Time与Windows的时钟兼容),而Ubuntu还不知怎样解决这个问题呢。

另外我最需要的是“最快”的系统,但是当时安装完Gentoo的Stage3也没觉得比Ubuntu快,反倒是Vista启动和关机都非常地快(40秒开,16秒关,Ubuntu图形界面都是1分钟开,多少秒关我忘了)。我在这里第一想求助编译选项的详细含义以便我将来再搞Gentoo时把它弄成“最快”的系统。第二想了解用Gnome的必要性有多少?用XFCE是不是真快?如果XFCE真快,而且可以完成和Gnome一样的功能,我就选XFCE。还有各位大侠如果谁有如何把系统调校成最快的“宝典”请不吝赐教。
Back to top
View user's profile Send private message
SeaTiger
l33t
l33t


Joined: 22 Nov 2007
Posts: 603
Location: Toronto, Ontario, Canada

PostPosted: Sun Nov 02, 2008 9:07 am    Post subject: Reply with quote

賤兔快速起動最簡便的設定是修改/etc/rc.conf:
Code:
rc_parallel="YES"
預設值是NO.

XFCE4是比GNOME快一點.我個人是用xfce4的.二者除了一般反應外,最主要的分別在於panel插件.個人是比較喜歡gnome的插件,但是在xfce運行gnome插件要安裝很多的gnome套件,所以我最近也放棄了.如果對顯示速度有要求的話,xfce4是比gnome快的.

另外可以用slim取代gdm.

以下是我的rc-update:
Code:
         termencoding |                   boot       
                 hald |           default           
                 fsck |                   boot       
                acpid |           default           
           vixie-cron |           default           
           localmount |                   boot       
              urandom |                   boot       
              modules |                   boot       
                 mtab |                   boot       
             bootmisc |                   boot       
              hwclock |                   boot       
                local | nonetwork default           
             hostname |                   boot       
              keymaps |                   boot       
               sysctl |                   boot       
                named |           default           
              numlock |           default           
               net.lo |                   boot       
             net.eth0 |           default           
                 sshd |           default           
                  xdm |           default           
           ntp-client |           default           
               procfs |                   boot       
                 swap |                   boot       
                 root |                   boot       
                 dbus |           default           
             netmount |           default           
            alsasound |           default           
            syslog-ng |           default           
       udev-postmount |           default
現在的開機時間大約是27秒(由grub開始計算至slim登入晝面).如果想再快我可以去掉ntp-client,那裡可以省三秒左右.另外sshd,named,numlock也可以去掉.

以下是運行xfce4時的pstree,你可以和gnome的比較一下,東西少很多的(當然我的xfce panel插件不多):
Code:
init-+-acpid
     |-agetty
     |-console-kit-dae---62*[{console-kit-dae}]
     |-cron
     |-dbus-daemon
     |-gam_server
     |-gcin
     |-hald---hald-runner-+-hald-addon-acpi
     |                    |-hald-addon-inpu
     |                    `-2*[hald-addon-stor]
     |-pulseaudio---2*[{pulseaudio}]
     |-slim-+-X
     |      `-sh-+-xfce4-session
     |           `-xscreensaver
     |-ssh-agent
     |-sshd
     |-syslog-ng
     |-udevd
     |-xfce-mcs-manage
     |-xfce4-panel---xfce4-menu-plug
     |-xfdesktop
     `-xfwm4
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index 中文 (Chinese) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum