JIRA performance on Linux

Hi all,

I understand from reading some threads and also web article that JIRA seems to be running faster on unix machine than windows.

However recently I did a comparison of doing a system restore, one is on a windows app server with a postgreSQL on windows, and the other system is Linux Sles 10 app server with PostgreSQL which run on windows os.

 

The restore only took like 2.5 hours on the Windows system and 5 hours+ on Linux system.

 

Below are their cpu and memory spec for the app server (please note that both systems are virtual machine):

 

Windows :

2 cpu + 4 GB ram

 

Linux

8 cpu + 32 GB ram

 

There must be clearly something wrong here, perhaps my JVM settings ??

I set the windows one with 2GB JVM heap size and 8 GB on the Linux.

 

Im confused now, did I just make the wrong decision in hosting JIRA on linux box ?

 

2 answers

1 vote

No, it's a good decision, but I suspect you've got the right idea when looking at the memory settings.  With java systems, "more memory" is not always a good way to improve things.  It's far more complex than this, but I tend to think a simple way to explain it is "Too large a stack can mean the system getting bogged down in looking after it instead of running the application".   As a general rule you can only really usefully compare performance of a java application running on Windows with the same application running on Linux when they have identical memory and cpu settings (then you'll see you can get up to 25% faster response and update times from the Linux box!)

It's four years old now, but Dan's talk on it at Summit a few years ago is still well worth watching - http://www.adaptavist.com/w/atlassian-performance-tuning/ (Yes, I work for Adaptavist, so I am sneaking in a bit of an advert, but the talk is not a sales pitch, and I did help a bit by being the audience for six rehearsals of it)

Both Linux and Windows are adequately supported by JIRA and JIRA do not necessarily support one environment over another. Performance wise there wouldn't be much difference when both environments are configured properly. This is especially because JIRA runs in a platform-independent java environment, so as long as the server has the required hardware resources (RAM, CPU, Excellent disk speed etc) JIRA should perform similarly in both environment.

Perhaps something to consider would be the general idea that Linux systems often require less RAM to run than windows. This may in some scenarios (especially if you have limited resources) imply that you get more efficient performance from Linux compared to windows. However, this is not necessarily a JIRA or java application specific issue.

For more general references on Supported platforms and requirements please see the following documentation:

Thanks,

Hemant

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Wednesday in Jira

Join our webinar: How 1B+ feature flag events helped us build the new Jira

Every time you release software, there's a bit of risk – that there's a bug, that something breaks, or that the feature doesn't resonate with customers. Feature flagging helps make high stakes s...

134 views 0 3
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you