Improving ORB Performance with Java Serialization ............................................................. 75
Thread Pool Settings ........................................................................................................................... 76
Tuning Thread Pools (Unix /Linux only) ................................................................................. 76
Resources .............................................................................................................................................. 77
JDBC Connection Pool Settings ................................................................................................. 77
Connector Connection Pool Settings ........................................................................................ 80
4 Tuningthe Java RuntimeSystem ......................................................................................................83
Java Virtual Machine Settings ............................................................................................................ 83
Managing Memory and Garbage Collection .................................................................................... 84
Tuning the Garbage Collector .................................................................................................... 84
Tracing Garbage Collection ........................................................................................................86
Other Garbage Collector Settings .............................................................................................. 86
Tuning the Java Heap .................................................................................................................. 87
Rebasing DLLs on Windows ...................................................................................................... 89
Further Information ............................................................................................................................ 91
5 Tuningthe Operating System and Platform ................................................................................... 93
Server Scaling ....................................................................................................................................... 93
Processors ..................................................................................................................................... 93
Memory ......................................................................................................................................... 94
Disk Space ..................................................................................................................................... 94
Networking ................................................................................................................................... 94
Solaris 10 Platform-Specic Tuning Information ........................................................................... 95
Tuning for the Solaris OS ................................................................................................................... 95
Tuning Parameters ...................................................................................................................... 95
File Descriptor Setting ................................................................................................................. 97
Linux Conguration ........................................................................................................................... 97
Tuning for Solaris on x86 ................................................................................................................... 98
File Descriptors ............................................................................................................................ 99
IP Stack Settings ........................................................................................................................... 99
Tuning for Linux platforms ............................................................................................................. 100
File Descriptors .......................................................................................................................... 100
Virtual Memory ......................................................................................................................... 101
Network Interface ...................................................................................................................... 102
Contents
5