Gentoo 安装日记 12 (配置内核 :电源和bios)
Power management and ACPI options? --->
電源管理
[*] Power Management support
????? 如果你想讓你的Linux支持高級電源管理(也就是平常我們說的軟關機、系統休眠等)需要選擇它
????? 尼瑪我怎么見吳到呢個選項。。。。。。。。 3.3.8內核取消了馬?
[*] Suspend to RAM and standby
????? 待機到內存,即內存供電而暫時關閉硬盤等外設
[*] Hibernation (aka 'suspend to disk')??
?????? 休眠
()? Default resume partition
????? 唔知乜來的,忽略
[*] Run-time PM core functionality
???? 允許設備在空閑期節省資源。udisk所依賴的USE_SUSPEND依賴于此項。
[ ] Power Management Debug Support
//不想調試ACPI,不選
[*] ACPI (Advanced Configuration and Power Interface) Support? --->
?????? 這個電源管理模塊雖然可以管理電源,卻會增加核心約70KB。如果是嵌入式系統,需要考慮一下。
[ ] SFI (Simple Firmware Interface) Support? --->?
????? 吳清楚乜來的 保持默認
CPU Frequency scaling --->
[*]CPU Frequency scaling
?
//CPU變頻控制允許你在運行中改變CPU的時鐘速度。這是對于節約電能來說是一個不錯的主意。允許動態改變CPU主頻,達到省電和降溫的目的,必須同時啟用下面的一種governor才行。
[ ]Enable CPUfreq ?debugging
//懶人,遇見調試就不選
< >?? CPU frequency translation statistics
//通過sysfs文件系統輸出CPU頻率變換的統計信息,我木有選
?
Default CPUFreq governor (userspace)? --->
//默認的CPU頻率調節器,根據需要可以選擇以下的一種
?
( ) performance'性能'優先,靜態的將頻率設置為cpu支持的最高頻率
(X) userspace既允許手動調整cpu頻率,也允許用戶空間的程序動態的調整cpu頻率(需要額外的調頻軟件,比如cpufreqd)
( ) ondemand'立即響應',周期性的考察CPU負載并自動的動態調整cpu頻率(不需要額外的調頻軟件),適合臺式機
( ) conservative'保守',和'ondemand'相似,但是頻率的升降是漸變式的(幅度不會很大),更適合用于筆記本/PDA/AMD64環境
<*> ?'performance' governor
<M> ?'powersave' governor'節能'優先,靜態的將頻率設置為cpu支持的最低頻率
?-*-?? 'userspace' governor for userspace frequency scaling
<M>?? 'ondemand' cpufreq policy governor
<M>?? 'conservative' cpufreq governor
*** CPUFreq processor drivers //變頻驅動模塊
< > ? Processor Clocking Control interface driver?
//不選吧
<*>?? ACPI Processor P-States driver//將ACPI2.0的處理器性能狀態報告給CPUFreq processor drivers以決定如何調整頻
率,該選項依賴于ACPI->Processor。其實僅選這一項就可以了,下邊拿不準的話的可以不用選
-*- CPU idle PM support ? ?
? ? ? ? 默認? ? ? ? ? ? ?
[] ? Cpuidle Driver for Intel Processors??
//新添加的intel CPU驅動,貌似靠譜?? 我的AMD...
Memory power savings? --->
??????? < > Intel chipset idle memory power saving driver?? ??????? #看到Intel我就忽略拉~
Bus options (PCI etc.)? --->
?? [*] PCI support ????
????????? //不可能不選吧!
[*]?? Support mmconfig PCI config space access??
????????? 唔知乜來的 保持默認。
?[*]?? PCI Express support??
???????? 我臺筆記本顯卡應該是pcie 接口 默認選上把。
[]?? Root Port Advanced Error Reporting support
????????? 由PCI Express AER驅動程序處理發送到Root Port的錯誤信息,由于我獨顯一般都會關閉 不選了
-*-???? PCI Express ASPM control??
???????? 默認 反正無得改
?[ ]?????? Debug PCI Express ASPM?
????????? 見到debug就忽略
[*] Message Signaled Interrupts (MSI and MSI-X)
??????????? 這允許設備驅動開啟MSI。MSI允許一 個設備用非裝訂內存寫入方式在自己的PCI總線中產生一個中斷,而不是常規的IRQ針腳中斷。INTx使用傳統的IRQ中斷,可以與現行的PCI總線的驅 動程序和操作系統兼容;MSI則是通過inbound Memory Write觸發和發送中斷,更適合多CPU系統.在內核啟動時,用 ‘pci=nomsi’選項可以禁用PCI MSI中斷。這將在整個系統禁用MSI。這個地方比較憂傷,如果要考慮硬件兼容性,建議不選。或者選了如果有問題,那么取消掉(或者啟動選項添加 pci=nomsi)。我的是木有問題的,故選之。
[ ] PCI Debugging???????????????????????????????????????????????????????????
< > PCI Stub driver
?? PCI將PCI調試信息輸出到系統日志里 調試,不選
[*] Interrupts on hypertransport devices
?????????? //允許本地的hypertransport設備使用中斷 hypertransport是AMD在99年提出的一種總線技術高速傳輸設備中斷。允許高速傳輸設備使用中斷。
[ ] PCI IOV support????????????????????????????????????????????????????????????
[ ] PCI PRI support??????????????????????????????????????????????????????????????
[ ] PCI PASID support
??????? 呢個3個都唔了解 默認不選
<>PCI IO-APIC hotplug support
?????? 一個吳知乜設備的熱插拔支持 ,取消掉不選
< > PCCard (PCMCIA/CardBus) support? --->一般筆記本電腦會配備PCCard接口(無線網卡之類的),看你的硬件和使用場景吧。而且比較現代的筆記本也一般沒有了,一般不選。< > Support for PCI Hotplug? --->?
????? 又1個熱插拔.. 忽略
[ ] RapidIO support
?????? 唔了解 默認不選
下一篇繼續配置內核,? 終于知道gentoo安裝麻煩在哪里了~
總結
以上是生活随笔為你收集整理的Gentoo 安装日记 12 (配置内核 :电源和bios)的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: Gentoo 安装日记 11 (配置内核
- 下一篇: [转]inux Kernel部分选项意义