3. Bandwidth and Processing Power ............................................................................................... 31
3.1. Bandwidth ........................................................................................................................ 31
3.1.1. Buses ................................................................................................................. 31
3.1.2. Datapaths........................................................................................................... 32
3.1.3. Potential Bandwidth-Related Problems ............................................................ 32
3.1.4. Potential Bandwidth-Related Solutions ............................................................ 33
3.1.5. In Summary. . . .................................................................................................. 33
3.2. Processing Power ............................................................................................................. 34
3.2.1. Facts About Processing Power.......................................................................... 34
3.2.2. Consumers of Processing Power....................................................................... 34
3.2.3. Improving a CPU Shortage ............................................................................... 35
3.3. Red Hat Enterprise Linux-Specific Information .............................................................. 38
3.3.1. Monitoring Bandwidth on Red Hat Enterprise Linux....................................... 38
3.3.2. Monitoring CPU Utilization on Red Hat Enterprise Linux .............................. 39
3.4. Additional Resources ....................................................................................................... 43
3.4.1. Installed Documentation ................................................................................... 43
3.4.2. Useful Websites ................................................................................................ 43
3.4.3. Related Books ................................................................................................... 44
4. Physical and Virtual Memory ...................................................................................................... 45
4.1. Storage Access Patterns ................................................................................................... 45
4.2. The Storage Spectrum ...................................................................................................... 45
4.2.1. CPU Registers ................................................................................................... 46
4.2.2. Cache Memory .................................................................................................. 46
4.2.3. Main Memory — RAM .................................................................................... 47
4.2.4. Hard Drives ....................................................................................................... 48
4.2.5. Off-Line Backup Storage .................................................................................. 49
4.3. Basic Virtual Memory Concepts ...................................................................................... 49
4.3.1. Virtual Memory in Simple Terms ..................................................................... 49
4.3.2. Backing Store — the Central Tenet of Virtual Memory ................................... 50
4.4. Virtual Memory: The Details ........................................................................................... 50
4.4.1. Page Faults ........................................................................................................ 51
4.4.2. The Working Set ............................................................................................... 52
4.4.3. Swapping........................................................................................................... 52
4.5. Virtual Memory Performance Implications ..................................................................... 52
4.5.1. Worst Case Performance Scenario .................................................................... 53
4.5.2. Best Case Performance Scenario ...................................................................... 53
4.6. Red Hat Enterprise Linux-Specific Information .............................................................. 53
4.7. Additional Resources ....................................................................................................... 56
4.7.1. Installed Documentation ................................................................................... 56
4.7.2. Useful Websites ................................................................................................ 56
4.7.3. Related Books ................................................................................................... 57
5. Managing Storage ......................................................................................................................... 59
5.1. An Overview of Storage Hardware.................................................................................. 59
5.1.1. Disk Platters ...................................................................................................... 59
5.1.2. Data reading/writing device .............................................................................. 59
5.1.3. Access Arms ..................................................................................................... 60
5.2. Storage Addressing Concepts .......................................................................................... 61
5.2.1. Geometry-Based Addressing ............................................................................ 61
5.2.2. Block-Based Addressing ................................................................................... 62
5.3. Mass Storage Device Interfaces ....................................................................................... 63
5.3.1. Historical Background ...................................................................................... 63
5.3.2. Present-Day Industry-Standard Interfaces ........................................................ 64
5.4. Hard Drive Performance Characteristics ......................................................................... 66
5.4.1. Mechanical/Electrical Limitations .................................................................... 67
5.4.2. I/O Loads and Performance .............................................................................. 68