You are on page 1of 2

1/22/2015

22WaysToJBossPerformanceTuningKushal'sJavaBlog|SoftwareEngineeringBlog

My Photography iCodeJava My Android Apps Site Map

KUSHAL'S JAVA BLOG | SOFTWARE ENGINEERING BLOG


ww w. sa nja al. co m/ja va
Home

Sitemap

SQL Quick Reference

Kushal's Java Blog | Software Engineering Blog JBoss 22 Ways To JBoss Performance Tuning

Performance
DieselPerformance
BEPerformance
PerformanceBike
Ance
PerformanceChips
Chitika | Optout?

Prime Number Finder In Java

Java Tip: How to extract the content of a Jar File Using


Command Prompt

22WaysToJBossPerformanceTuning
January 8, 2015 | JBoss

I found this great article written by F.Marchioni at his website. You can read detailed article at his website by clicking here. This is my all
time favorite reference for tuning up my JBoss.

http://sanjaal.com/java/137/jboss/22waystojbossperformancetuning/

1/8

1/22/2015

22WaysToJBossPerformanceTuningKushal'sJavaBlog|SoftwareEngineeringBlog

I am just providing just a gist of what he is saying regarding the JBoss Performance Tuning.
1. Tune the garbage collector
2. Set xms and xmx to the same value
3. Use server vm
4. Turn off distributed garbage collection
5. Turn on parallel garbage collection
6. Dont use huge heaps, use a cluster
7. Dont choose an heap larger then 70% of your os memory
8. Tune the heap ratio
9. Monitor the free memory with monitors and snapshots
10. Tune the operating system

YouMayAlsoLike...

Java
11. Lots of requests ? Check jboss
thread pool

12. Check the embedded web container

14. lots of ejb requests ? Switch to the poolinvoker

JavaDownload
13. Turn off jsp compilation in production
JavaGames

15. Have you got readonly entity beans ? Tell it to jboss


16. Disable the hot deployer in production

JavaPlugin

17. Configure the ejb container to use cache, when possible.


18. Use cache invalidation in a cluster
for commit option a
JavaScript
19. Synchronize at commit time when possible.
20. Use prepared statement cache
21. Remove services you dont need

UpdateMyJava
JavaCom
JavaApplet
CheckMyJava
FreeMusic
Chitika |

bad
credit
Optout?
installment
loan

22. Tell log4j to shut up !

Bookmark the permalink.


http://sanjaal.com/java/137/jboss/22waystojbossperformancetuning/

2/8

You might also like