Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

there's some specific tuning JVM configuration for AmazonWS/EC2 building blocks (small, large...)?

Somebody have suggestions for tuning JVM running on these machine profiles?


And Past

share|improve this question

This is highly application specific, and really has little to do with EC2 specifically. The only difference on EC2 versus a regular server is that performance is not guaranteed--so pick some safe values and load test.

That being said, here are a few links to get you started:

But you'll get much better mileage if you find something specific to your Java application.

share|improve this answer
We have a custom JVM configuration that works fine on physical machines. But, when we deploy these same options on EC2 instances, it works different. I think that configure just the application level, all issues are not solved, considering, as you said, that performance is not guaranteed. We need something new about performance over a shared CPU. These links are well known, already, when we need to optimize physical machines – apast Dec 7 '11 at 23:59
Well, like I said, you'll need to set values and test them on EC2. What you want to look for is average performance--since you're going to see a lot of fluctuations, you'll need to figure out how many users you can expect EC2 to safely handle, and that requires load testing. – Andrew M. Dec 8 '11 at 1:28

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.