SlideShare a Scribd company logo
JBoss EAP 6
Performance Tuning
Praveen Adupa – Middleware Solutions Architect
Agenda
●
Performance Tuning
– JVM Tuning
– EAP6 Tuning (Web, EJB, JDBC, Logging etc.)
– Monitoring Tools
Performance Tuning Principles
●
Understand your Application performance
requirements
●
Plan for peaks, not averages
●
Always instrument your application
●
Understand where your application spends its time
●
Replicate or model your production environment
JVM Tuning
JVM Tuning – Two types of GC
JVM Tuning – Basic Steps
JVM Tuning – Tune JVM Heap
JVM Tuning – Tune JVM Heap
JVM Tuning – Tune JVM Heap
JVM Tuning – Tune JVM Heap
JVM Tuning – Tune Young/Tenured Gen
JVM Tuning – Tune Young/Tenured Gen
JVM Tuning – Tune the GC algorithm
JVM Tuning – Serial Collector
JVM Tuning – Parallel collector
JVM Tuning – Concurrent Collector
JVM Tuning – G1(Garbage First) collector
● G1 is low pause, low latency Garbage Collector
– One Large contiguous Heap Space split into fixed sized regions.
– Intended to be a long term replacement of CMS
– Officially supported as of 7u4, EAP 5.2 and EAP6.
● G1 is concurrent, Parallel and compacting
– Concurrent for Refinement, Marking, cleanup
– Parallel for STW pauses
– On the Go Heap compaction
● Use When
– Heaps Larger than 4GB
– Faster and High performance over other GC Types with
– Uses more memory and CPU than other GC types.
JVM Tuning – Other JVM Settings
- Use Large Pages for Memory intensive application
(-XX:+UseLargePages)
- Server mode (- server)
- AgressiveOpts ( -XX:+AggressiveOpts)
- Thread Stack size (-Xss128k)
EAP6 Tuning
1. Tune Configuration
2. Tune JDBC pools
3. Tune EJB pools
4. Tune Web pools
EAP6 Configuration Tuning
1. Slim the Configuration
- unused profiles
- unused data-sources (for ex. ExampleDS, H2 Driver)
- unused Subsystems (for ex. Mail, Messaging, Modcluster)
2. Separate Application logging from Server logging.
3. Deploy Using CLI
4. Turn off hot deployment scanner
5. Use Modules (database drivers, shared libraries etc.)
EAP6 Tuning – Tuning JDBC Pools
EAP6 Tuning – Tuning JDBC Pools
EAP6 Tuning – Tuning JDBC Pools
EAP6 Tuning – Tuning JDBC Pools
EAP6 Tuning – Tuning EJB pools
EAP6 Tuning – Tuning EJB pools
EAP6 Tuning – Tuning the Web pools
EAP6 Tuning – Tuning the Web pools
EAP6 Tuning – Log performance Tuning
EAP6 Tuning – Log performance Tuning
EAP6 Tuning – Log performance Tuning
EAP6 Tuning – Log performance Tuning
EAP6 Tuning – Log performance Tuning
Monitoring Tools - JMX
1. VisualVM (for monitoring/troubleshooting/profiling)
2. JBoss Operations Network (for Monitoring/metrics collection/alerting)
3. Third party Monitoring Tools (Introscope, AppDynamics etc.)
EAP6 Monitoring Tools – Profilers and Others
● Profilers (jProfiler, yourkit)
● Thread Dumps
– https://access.redhat.com/knowledge/solutions/18178
● Heap Dumps /Analyzer
– Eclipse Memory Analyzer http://www.eclipse.org/mat/
– https://access.redhat.com/knowledge/solutions/21109
● GC Logging
– GCViewer
– https://access.redhat.com/knowledge/solutions/18656
6/9/16
Thank You
Software Patching
● Understand the needs and goals in your environment
● Use some sort of change control process or tool
● Apply patches on a "need only" basis
● Inspect and read all documentation regarding the patch
● Ensure consistency across all patch repository
● Testing
● Roll-back strategy
● Try not to get behind on patches
Security Advisories
● Subscribe to appropriate advisory notification:
– https://access.redhat.com/security/updates/advisory/
● CVE Database
– https://access.redhat.com/security/cve/

More Related Content

PDF
Nursing care process (askep) turp syndrome
PPTX
Larinks kanseri vaka inceleme sunumu ve beslenme tedavisi
PPT
Tek Akciğer Ventilasyonu
DOC
86960608 referat-sirosis-hepatis
PPT
Akg(fazlası için www.tipfakultesi.org)
DOCX
Hasil sidang ppki
PPT
İskemi̇k Serebrovasküler Hastaliklar
PPT
Neonatal Resusitasyon NRP
Nursing care process (askep) turp syndrome
Larinks kanseri vaka inceleme sunumu ve beslenme tedavisi
Tek Akciğer Ventilasyonu
86960608 referat-sirosis-hepatis
Akg(fazlası için www.tipfakultesi.org)
Hasil sidang ppki
İskemi̇k Serebrovasküler Hastaliklar
Neonatal Resusitasyon NRP

