红联Linux门户
Linux帮助

FC5 超级优化

发布时间:2006-08-11 11:57:27来源:红联作者:kimmy
1)S01sysstat,Reset the system activity logs,重置日志,要。
2)S04readahead_early,This service causes the programs used during startup to be loaded into memory before they are needed,thus improving startup performance。提前缓存启动时要执行的程序,要。
3)S05kudzu,kudzu detects and configures new and/or changed hardware on a system.硬件变更检查,要。
4)S06cpuspeed,Run dynamic CPU speed daemon,监测系统空闲百分比,在系统空闲时将能源消耗降为最小,而在系统繁忙时最大化加快系统执行速度,要。
5)S08arptables_jf,Automates a packet filtering firewall with arptables.防火墙过滤,要。
6)S08iptables,Starts, stops and saves iptables firewall,防火墙,要。
7)S09isdn,Integrated Services Digital Network,综合数字服务网络。提供对isdn设备的支持。不要。
8)S10network, Activates/Deactivates all network interfaces configured to start at boot time.启动激活网络,要。
9)S11auditd,This starts the Linux Auditing System Daemon,系统审计,不要。
10)S12syslog,Syslog is the facility by which many daemons use to log messages to various system log files. It is a good idea to always run syslog.记录日志的公共模块,要。
11)S13irqbalance, The irqbalance daemon will distribute interrupts across the cpus on a multiprocessor system with the purpose of spreading the load.CPU负载均衡服务,单CPU,肯定不用启,不要。
12)S13portmap,The portmapper manages RPC connections, which are used by protocols such as NFS and NIS. The portmap server must be running on machines which act as servers for protocols which make use of the RPC mechanism.守护程序为RPC服务,如NIS和NFS提供动态端口的分配。在需要的时候再启动,不要。
13)S14nfslock,NFS is a popular protocol for file sharing across TCP/IP networks. This service provides NFS file locking functionality.NFS上锁,需要时再启动,不要。
14)S15mdmonitor,software RAID monitoring and management。软RAID监视,暂时没用到,不要。
15)S18rpcidmapd,Starts user-level daemon for NFSv4 that maps user names to UID and GID numbers.rpc的转换,用时再启,不要。
16)S19rpcgssd, Starts user-level daemon that manages RPCSEC GSS contexts for the NFSv4 client.rpc,用时再启,不要。
17)S22messagebus,This is a daemon which broadcasts notifications of system events and other messages. 程序模块间的消息机制,要。
18)S25bluetooth,Bluetooth services for service discovery, authentication, Human Interface Devices, etc.蓝牙服务,不要。
19)S25netfs,Mounts and unmounts all Network File System (NFS), SMB/CIFS (Lan Manager/Windows), and NCP (NetWare) mount points.网络文件系统挂接管理,不要。
20)S26apmd,apmd is used for monitoring battery status and logging it via syslog(8). It can also be used for shutting down the machine when the battery is low.老的电源管理服务,有新的acpid来管理了,不要。
21)S26hidd,Bluetooth Human Interface Device Daemon. Provides keyboard,mouse etc. functionality over Bluetooth.蓝牙的服务,不要。
22)S26lm_sensors,sensors is used for monitoring motherboard sensor values.主板监视,不要。
23)S28autofs, Automounts filesystems on demand。平时光驱等不常用,没必要启动,手工mount即可,不要。
24)S40smartd,Self Monitoring and Reporting Technology (SMART) Daemon,配合smartctl命令可详细检查硬盘,暂时没必要,但留着研究也好,要。
25)S44acpid,Listen and dispatch ACPI events from the kernel。新的电源管理程序,笔记本linux,要。
26)S50hplip, Note, this script file must start before cupsd.Start/stop script for HP Linux Imaging and Printing (HPLIP)必须在CUPS前启动,不用打印服务,可以联同cups一起不要,不要。
27)S55cups,Startup/shutdown script for the Common UNIX Printing System (CUPS).打印服务,不要。
28)S55sshd,OpenSSH server daemon,不提供远程登录,不要。
29)S56xinetd,xinetd is a powerful replacement for inetd.xinetd has access control mechanisms, extensive logging capabilities, the ability to make services available based on time, and can place limits on the number of servers that can be started, among other things.提供一些比如登录服务的总体监控服务,可节省不少资源,也可以不启动,还是要了,要。
30)S85gpm,GPM adds mouse support to text-based Linux applications such as the Midnight Commander. It also allows mouse-based console cut-and-paste operations, and includes support for pop-up menus on the console.我经常要在console下拷贝粘贴,要。
31)S90crond, cron is a standard UNIX program that runs user-specified programs at periodic scheduled times. vixie cron adds a number of features to the basic UNIX cron, including better security and more powerful configuration options.crontab自动任务守护进程,在本机笔记本上,没必要启,要时候再service crond start即可,不要。
32)S90xfs,Starts and stops the X Font Server at boot time and shutdown.It also takes care of (re-)generating font lists.X窗口字体支持,如果是level 5就必须要了,如果没有这个玩意,是启动不了图形的,我会用图形窗口,要启动,要。
33)S95anacron,Run cron jobs that were left out due to downtime。在关机时可执行crontab的任务,自动开关机了,不要。
34)S95atd,Runs commands scheduled by the at command at the time specified when at was run, and runs batch commands when the load average is low enough.底负荷也可批量执行的自动运行服务,不要。
35)S95firstboot,Firstboot is a druid style program that runs on the first time a machine is booted after install. It checks for the existence of an /etc/sysconfig/firstboot file. If it doesn't find the file, then the firstboot program needs to run. If it finds the file, firstboot will not be run. If /etc/reconfigSys exists, run the reconfiguration program and remove /etc/reconfigSys when done.检查是否已经安装过系统吧,不要。
36)S98avahi-daemon, This is a daemon which runs on client machines to perform Zeroconf service discovery on a network. avahi-daemon must be running on systems that use Avahi for service discovery.在线时区服务,不要。
37)S98cups-config-daemon,This is a daemon for configuring printers through D-BUS,都不用CPUS打印服务了,不要。
38)S98haldaemon,This is a daemon for collecting and maintaing information about hardware from several sources.为搜集和维护硬件信息的,可要可不要,要吧。

必要的16个服务:
1)S01sysstat
2)S04readahead_early
3)S05kudzu
4)S06cpuspeed
5)S08arptables_jf
6)S08iptables
8)S10network
10)S12syslog
17)S22messagebus
24)S40smartd
25)S44acpid
29)S56xinetd
30)S85gpm
32)S90xfs
38)S98haldaemon
39)S99local



###setting up service
chkconfig acpid on
chkconfig anacron on
chkconfig apmd on
chkconfig atd on
chkconfig autofs on
chkconfig cupspeed on
chkconfig cround on
chkconfig haldemon on
chkconfig httpd on
chkconfig iptables on
chkconfig irqbalance on
chkconfig mdmominitor on
chkconfig messagebus on
chkconfig network on
chkconfig postgresql on
chkconfig readahead on
chkconfig readahead_early on
chkconfig sendmail on
chkconfig smartd on
chkconfig sshd on
chkconfig syslog on
文章评论

共有 3 条评论

  1. kimmy 于 2006-08-11 12:07:36发表:

    fc5 的psql性能很高! 有机会尝试看看.

  2. kimmy 于 2006-08-11 12:06:39发表:

    改关的都不要开,就没有什么事情,很稳定.

  3. 夏雨 于 2006-08-11 12:01:50发表:

    不错,弱弱的问下,FC耗用系统资源大么,像suse华丽是华丽,跑起来跟耗子似的