手机站
网通分站
电信主站
密 码:
用户名:
当前位置 : 主页>网站运营>建站经验>列表

2.6内核的配置和编译2

来源:互联网 作者:west263.com 时间:2008-04-16
西部数码-全国虚拟主机10强!40余项虚拟主机管理功能,全国领先!双线多线虚拟主机南北访问畅通无阻!免费赠送企业邮局,.CN域名,自助建站480元起,免费试用7天,满意再付款! P4主机租用799元/月.月付免压金!


通过这么多的例子,大家应该能够看出来在menuconfig中,圆括号内是参数,能够选择某一选项或输入具体的参数。方括号只能选择“Y”或“N”,尖括号除了选择“Y”和“N”还能够选择“M”。“Y”表示将该选项包括在内核中,menuconfig中以“*”表示。“N”表示不使用此选项的功能,“M”表示将此选项的功能编译成模块。

ACPI是为了取代APM而设计的,因此尽量使用ACPI的功能,实在不行再加载apm模块。


2.6内核的配置和编译(8) '

[*] CPU Frequency scaling
[ ] Enable CPUfreq debugging
< > /proc/cpufreq interface (deprecated)
Default CPUFreq governor (performance) --->
--- 'performance' governor
<M> 'powersave' governor
<M> 'userspace' governor for userspace frequency scaling
[ ] /proc/sys/cpu/ interface (2.4. / OLD)
<M> 'ondemand' cpufreq policy governor
<*> CPU frequency table helpers
<M> ACPI Processor P-States driver
<M> AMD Mobile K6-2/K6-3 PowerNow!
<M> AMD Mobile Athlon/Duron PowerNow!
<M> AMD Opteron/Athlon64 PowerNow!
<M> Cyrix MediaGX/NatSemi Geode Suspend Modulation
<M> Intel Enhanced SpeedStep
[ ] Use ACPI tables to decode valid frequency/voltage pairs
--- Built-in tables for Banias CPUs
<M> Intel Speedstep on ICH-M chipsets (ioport interface)
<M> Intel SpeedStep on 440BX/ZX/MX chipsets (SMI interface)
<M> Intel Pentium 4 clock modulation
< > nVidia nForce2 FSB changing
<M> Transmeta LongRun
<M> VIA Cyrix III Longhaul
--- shared options
[ ] /proc/acpi/processor/../performance interface (deprecated)
[ ] Relaxed speedstep capability checks

CPU Frequency scaling,这一选项允许改变CPU的主频,使CPU在低负荷或使用电池时降低主频,达到省电的目的。

Enable CPUfreq debugging,是否允许调试CPU改变主频的功能,假如要调试,还需要在启动时加上参数。cpufreq.debug=<value>
1:变频技术的内核调试
2:变频技术的驱动调试
4:变频技术的调节器调试

/proc/cpufreq interface (deprecated) ,是否允许/proc/cpufreq来调节主频,建议使用默认的sysfs来调节。

Default CPUFreq governor (performance) --->,默认的主频调节,圆括号内的是您选择的结果,这里表示以性能为主。

'powersave' governor,最大限度的节约电能调节器。

'userspace' governor for userspace frequency scaling,用户自定义调节器。

/proc/sys/cpu/ interface (2.4. / OLD),兼容2.4内核的用户调节器。

'ondemand' cpufreq policy governor,自动调节主频。

CPU frequency table helpers,多数的CPU需要这一项来调节主频。

ACPI Processor P-States driver,报告处理器的状态。

AMD Mobile K6-2/K6-3 PowerNow!,AMD移动版K6处理器的变频驱动。

AMD Mobile Athlon/Duron PowerNow!,AMD移动版毒龙、雷乌的变频驱动。

AMD Opteron/Athlon64 PowerNow!,AMD64处理器的变频驱动。

Cyrix MediaGX/NatSemi Geode Suspend Modulation,Cyrix处理器的变频驱动。

Intel Enhanced SpeedStep,Intel的变频技术支持。

Use ACPI tables to decode valid frequency/voltage pairs,使用BIOS中的主频/电压参数。

--- Built-in tables for Banias CPUs,迅驰一代的主频/电压参数。

Intel Speedstep on ICH-M chipsets (ioport interface) ,Intel ICH-M南桥芯片组的支持。

Intel SpeedStep on 440BX/ZX/MX chipsets (SMI interface),Intel 440BX/ZX/MX南桥芯片级的支持。

Intel Pentium 4 clock modulation,P4处理器的时钟模块支持。

nVidia nForce2 FSB changing,nVidia nForce2的支持。

Transmeta LongRun,Transmeta处理器的支持。

VIA Cyrix III Longhaul,VIA Cyrix处理器的支持。

/proc/acpi/processor/../performance interface (deprecated),从/proc/acpi/processor/../performance获得CPU的变频信息。

Relaxed speedstep capability checks,不全面检测Intel Speedstep,有的系统虽然支持Speedstep技术,却无法通过全面的检测。

2.6内核的配置和编译(9)

总线类型,
[*] PCI support
PCI access mode (Any) --->
[ ] Message Signaled Interrupts (MSI and MSI-X)
[ ] Legacy /proc/pci interface
[ ] PCI device name database
[*] ISA support
[*] EISA support
[*] Vesa Local Bus priming
[*] Generic PCI/EISA bridge
[*] EISA virtual root device
[ ] EISA device name database
[ ] MCA support
< > NatSemi SCx200 support
PCCARD (PCMCIA/CardBus) support --->
PCI Hotplug Support --->

PCI support,没有人不知道这是什么总线类型吧,实在不知道就去google查吧,这个当然要选上。

PCI access mode (Any),强列建议选Any,系统将优先使用MMConfig,然后使用BIOS,最后使用Direct检测PCI设备。

Message Signaled Interrupts (MSI and MSI-X),建议您不要选择这项,设备将使用默认的IRQ中断。假如选择这项,充许设备通过PCI总线写入内存堆栈产生一个中断。

Legacy /proc/pci interface,是否使用/proc/pci目录下的信息文档来描述PCI设备的信息。现在的系统多数都使用lspci工具来得到这样的信息。

PCI device name database,假如您不打算使用lspci工具,就把这项和上面的一项选上。lspci和hotplug都无需内核中的设备信息库了。

文章整理:西部数码--专业提供域名注册虚拟主机服务
http://www.west263.com
以上信息与文章正文是不可分割的一部分,如果您要转载本文章,请保留以上信息,谢谢!