iii
I. Tuning and Optimizing Red Hat Enterprise Linux for Oracle Database 9i and 10g 1
1. Introduction 3
2. Hardware Architectures and Linux Kernels 5
2.1. General ............................................................................................................... 5
2.2. 32 bit Architecture and the hugemem Kernel .......................................................... 5
2.3. The 64 bit Architecture ......................................................................................... 6
3. Kernel Upgrades 7
4. Kernel Boot Parameters 9
4.1. General ............................................................................................................... 9
4.2. The I/O Scheduler ................................................................................................ 9
5. Memory Usage and Page Cache 11
5.1. Checking the Memory Usage .............................................................................. 11
5.2. Tuning the Page Cache ...................................................................................... 11
6. Swap Space 13
6.1. General .............................................................................................................. 13
6.2. Checking Swap Space Size and Usage ............................................................... 14
7. Setting Shared Memory 15
7.1. Setting SHMMAX Parameter .............................................................................. 15
7.2. Setting SHMMNI Parameter ................................................................................ 16
7.3. Setting SHMALL Parameter ................................................................................ 16
7.4. Removing Shared Memory .................................................................................. 17
8. Setting Semaphores 19
8.1. The SEMMSL Parameter .................................................................................... 19
8.2. The SEMMNI Parameter ..................................................................................... 19
8.3. The SEMMNS Parameter ................................................................................... 19
8.4. The SEMOPM Parameter ................................................................................... 20
8.5. Setting Semaphore Parameters ........................................................................... 20
8.6. An Example of Semaphore Settings .................................................................... 20
9. Setting File Handles 23
10. Adjusting Network Settings 25
10.1. Changing Network Adapter Settings .................................................................. 25
10.2. Changing Network Kernel Settings .................................................................... 25
10.3. Flow Control for e1000 Network Interface Cards ................................................. 26
11. Setting Shell Limits for the Oracle User 27
11.1. Limiting Maximum Number of Open File Descriptors for the Oracle User ............... 27
11.2. Limiting Maximum Number of Processes Available for the Oracle User ................. 28
12. Enabling Asynchronous I/O and Direct I/O Support 31
12.1. Relinking Oracle9i R2 to Enable Asynchronous I/O Support ................................. 31
12.2. Relinking Oracle 10g to Enable Asynchronous I/O Support .................................. 32
12.3. Enabling Asynchronous I/O in Oracle 9i and 10g ................................................ 32
12.4. Tuning Asynchronous I/O for Oracle 9i and 10g .................................................. 33
12.5. Verifying Asynchronous I/O Usage ..................................................................... 34
13. Configuring I/O for Raw Partitions 37
13.1. General ............................................................................................................ 37
13.2. Basics of Raw Devices ..................................................................................... 38
Summary of Contents for CLUSTER SUITE FOR ENTERPRISE LINUX 5.1
Page 7: ...Part I Tuning and Optimizing Red Hat Enterprise Linux for Oracle Database 9i and 10g ...
Page 8: ......
Page 10: ...4 ...
Page 16: ...10 ...
Page 28: ...22 ...
Page 30: ...24 ...
Page 36: ...30 ...
Page 42: ...36 ...
Page 54: ...48 ...
Page 60: ...54 ...
Page 68: ...62 ...
Page 72: ...66 ...
Page 88: ...82 ...
Page 90: ...84 ...
Page 92: ...86 ...
Page 94: ...88 ...
Page 98: ...92 ...
Page 108: ...102 ...
Page 112: ...106 ...
Page 120: ...114 ...
Page 122: ......
Page 128: ...122 ...
Page 132: ...126 ...
Page 134: ...128 ...
Page 142: ...136 ...
Page 146: ...140 ...
Page 156: ...150 ...
Page 160: ...154 ...