linux内核编译过程及配置说明解释 (4)--processor type 与power management,ACPI options

Processor type and features 中央处理器(CPU)类型及特性

linux内核编译过程及配置说明解释 (4)--processor type 与power management,ACPI options_第1张图片

DMA memory allocation support

支持DMA内存分配低于16MB的地址空间,如果不分配的话,这部分内存也不会被使用

Symmetric multi-processing support
对称多处理器支持,如果你有多个CPU或者使用的是多核CPU就选上.此时"Enhanced Real Time Clock Support"选项必须开启,"Advanced Power Management"选项必须关闭

[*] Enable MPS table 

让多核/CPU系统支持ACPI,可选

.......

........

具体选项太多,不再分析,可以参考如下引用:

Subarchitecture Type
处理器的子架构,大多数人都应当选择"PC-compatible"
Processor family
处理器系列,请按照你实际使用的CPU选择
Generic x86 support
通用x86支持,如果你的CPU能够在上述"Processor family"中找到就别选
HPET Timer Support
HPET是替代8254芯片的新一代定时器,i686及以上级别的主板都支持,可以安全的选上
Maximum number of CPUs
支持的最大CPU数,每增加一个内核将增加8K体积
SMT (Hyperthreading) scheduler support
支持Intel的超线程(HT)技术
Multi-core scheduler support
针对多核CPU进行调度策略优化
Preemption Model
内核抢占模式
No Forced Preemption (Server)
适合服务器环境的禁止内核抢占
Voluntary Kernel Preemption (Desktop)
适合普通桌面环境的自愿内核抢占
Preemptible Kernel (Low-Latency Desktop)
适合运行实时程序的主动内核抢占
Preempt The Big Kernel Lock
可以抢占大内核锁,应用于实时要求高的场合,不适合服务器环境
Machine Check Exception
让CPU检测到系统故障时通知内核,以便内核采取相应的措施(如过热关机等)
Check for non-fatal errors on AMD Athlon/Duron / Intel Pentium 4
每5秒检测一次这些cpu的非致命错误并纠正它们,同时记入日志
check for P4 thermal throttling interrupt
当P4的cpu过热时显示一条警告消息
Enable VM86 support
虚拟X86支持,在DOSEMU下运行16-bit程序或XFree86通过BIOS初始化某些显卡的时候才需要
Toshiba Laptop support
Toshiba笔记本模块支持
Dell laptop support
Dell笔记本模块支持
Enable X86 board specific fixups for reboot
修正某些旧x86主板的重起bug,这种主板基本绝种了
/dev/cpu/microcode - Intel IA32 CPU microcode support
使用不随Linux内核发行的IA32微代码,你必需有IA32微代码二进制文件,仅对Intel的CPU有效
/dev/cpu/*/msr - Model-specific register support
在多cpu系统中让特权CPU访问x86的MSR寄存器
/dev/cpu/*/cpuid - CPU information support
能从/dev/cpu/x/cpuid获得CPU的唯一标识符(CPUID)
Firmware Drivers
固件驱动程序
BIOS Enhanced Disk Drive calls determine boot disk
有些BIOS支持从某块特定的硬盘启动(如果BIOS不支持则可能无法启动),目前大多数BIOS还不支持
BIOS update support for DELL systems via sysfs
仅适用于DELL机器
Dell Systems Management Base Driver
仅适用于DELL机器
High Memory Support
最高内存支持,总内存小于等于1G的选"off",大于4G的选"64G"
Memory split
如果你不是绝对清楚自己在做什么,不要改动这个选项
Memory model
一般选"Flat Memory",其他选项涉及内存热插拔
64 bit Memory and IO resources
使用64位的内存和IO资源
Allocate 3rd-level pagetables from highmem
在内存很多(大于4G)的机器上将用户空间的页表放到高位内存区,以节约宝贵的低端内存
Math emulation
数学协处理器仿真,486DX以上的cpu就不要选它了
MTRR (Memory Type Range Register) support
打开它可以提升PCI/AGP总线上的显卡2倍以上的速度,并且可以修正某些BIOS错误
Boot from EFI support
EFI是一种可代替传统BIOS的技术(目前的Grub/LILO尚不能识别它),但是现在远未普及
Enable kernel irq balancing
让内核将irq中断平均分配给多个CPU以进行负载均衡,但是要配合irqbanlance守护进程才行
Use register arguments
使用"-mregparm=3"参数编译内核,将前3个参数以寄存器方式进行参数调用,可以生成更紧凑和高效的代码
Enable seccomp to safely compute untrusted bytecode
只有嵌入式系统可以不选
Timer frequency
内核时钟频率,桌面推荐"1000 HZ",服务器推荐"100 HZ"或"250 HZ"
kexec system call
提供kexec系统调用,可以不必重启而切换到另一个内核
kernel crash dumps
被kexec启动后产生内核崩溃转储
Physical address where the kernel is loaded
内核加载的物理地址,除非你知道自己在做什么,否则不要修改.在提供kexec系统调用的情况下可能要修改它
Support for hot-pluggable CPUs
对热插拔CPU提供支持
Compat VDSO support
如果Glibc版本大于等于2.3.3就不选,否则就选上
http://lamp.linux.gov.cn/Linux/kernel_options.html


Power management  and ACPI options

linux内核编译过程及配置说明解释 (4)--processor type 与power management,ACPI options_第2张图片

suspend to RAM anf standby

允许系统进入睡眠状态,这种状态下主要内存是上电状态,内容得以保存,如挂起到内存;


  x x    [*] Hibernation (aka 'suspend to disk')                                   x x  

休眠,挂起到硬盘

  x x    ()  Default resume partition                                              x x  

默认恢复分区

  x x    [ ] Opportunistic sleep                                                   x x  

允许系统在没有活动时进入休眠状态


  x x    [ ] User space wakeup sources interface                                   x x  

允许用户利用系统基础接口进行源目标的创建,激活或者遣散


  x x    [ ] Run-time PM core functionality                                        x x  

      Enable functionality allowing I/O devices to be put into energy-saving        
 (low power) states at run time (or autosuspended) after a specified        
 period of inactivity and woken up in response to a hardware-generated        
 wake-up event or a driver's request.                                                                                                       
 Hardware support is generally required for this functionality to work           
  and the bus type drivers of the buses the devices are on are                
  responsible for the actual handling of the autosuspend requests and           
  wake-up events.


  x x    [ ] Power Management Debug Support                                        x x  

电源管理调试支持

  x x    [*] ACPI (Advanced Configuration and Power Interface) Support  --->       x x  

高级电源管理配置支持

  x x    [*] SFI (Simple Firmware Interface) Support  --->                         x x  

简单固件接口支持

  x x    <M> APM (Advanced Power Management) BIOS support  --->                    x x  

BIOS下高级电源管理支持

  x x        CPU Frequency scaling  --->                                           x x  

CPU频率比例

CPU Frequency scaling allows you to change the clock speed of                 
CPUs on the fly. This is a nice method to save power, because              
the lower the CPU clock speed, the less power the CPU consumes

  x x    -*- CPU idle PM support                                                   x x

CPU空闲电源管理支持

 
  x x    [ ]   Support multiple cpuidle drivers                                    x x  

多CPU空闲驱动支持

Allows the cpuidle framework to use different drivers for each CPU.       
This is useful if you have a system with different CPU latencies and 
states. If unsure say N

  x x    [*] Cpuidle Driver for Intel Processors   

对intel处理器CPU空闲驱动支持





你可能感兴趣的:(linux内核编译过程及配置说明解释 (4)--processor type 与power management,ACPI options)