Operating System Tuning

Issue Faced

Overview:
We are getting less performance with our setup. We were using windows 2003, 32 bit Server edition, with 32 bit java. We are not able to allocate high heap for JVM.



Context:
Usually Operating systems have different editions for specific class of machines. E.g.: Standard edition, Enterprise edition, Server edition, 32-64 bit etc. These editions vary in features & utilities. For server class machines enterprise server editions are recommended. Also OS 32/64 bit feature decides the maximum supportable RAM. For 32 bit OS it is limited to 4GB. Among this 4GB, JVM can use only 2GB at max due to some technical constraints.


Solution:
-          Switching to 64 bit OS allows us to access RAM in range of terabytes
-          Switching to 64 bit java allows us to allocate more heap memory
-          Currently we are getting high performance with this setup


Other Recommendations:
-          Try to use server edition of OS on server class machines
-          Check how much memory they can support
-          Make sure that your system hard drives have sufficient free memory. Minimum space equal to the available RAM size is recommended.
-          In the following table, the increased maximum resources of computers that are based on 64-bit versions of Windows and the 64-bit Intel processor are compared with existing 32-bit resource maximums.

Architectural component
64-bit Windows
32-bit Windows
Virtual memory
16 terabytes
4 GB
Paging file size
256 terabytes
16 terabytes
Hyperspace
8 GB
4 MB
Paged pool
128 GB
470 MB
Non-paged pool
128 GB
256 MB
System cache
1 terabyte
1 GB
System PTEs
128 GB
660 MB


References:

No comments:

Post a Comment