Linux Operating System Installation

  

Before installing a Linux system on a hardware system, there are a number of performance issues that need to be considered to help optimize the operating system and the applications that run on it in the future. These issues include: ● Choosing a partition location ● Using multiple hard drives ● Choosing a file system Linux requires at least one root partition and one swap partition. The location of these two partitions and other partitions that require frequent access on the disk will eventually affect System performance. ● For partitions such as var, swap, /var, /usr, and /home, separate partitions are used. ● Most hard disk drives have more sectors on the outer track than on the inner track, so they are on the outer track. Reading data is much faster. The lower-numbered partitions are usually mounted on external tracks (for example, /dev/hda1 is closer to the outer edge of the hard drive than /dev/hda3), so first place the partitions that need to be accessed frequently. ● The first partition should be Swap partition (used to optimize memory swap operations) ● The second partition should be /var because the logging will be written to /var/log frequently ● The next partition should be /usr because the basic system tools and commands are Located in /usr ● The root and /home partitions can reside near the end of the hard drive. Use multiple hard drives and take advantage of multiple hard drives. ● Install frequently accessed partitions on a faster hard drive ● If the performance of these hard drives is similar, install the commonly used partitions on separate hard drives. For example, the /var and /usr partitions are placed on two separate hard drives, and the swap partition is on their own separate hard drive. ● For maximum bus throughput, each hard drive acting as the master should be placed On the I/O channel. After the hard drive moves between different I/O channels, its device name changes, so you need to make changes to the file system table (/etc/fstab). If you are moving a hard drive containing a root or /boot partition, you will also need to edit the /boot/grub/menu.lst file. Filesystem Type ● An improved version of ext4, ext3, provides more performance and reliability, and is more abundant. Features ● ReiserFS for better performance on small files ● XFS for better performance for large files

Copyright © Windows knowledge All Rights Reserved