OpenVZ Forum


Home » General » Support » Java
Re: Java [message #47462 is a reply to message #47385] Sun, 12 August 2012 19:19 Go to previous message
xaxaxa is currently offline  xaxaxa
Messages: 11
Registered: August 2012
Location: Vancouver, BC
Junior Member
Quote:
I heard that Java performs really bad on OpenVZ. Is that true?

If the kernel is old(non-rhel6 based), or if the hosting provider is still using old beancounters for memory management, then yes.

Quote:
What are the noticeable performance disadvantages?

It's not a performance issue, but usually if vSwap is not used, java wont start.

Quote:
What is the reason for Java does not perform well on OpenVZ?

It's because the old beancounters are based on how much memory programs allocate, even if they never use it. Java tends to allocate a lot of memory on startup, but most of that memory is never used(depending on the application).

If vSwap is used, then java works fine. I'm running a few java apps on my server in an openVZ container, and I've never had issues with it.
 
Read Message
Read Message
Previous Topic: Using NAT for container with private IPs
Next Topic: OpenVPN inside Container
Goto Forum:
  


Current Time: Sun Jul 13 07:55:58 GMT 2025

Total time taken to generate the page: 0.01984 seconds