Analysis of Linux installation performance problems

Source: Internet
Author: User
Analysis of Linux installation performance issues before installing a Linux system on a hardware system, you need to consider many performance issues that will help optimize the operating system and the applications running on it in the future. These problems include: selecting the partition location to use multiple hard drive select File System Linux requires at least one roo...
Analysis of Linux installation performance issues before installing a Linux system on a hardware system, you need to consider many performance issues that will help optimize the operating system and the applications running on it in the future. These problems include: selecting a partition location using multiple hard drives to select a file system Linux requires at least one root partition and one swap partition, the installation location of these two partitions and other partitions that require frequent access on the disk will ultimately affect the system performance. Www.2cto.com uses separate partitions for var, swap,/var,/usr,/home, and other partitions. most disk disks on the hard drive package more sectors on the outer track than on the inner track, therefore, reading data from the external track is much faster. Generally, a partition with a lower number is installed on an external track (for example,/dev/hda1 is closer to the outer edge of the hard drive than/dev/hda3 ), therefore, the first partition that requires frequent access should be a swap partition (used to optimize memory swap operations). the Second Partition should be/var, because log records are frequently written to/var/log, the next partition should be/usr, because the basic system tools and commands are located in the root and/home partitions of/usr, multiple hard drives can be used to reside near the end of the hard drive, make full use of multiple hard drives. Www.2cto.com installs frequently accessed partitions on faster hard drive. if the performance of these hard drive is similar, the commonly used partitions are installed on different hard drive. For example, the/var and/usr partitions are respectively placed on two different hard drive, while the swap partition is located on its own independent hard drive for the maximum bus throughput, each hard drive acting as the primary device should be placed on the I/O channel. After the hard drive is moved between different I/O channels, the device name changes. Therefore, you need to change the file system table (/etc/fstab) accordingly. If you want to move a hard drive that contains the root or/boot partition, you also need to edit/boot/grub/menu. the optimized version of the lst file system, ext4 and ext3, provides more performance and reliability, and provides richer features, such as ReiserFS, which provides better performance for small files. XFS, for large files with better performance from 51cto network
Related Article

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.