SUSE Linux tuning for Java

bdorsey63
bdorsey63 used Ask the Experts™
on
I have a very chatty java application  which I am going to run on a SUSE Enterprise server. The server is running on ESX and is very beefy hardware. There will be a few user connecting, but not much more than a handful.

I want to tun the server to run 3-4 java heaps about 4GB.

Where would I start tuning?

Which Kernel parms?

Anyone know some good linux tuning books? Or java tuning with OS kernel tuning in it?
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Top Expert 2011
Commented:
Top Expert 2011
Commented:

This one is good by classifying the hardare spec:
http://wiki.alfresco.com/wiki/JVM_Tuning
Kerem ERSOYPresident
Commented:
Hi,

I really don't understand what yu mean. If you want to run JVM over any system you don't need to tune the system itself. JVM runs on its own layer and this is over the OS. So the JVM tuning has nothing to do with the OS or kernel tuning.

On the other hand ESX runs over the full kernel emulation and there's no way your JVM tell the difference and somehow understand that it is actually running over emulated hardware and not a n actual hardware.

Since you want to have 3-4 Java heaps of 4 GB each you'll need x64 (AMD64)  version since x32 would support only 4 GB. Your configuration would require you to have at least 18 - 20 GB of memory of your ESX. Recently ESX 5 has removed any restrictions on Core and Memory limitations and it does not seem that there's any limitation to keep you from allocating this memory for your guest.

Cheers,
K.
 
Kerem ERSOYPresident
Commented:
Also you might like to check this article to tune the garbage collection for your JVM which is often very crucial.

http://developer.amd.com/documentation/articles/assets/GarbageCollectionTuningforHadoopTeraSort.pdf

You'll need to pick a x64 JVM though. BTW you did not mention on which application server you'd like to run this application..

Cheers,
K.

Author

Commented:
Thanks everyone

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial