|
|
先说说基本的硬件情况:
CPU:Dual-Core AMD Opteron 265 [双核] 一颗
主板:ASUS K8N-DL [nVIDIA nForce 4 Pro 芯片组]
内存:2G DDR400 ECC reg
硬盘接口:ATA 100(2), S-ATA II(4)[支持NCQ,RAID]
另外,板载Silicon Image Sil3114芯片也可提供4个SATA的RAID 0、1、0+1
硬盘:3个sata[NCQ],两个做raid-0,一个做备份和专门记录日志
网卡:板载Broadcom BCM5751 PCI-Express 千兆以太网控制器
显卡:板载 ATI RAGE XL (pci)
软件情况:只需要搭一个完整的apache+mysql+php的环境即可
内核版本:2.6.14-rc2 [由于是实战前的玩玩,所以只考虑最新,未考虑稳定]
==================================
下面将编译内核过程中小弟不懂的和难以取舍的选项以及相关问题列出来,由于是第一次编译内核,问题多多,望各位大虾就自己熟悉的某一方面问题给点意见和建议 :thank
==================================
General setup --->
-------------------
[?] BSD Process Accounting {这个是必须的吗?不选可以吗?}
Configure standard kernel features (for small systems) --->
[?] Enable eventpoll support {哪些程序要用它,可以不选吗?}
----------------------------------------
Processor type and features --->
----------------------------------
Processor family (Opteron/Athlon64/Hammer/K8) --->
Symmetric multi-processing support {已选}
<?> /dev/cpu/*/msr - Model-specific register support{我是smp系统,但是怎么看也不明白这是什么用处,可以不选它吗?不选它会影响性能或稳定性吗?}
[?] Use register arguments (EXPERIMENTAL) {虽然是试验性的,但是我用的是gcc3.4.4,安全吗?有没有那位用过这个选项?说说感受也好 }
-----------------------------------------
Power management options (ACPI, APM) --->
-----------------------------------
Power Management support{已选}
ACPI Support{已选}
<*> Processor (NEW) {已选}
<*> Thermal Zone (NEW) {已选}
CPU Frequency scaling --->
CPU Frequency scaling {已选}
<?> 'conservative' cpufreq governor (NEW) {这个挺好,如何让他变成默认值?}
----------------------------------------
Bus options (PCI, PCMCIA, EISA, MCA, ISA) --->
------------------------------
PCI Express support {我有PCI Express千兆网卡,所以选了}
[?] Message Signaled Interrupts (MSI and MSI-X) {这个可以不选么?选与不选对性能和稳定性的影响如何?}
<?> Support for PCI Hotplug{即使我的PCI设备支持热插拔,我是否也可以不选它?}
----------------------------------------
Networking options --->
----------------------------
<*> Packet socket {已选}
Packet socket: mmapped IO {已选}
<*> Unix domain sockets {已选}
< > IPsec user configuration interface {暂时还用不上IPsec,未选}
<?> PF_KEY sockets {是否不用IPsec就可以不选它?}
TCP/IP networking {已选}
{//下面这些都没有选,安全吗?有没有漏掉必要的功能?
[ ] IP: multicasting {未选}
[ ] IP: advanced router {未选}
[ ] IP: policy routing {未选}
[ ] IP: equal cost multipath {未选}
[ ] IP: verbose route monitorin {未选}
[ ] IP: kernel level autoconfiguration {未选}
< > IP: tunneling {未选}
< > IP: GRE tunnels over IP {未选}
[ ] IP: multicast routing {未选}
[ ] IP: ARP daemon support {未选}
< > IP: AH transformation {未选}
< > IP: ESP transformation {未选}
< > IP: IPComp transformation {未选}
< > IP: tunnel transformation {未选}
[ ] TCP: advanced congestion control {未选}
IP: Virtual Server Configuration {未选} --->
< > The IPv6 protocol {未选}
DCCP Configuration (EXPERIMENTAL) {未选} --->
SCTP Configuration (EXPERIMENTAL) {未选} --->
< > Asynchronous Transfer Mode (ATM) (EXPERIMENTAL) {未选}
< > 802.1d Ethernet Bridging {未选}
< > 802.1Q VLAN Support {未选}
< > DECnet Support {未选}
< > ANSI/IEEE 802.2 LLC type 2 Support {未选}
< > The IPX protocol {未选}
< > Appletalk protocol support {未选}
< > CCITT X.25 Packet Layer (EXPERIMENTAL) {未选}
< > LAPB Data Link Driver (EXPERIMENTAL) {未选}
[ ] Frame Diverter (EXPERIMENTAL) {未选}
< > Acorn Econet/AUN protocols (EXPERIMENTAL) {未选}
< > WAN router {未选}
[ ] QoS and/or fair queueing {未选} --->
Network testing {未选} --->
}
[?] IP: TCP syncookie support {这个究竟能在多大程度上防止SYN-Flood?有人用过吗?假如不存在SYS-Flood的话是不是降低了客户端的连接速度?}
[?] Network packet filtering (replaces ipchains) {我的机器既不是路由又不是网关更不是专用防火墙,只是一台普通web服务器(当然安全还是要考虑的),这个选项有用吗?}
-------------------------------------
Device Drivers --->
----------------------
<?> Connector - unified userspace <-> kernelspace linker {看不懂,这个是什么东西?有什么用处?选和不选有什么不同呢?是不是和无盘工作站有什么关系?}
--------
Plug and Play support --->
[?] Plug and Play support {不选可以吗?直接在BIOS中配置可以吗?}
[?] Plug and Play ACPI support (EXPERIMENTAL) (NEW) {如果上面选了,这里可以不选可以吗?会有什么影响?}
-------
Block devices {块设备} --->
IO Schedulers {IO调度器} --->
< > Anticipatory I/O scheduler
<*> Deadline I/O scheduler {只选这一个,其他两个都不选可以吗?}
< > CFQ I/O scheduler
---------
<*> ATA/ATAPI/MFM/RLL support
PCI IDE chipset support
<?> Generic PCI IDE Chipset Support {如果找到对应的芯片组,可以不选它吗?}
---------
SCSI device support --->
<?> RAID Transport Class {我用的是sata raid,是否这里也必须要选呢?}
[?] legacy /proc/scsi/ support {帮助说有些老程序需要他,那么哪些服务器端常用程序需要他呢?}
--------
Multiple devices driver support (RAID and LVM) {已选}
<*> RAID support {软件RAID支持,已选}
<?> Multipath I/O support {多路IO支持,选这个有什么好处?可以不选吗?}
<?> Device mapper support {我不用LVM,可以不选它吗?}
---------
Input device support --->
Hardware I/O ports --->
<?> Raw access to serio ports {这是啥玩艺?我只用键盘,可以不选吗?}
---------
Character devices {字符设备} --->
[?] HPET - High Precision Event Timer {这有什么用,可以不选吗?}
<?> Hangcheck timer {有什么用处呢?若要使用它,需要额外的程序吗?}
---------------------------------------
File systems --->
------------
Pseudo filesystems --->
[?] HugeTLB file system support {取代bigpages的一项新技术,是什么东西?需要吗?}
<?> Relayfs file system support (NEW) {它是干什么的,什么场合需要它?}
Partition Types {磁盘分区类型,据说下面的选项可以全不要,是这样吗?} --->
Advanced partition selection {若只有一个linux系统,可以不选这个大项吗?}
----------------------------------------
Security options {这个大项下面的内容我全部没有选,可以通过正确的系统设置同样保证系统有很高的安全度吗?} --->
----------------------------------------
Cryptographic options {这个大项可以全不选吗?} --->
-----------------
Cryptographic API {若必须选某些选项,那么下面的选项哪些必选呢?我下面这样的选择可以吗?}
[ ] HMAC support
< > Null algorithms
< > MD4 digest algorithm
<M> MD5 digest algorithm
<M> SHA1 digest algorithm
<M> SHA256 digest algorithm
<M> SHA384 and SHA512 digest algorithms
< > Whirlpool digest algorithms
< > Tiger digest algorithms
< > DES and Triple DES EDE cipher algorithms
< > Blowfish cipher algorithm
< > Twofish cipher algorithm
< > Serpent cipher algorithm
<M> AES cipher algorithms (i586)
< > CAST5 (CAST-128) cipher algorithm
< > CAST6 (CAST-256) cipher algorithm
< > TEA and XTEA cipher algorithms
< > ARC4 cipher algorithm
< > Khazad cipher algorithm
< > Anubis cipher algorithm
< > Deflate compression algorithm
< > Michael MIC keyed digest algorithm
<M> CRC32c CRC algorithm
< > Testing module
----------------------------------------
Library routines {下面的4个哪个是必须的呢?都不选可以吗?} --->
---------------
<?> CRC-CCITT functions {未选}
<?> CRC16 functions (NEW) {未选}
<?> CRC32 functions {未选}
<?> CRC32c (Castagnoli, et al) Cyclic Redundancy-Check {未选}
======================================= |
|