What's hot (11)

PDF
Resüsitasyonun sonlandırılması ve ölüm kararı
PPTX
presentasi kasus calcaneus spur.pptx
PPTX
keselamatan dan kesehatan kerja di kamar operasi
PDF
Zbigniew szkulmowski. miejsce wentylacji nieinwazyjnej w wentylacji domowej
PPTX
PPT Sidang Skripsi.pptx
PPT
Pengenalan Dasar Visual Basic - bagian 3
PPTX
2. Teks cerita fantasi.pptx
PPTX
Materi 17 Pupuh
DOCX
Makalah bahaya narkoba 2
PDF
How I perform my Paravertebral Blocks for breast surgery
Resüsitasyonun sonlandırılması ve ölüm kararı
presentasi kasus calcaneus spur.pptx
keselamatan dan kesehatan kerja di kamar operasi
Zbigniew szkulmowski. miejsce wentylacji nieinwazyjnej w wentylacji domowej
PPT Sidang Skripsi.pptx
Pengenalan Dasar Visual Basic - bagian 3
2. Teks cerita fantasi.pptx
Materi 17 Pupuh
Makalah bahaya narkoba 2
How I perform my Paravertebral Blocks for breast surgery
Ad

Viewers also liked (14)

PDF
JBoss Enterprise Application Platform 6 Troubleshooting
PPTX
Jboss Tutorial Basics
PDF
JBoss Application Server 7
PDF
JBoss AS / EAP and Java EE6
PPTX
JBoss AS 7
PDF
JBoss EAP / WildFly, State of the Union
PDF
JBoss at Work: Using JBoss AS 6
PDF
How To Get The Most Out Of Your Hibernate, JBoss EAP 7 Application (Ståle Ped...
PDF
JBoss started guide
PDF
Monitoring your technology stack with New Relic
DOCX
Ibm web sphere application server interview questions
PPTX
WebSphere App Server vs JBoss vs WebLogic vs Tomcat (InterConnect 2016)
PDF
IBM MQ V9 Overview
ODP
JBoss EAP 6 - Start / Application Deployment Process
JBoss Enterprise Application Platform 6 Troubleshooting
Jboss Tutorial Basics
JBoss Application Server 7
JBoss AS / EAP and Java EE6
JBoss AS 7
JBoss EAP / WildFly, State of the Union
JBoss at Work: Using JBoss AS 6
How To Get The Most Out Of Your Hibernate, JBoss EAP 7 Application (Ståle Ped...
JBoss started guide
Monitoring your technology stack with New Relic
Ibm web sphere application server interview questions
WebSphere App Server vs JBoss vs WebLogic vs Tomcat (InterConnect 2016)
IBM MQ V9 Overview
JBoss EAP 6 - Start / Application Deployment Process
Ad

Similar to EAP6 performance Tuning (20)

PDF
OOW09 Ebs Tuning Final
PDF
071410 sun a_1515_feldman_stephen
PDF
New Features of Java7 SE
PDF
OOW15 - Getting Optimal Performance from Oracle E-Business Suite
PPTX
Speed up your XPages Application performance
PDF
Weblogic performance tuning1
PDF
Weblogic Cluster performance tuning
PDF
Magento scalability from the trenches (Meet Magento Sweden 2016)
PDF
OOW16 - Getting Optimal Performance from Oracle E-Business Suite [CON6711]
PDF
Java EE 6 workshop at Dallas Tech Fest 2011
PDF
OTM Performance Review and Benchmarking
PDF
Weblogic Cluster advanced performance tuning
PDF
Weblogic performance tuning2
PDF
Know More About Rational Performance - Snehamoy K
PDF
3 know more_about_rational_performance_tester_8-1-snehamoy_k
 
PPTX
Preparing for Upgrade to SharePoint 2010 with Joel Oleson Quest Software Webcast
PDF
Java Webinar #12: "Java Versions and Features: Since JDK 8 to 16"
PDF
Application Architecture Trends
PDF
SharePoint Performance Optimization In 10 Steps for the IT Professional
PDF
Java Performance and Profiling
OOW09 Ebs Tuning Final
071410 sun a_1515_feldman_stephen
New Features of Java7 SE
OOW15 - Getting Optimal Performance from Oracle E-Business Suite
Speed up your XPages Application performance
Weblogic performance tuning1
Weblogic Cluster performance tuning
Magento scalability from the trenches (Meet Magento Sweden 2016)
OOW16 - Getting Optimal Performance from Oracle E-Business Suite [CON6711]
Java EE 6 workshop at Dallas Tech Fest 2011
OTM Performance Review and Benchmarking
Weblogic Cluster advanced performance tuning
Weblogic performance tuning2
Know More About Rational Performance - Snehamoy K
3 know more_about_rational_performance_tester_8-1-snehamoy_k
 
Preparing for Upgrade to SharePoint 2010 with Joel Oleson Quest Software Webcast
Java Webinar #12: "Java Versions and Features: Since JDK 8 to 16"
Application Architecture Trends
SharePoint Performance Optimization In 10 Steps for the IT Professional
Java Performance and Profiling

EAP6 performance Tuning

  • 1. JBoss EAP 6 Performance Tuning Praveen Adupa – Middleware Solutions Architect
  • 2. Agenda ● Performance Tuning – JVM Tuning – EAP6 Tuning (Web, EJB, JDBC, Logging etc.) – Monitoring Tools
  • 3. Performance Tuning Principles ● Understand your Application performance requirements ● Plan for peaks, not averages ● Always instrument your application ● Understand where your application spends its time ● Replicate or model your production environment
  • 5. JVM Tuning – Two types of GC
  • 6. JVM Tuning – Basic Steps
  • 7. JVM Tuning – Tune JVM Heap
  • 8. JVM Tuning – Tune JVM Heap
  • 9. JVM Tuning – Tune JVM Heap
  • 10. JVM Tuning – Tune JVM Heap
  • 11. JVM Tuning – Tune Young/Tenured Gen
  • 12. JVM Tuning – Tune Young/Tenured Gen
  • 13. JVM Tuning – Tune the GC algorithm
  • 14. JVM Tuning – Serial Collector
  • 15. JVM Tuning – Parallel collector
  • 16. JVM Tuning – Concurrent Collector
  • 17. JVM Tuning – G1(Garbage First) collector ● G1 is low pause, low latency Garbage Collector – One Large contiguous Heap Space split into fixed sized regions. – Intended to be a long term replacement of CMS – Officially supported as of 7u4, EAP 5.2 and EAP6. ● G1 is concurrent, Parallel and compacting – Concurrent for Refinement, Marking, cleanup – Parallel for STW pauses – On the Go Heap compaction ● Use When – Heaps Larger than 4GB – Faster and High performance over other GC Types with – Uses more memory and CPU than other GC types.
  • 18. JVM Tuning – Other JVM Settings - Use Large Pages for Memory intensive application (-XX:+UseLargePages) - Server mode (- server) - AgressiveOpts ( -XX:+AggressiveOpts) - Thread Stack size (-Xss128k)
  • 19. EAP6 Tuning 1. Tune Configuration 2. Tune JDBC pools 3. Tune EJB pools 4. Tune Web pools
  • 20. EAP6 Configuration Tuning 1. Slim the Configuration - unused profiles - unused data-sources (for ex. ExampleDS, H2 Driver) - unused Subsystems (for ex. Mail, Messaging, Modcluster) 2. Separate Application logging from Server logging. 3. Deploy Using CLI 4. Turn off hot deployment scanner 5. Use Modules (database drivers, shared libraries etc.)
  • 21. EAP6 Tuning – Tuning JDBC Pools
  • 22. EAP6 Tuning – Tuning JDBC Pools
  • 23. EAP6 Tuning – Tuning JDBC Pools
  • 24. EAP6 Tuning – Tuning JDBC Pools
  • 25. EAP6 Tuning – Tuning EJB pools
  • 26. EAP6 Tuning – Tuning EJB pools
  • 27. EAP6 Tuning – Tuning the Web pools
  • 28. EAP6 Tuning – Tuning the Web pools
  • 29. EAP6 Tuning – Log performance Tuning
  • 30. EAP6 Tuning – Log performance Tuning
  • 31. EAP6 Tuning – Log performance Tuning
  • 32. EAP6 Tuning – Log performance Tuning
  • 33. EAP6 Tuning – Log performance Tuning
  • 34. Monitoring Tools - JMX 1. VisualVM (for monitoring/troubleshooting/profiling) 2. JBoss Operations Network (for Monitoring/metrics collection/alerting) 3. Third party Monitoring Tools (Introscope, AppDynamics etc.)
  • 35. EAP6 Monitoring Tools – Profilers and Others ● Profilers (jProfiler, yourkit) ● Thread Dumps – https://access.redhat.com/knowledge/solutions/18178 ● Heap Dumps /Analyzer – Eclipse Memory Analyzer http://www.eclipse.org/mat/ – https://access.redhat.com/knowledge/solutions/21109 ● GC Logging – GCViewer – https://access.redhat.com/knowledge/solutions/18656
  • 37. Software Patching ● Understand the needs and goals in your environment ● Use some sort of change control process or tool ● Apply patches on a "need only" basis ● Inspect and read all documentation regarding the patch ● Ensure consistency across all patch repository ● Testing ● Roll-back strategy ● Try not to get behind on patches
  • 38. Security Advisories ● Subscribe to appropriate advisory notification: – https://access.redhat.com/security/updates/advisory/ ● CVE Database – https://access.redhat.com/security/cve/