Linux Performance Tuning Methods

Source: Internet
Author: User
Article Title: Linux performance tuning methods. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.

According to the tradition, parameters and settings of different Linux distributions and kernels have been changed, so that the system can achieve better performance. The following section describes how to use the following techniques to optimize performance in Red Hat Enterprise Linux AS and suse linux Enterprise Server systems:

QUOTE:
1. Disabling daemons (disable daemons)
2. Shutting down the GUI (Disable GUI)
3. Changing kernel parameters (Change kernel parameters)
4. Kernel parameters (Kernel parameters)
5. Tuning the processor subsystem (processor subsystem Tuning)
6. Tuning the memory subsystem (memory subsystem optimization)
7. Tuning the file system (file system Subsystem Tuning)
8. Tuning the network subsystem (network subsystem optimization)

1. Disable daemons

Some daemons (background services) running on the server are not completely necessary. By disabling these daemons, you can release more memory, reduce startup time, and reduce the number of processes processed by the CPU. Reducing the number of daemons also enhances the security of the server. By default, most servers can safely stop several daemons.

Table 10-1 lists the adjustable processes under Red Hat Enterprise Linux.

Table 10-2 lists the adjustable processes Under suse linux Enterprise Server.

400) {this. resized = true; this. width = 400; this. alt = 'click here to open new window';} "border = 0>

Note: disabling xfs daemon will result in the failure to start X. Therefore, you can disable xfs daemon only when you do not need to start GUI graphics. Run the startx command to enable xfs daemon and resume normal start of X.

400) {this. resized = true; this. width = 400; this. alt = 'click here to open new window';} "border = 0>

You can stop a process as needed. To stop the sendmail process, enter the following command:

Red Hat:/sbin/service sendmail stop

Suse linux:/etc/init. d/sendmail stop

You can also configure whether to automatically start a process at the next startup or sendmail:

Red Hat:/sbin/chkconfig sendmail off

Suse linux:/sbin/chkconfig-s sendmail off

In addition, LINUX provides a graphical process management function. For Red Hat, run the following command to start the GUI:/usr/bin/redhat-config-services or click Main Menu-> System Settings->

Server Settings-> Services.

400) {this. resized = true; this. width = 400; this. alt = 'click here to open new window';} "border = 0 resized =" true ">

[1] [2] [3] [4] [5] Next page

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.