Administrator’s Command Line Guide

Table Of Contents
Chapter 6. Maximizing Cluster Performance
Note:
1. Make sure to enter the correct values in the IPADDR and PREFIX lines.
2. The balance-xor mode is recommended, because it offers both fault tolerance and better perfor-
mance. For more details, see the documents listed below.
3. Make sure the configuration file of each Ethernet interface you want to bond (e.g., /etc/sysconfig/network-
scripts/ifcfg-eth0) contains the lines shown in this example:
DEVICE=”eth0”
BOOTPROTO=none
NM_CONTROLLED=”no”
ONBOOT=”yes”
TYPE=”Ethernet”
HWADDR=xx:xx:xx:xx:xx:xx
MASTER=bond0
SLAVE=yes
USERCTL=no
4. Bring up the bond0 interface:
# ifup bond0
5. Use dmesg output to verify that bond0 and its slave Ethernet interfaces are up and links are ready.
Note: More information on network bonding is provided in the Red Hat Enterprise Linux Deployment
Guide and Linux Ethernet Bonding Driver HOWTO.
6.5 Improving High-Capacity HDD
Performance
Unlike older hard disks with 512-byte sectors, many modern HDDs (3TB and more in capacity) use 4KB physical
sectors. In certain cases, this can greatly reduce system performance (by 3-4 times) due to extra Read-Modify-
Write (RMW) cycles required to align the source write request. Why this happens? When an operating system
68