Essentials of Java Performance Tuning. Dr Heinz Kabutz Kirk Pepperdine Sun Java Champions
|
|
|
- Ursula Thornton
- 10 years ago
- Views:
Transcription
1 Essentials of Java Performance Tuning Dr Heinz Kabutz Kirk Pepperdine Sun Java Champions
2 Our Typical Story Customer JoGoSlo Ltd calls us in desperation > Millions of Rands invested > Users complain about poor performance > Customers consider abandoning the project Developers in a panic > 6 man months already invested with no results > Can almost reproduce the problem > Still had some ideas what to do > However management has lost confidence We have 5 days to diagnose problem
3 Solve All Your Performance Problems
4 Speakers Kirk Pepperdine > Engaged around the world to solve Java performance problems >
5 Speakers Heinz Kabutz > The Java Specialists Newsletter > Based in Cape Town >
6 Project in Crisis What do people do under stress? > Decision making skills are much impaired > Not in learning mode > Almost impossible to introduce new tools > Tend to rely on the familiar Performance tuning requires own skillsets > Takes time to learn > When is a good time to learn CPR?
7 Panic Attack Lots of finger pointing between groups Without real evidence developers start to guess > Start changing code (that s what developers do) > Convert Vector to ArrayList > Convert String to StringBuffer > Add more threads > Add more memory > Focus on database interactions > with unpredictable results How do we avoid this?
8 Measure, don t guess!
9 Heap Usage after GC
10 Typical Production Environment
11 Hardware Resources
12 Java Virtual Machine Resources
13 Application
14 People System usage patterns > What they are doing? Rate of doing work?
15 Forward Propagation of Actions People telling application what to do Application tells the JVM what it needs done > Direct consequence of what the people are asking > And how application was coded JVM tells the hardware what it needs done > Direct consequence of what the application is asking > And how JVM was coded and configured
16 Backward Propagation of Trouble If hardware does not have enough capacity, people will see bad response times If JVM is incorrectly configured, people will see bad response times If application is suffering from contention, people will see bad response times Therefore, the only information you start with is that people are experiencing poor response times What to do next?
17 W5 of Investigative Journalism Five questions asked by investigators: > Who? > Which resource is exhibiting the problem? > What? > Observation: what do the users see? > Where? > Which layer is exhibiting the problem? > When? > Are there any peculiarities about when the problems occur? > Why? > An explanation of the observation from system perspective
18 Typical Production Environment What Where Who
19 Plan of Action Review or set the performance targets Layer by layer performance investigation Start with hardware > Work outward until we find overextended resource Need a repeatable test > Need to know what the people are doing > Need a test harness > Need a realistic test environment
20 JoGoSlo Test Environment Database did not have adequate amount of data > Solution: Cloned the production database Did not have a test harness > Solution: Introduced Apache JMeter
21 Test Harness Software that simulates realistic user activity > Includes normal activity, coffee breaks, user mistakes > People will use system in unexpected ways Good test harness: > Easily scripted to create our usage patterns > Randomize test data input > Ability to randomize think times > Validate responses from server > Monitor response times and other system parameters
22 Test Harness: Apache JMeter Project by Apache Software Foundation > Open source Used extensively for testing web applications > Can also be applied in other environments
23
24 Usage Pattern Traffic Recorder Randomized Timer
25 Parameterised input
26 Realistic Test Environment Production environment? > Not desirable and usually not an option QA environment should > Perfectly resemble your production environment > Data sizes, memory sizes, cache sizes, disk speeds, network speeds, should be the same > May need to consider the when > Sometimes have to add external elements to test Don t extrapolate! > You do not know when you will hit the wall
27 Performance Wall When will you hit the wall?
28 Who and Where Turn on monitoring of hardware Use the what to turn on additional low-impact monitoring, such as: > Verbose GC logging > -Xloggc:<filename> > JDBC logging > e.g. p6spy > JNI logging > RMI logging > Socket logging Beware of Heisenberg Uncertainty! > You can t observe a system without affecting the system
29 Run the Benchmark Isolate your system Start system from known consistent point Run JMeter or other test harness against system Observe if the what matches the users experiences Failures in the system should invalidate the run Record everything > Start time, end time, observations, response time, configurations, date of birth, starsign, basically anything that you might or might not need > Use a physical notepad mouse in left hand
30 How Long is Each Run? System must be in a steady state > Issues about test harness that need to be considered > Beyond the scope of this talk System should exhibit the problems experienced by users Can be 30 seconds or 30 days > Typically an hour Burn in the problem
31 Analysis Hardware > Carefully examine the output from monitoring and eliminate underutilised components from the list > Fully utilised components are bottlenecks CPU > Look at execution profile, such as Xrunhprof Memory > Look at GC, caching, large DB queries, memory leaks IO Wait > Will prevent CPU from being fully utilised If no hardware bottlenecks, look at the JVM layer
32 Java Virtual Machine Assuming hardware does not show problem Heap memory > Not enough memory in virtual machine Lock Contention > Excessive stop-the-world garbage collection If no JVM bottlenecks, look at application layer
33 Java Application Layer Thread lock contention > Only thing that you would not have diagnosed by now > Get thread dump > See what they are waiting on > Eliminate the expected If you have not found the problem by now, examine your testing process > It might help confirming that you have correctly simulated the users > Go visit the floor > Examine run logs
34 Bluedragon ThreadDump Full thread dump Java HotSpot(TM) Server VM (1.4.2_08-b03 mixed mode): "RMI ConnectionExpiration-[ :34113]" daemon prio=1 tid=0x0892f658 nid=0x2d7a waiting on condition [5b86f000..5b86f494] at java.lang.thread.sleep(native Method) at sun.rmi.transport.tcp.tcpchannel$reaper.run(tcpchannel.java:447) at java.lang.thread.run(thread.java:534) "RMI TCP Connection(902) " daemon prio=1 tid=0x41e112b8 nid=0x2d7a runnable [5ccff000..5ccff414] at java.net.socketinputstream.socketread0(native Method) at java.net.socketinputstream.read(socketinputstream.java:129) at java.io.bufferedinputstream.fill(bufferedinputstream.java:183) at java.io.bufferedinputstream.read(bufferedinputstream.java:201) - locked <0x > (a java.io.bufferedinputstream) at java.io.filterinputstream.read(filterinputstream.java:66) at sun.rmi.transport.tcp.tcptransport.handlemessages(tcptransport.java) at sun.rmi.transport.tcp.tcptransport$connectionhandler.run(tcptransport) at java.lang.thread.run(thread.java:534)
35 Bluedragon ThreadDump "PingThread " daemon prio=1 tid=0x081a3058 nid=0x2d7a waiting on condition [5bda bda9294] at java.lang.thread.sleep(native Method) at org.exolab.jms.client.rmi.rmijmsconnectionstub$pingthread.run( RmiJmsConnectionStub.java:249) "EventManagerThread" daemon prio=1 tid=0x083101f8 nid=0x2d7a in Object.wait() [5caa caa9514] at java.lang.object.wait(native Method) - waiting on <0x47aa2800> (a java.lang.object) at java.lang.object.wait(object.java:429) at org.exolab.jms.events.basiceventmanager.run(basiceventmanager.java) - locked <0x47aa2800> (a java.lang.object) at java.lang.thread.run(thread.java:534) "PingThread " daemon prio=1 tid=0x08136dc8 nid=0x2d7a waiting on condition [5cc7f000..5cc7f494] at java.lang.thread.sleep(native Method) at org.exolab.jms.client.rmi.rmijmsconnectionstub$pingthread.run( RmiJmsConnectionStub.java:249)
36 Bluedragon ThreadDump "RMI RenewClean-[ :34113]" daemon prio=1 tid=0x081a2c68 nid=0x2d7a in Object.wait() [5ba ba10594] at java.lang.object.wait(native Method) - waiting on <0x4858a940> (a java.lang.ref.referencequeue$lock) at java.lang.ref.referencequeue.remove(referencequeue.java:111) - locked <0x4858a940> (a java.lang.ref.referencequeue$lock) at sun.rmi.transport.dgcclient$endpointentry$renewcleanthread.run( DGCClient.java:500) at java.lang.thread.run(thread.java:534) "BoundedThreadPool0-33" prio=1 tid=0x41ec8710 nid=0x2d7a in Object.wait() [5ca ca29594] at java.lang.object.wait(native Method) - waiting on <0x47a5> (a org.mortbay.thread.boundedthreadpool$poolthread) at org.mortbay.thread.boundedthreadpool$poolthread.run(boundedthreadpool) - locked <0x47a520b8> (a org.mortbay.thread.boundedthreadpool$poolthread)
37 Bluedragon ThreadDump "BoundedThreadPool0-32" prio=1 tid=0x5a159ed0 nid=0x2d7a runnable [5c9a c9a9614] at java.net.socketinputstream.socketread0(native Method) at java.net.socketinputstream.read(socketinputstream.java:129) at org.mortbay.io.bio.streamendpoint.fill(streamendpoint.java:99) at org.mortbay.jetty.bio.socketconnector$connection.fill(socketconnector) at org.mortbay.jetty.httpparser.parsenext(httpparser.java:257) at org.mortbay.jetty.httpparser.parseavailable(httpparser.java:192) at org.mortbay.jetty.httpconnection.handle(httpconnection.java:293) at org.mortbay.jetty.bio.socketconnector$connection.run(socketconnector) at org.mortbay.thread.boundedthreadpool$poolthread.run(boundedthreadpool) - locked <0x47a521f8> (a org.mortbay.thread.boundedthreadpool$poolthread)
38 Bluedragon ThreadDump "BoundedThreadPool0-31" prio=1 tid=0x5ad60d78 nid=0x2d7a runnable [5c c929694] at org.mortbay.jetty.httpgenerator.preparebuffers(httpgenerator.java:878) at org.mortbay.jetty.httpgenerator.flushbuffers(httpgenerator.java:681) at org.mortbay.jetty.httpgenerator.complete(httpgenerator.java:671) at org.mortbay.jetty.httpconnection.dohandler(httpconnection.java:388) at org.mortbay.jetty.httpconnection.access$1500(httpconnection.java:38) at org.mortbay.jetty.httpconnection$requesthandler.headercomplete( HttpConnection.java:598) at org.mortbay.jetty.httpparser.parsenext(httpparser.java:487) at org.mortbay.jetty.httpparser.parseavailable(httpparser.java:196) at org.mortbay.jetty.httpconnection.handle(httpconnection.java:293) at org.mortbay.jetty.bio.socketconnector$connection.run(socketconnector) at org.mortbay.thread.boundedthreadpool$poolthread.run(boundedthreadpool) - locked <0x47a52158> (a org.mortbay.thread.boundedthreadpool$poolthread)
39 Bluedragon ThreadDump "BoundedThreadPool0-30" prio=1 tid=0x41e2f878 nid=0x2d7a in Object.wait() [5c8a c8a9714] at java.lang.object.wait(native Method) - waiting on <0x47a5> (a org.mortbay.thread.boundedthreadpool$poolthread) at org.mortbay.thread.boundedthreadpool$poolthread.run(boundedthreadpool) - locked <0x47a52298> (a org.mortbay.thread.boundedthreadpool$poolthread) "BoundedThreadPool0-29" prio=1 tid=0x5a4c5650 nid=0x2d7a in Object.wait() [5c c828794] at java.lang.object.wait(native Method) - waiting on <0x47a5> (a org.mortbay.thread.boundedthreadpool$poolthread) at org.mortbay.thread.boundedthreadpool$poolthread.run(boundedthreadpool) - locked <0x47a52108> (a org.mortbay.thread.boundedthreadpool$poolthread) "BoundedThreadPool0-28" prio=1 tid=0x5a4c53f8 nid=0x2d7a runnable [5c7a c7a8814] at java.net.socketinputstream.socketread0(native Method) at java.net.socketinputstream.read(socketinputstream.java:129) at org.mortbay.io.bio.streamendpoint.fill(streamendpoint.java:99) at org.mortbay.jetty.bio.socketconnector$connection.fill(socketconnector) at org.mortbay.jetty.httpparser.parsenext(httpparser.java:257) at org.mortbay.jetty.httpparser.parseavailable(httpparser.java:192) at org.mortbay.jetty.httpconnection.handle(httpconnection.java:293) at org.mortbay.jetty.bio.socketconnector$connection.run(socketconnector)
40 Bluedragon ThreadDump "BoundedThreadPool0-27" prio=1 tid=0x41e6a640 nid=0x2d7a in Object.wait() [5c c728894] at java.lang.object.wait(native Method) - waiting on <0x47a5> (a org.mortbay.thread.boundedthreadpool$poolthread) at org.mortbay.thread.boundedthreadpool$poolthread.run(boundedthreadpool) - locked <0x47a52338> (a org.mortbay.thread.boundedthreadpool$poolthread) "BoundedThreadPool0-26" prio=1 tid=0x41e693f8 nid=0x2d7a in Object.wait() [5c6a c6a8914] at java.lang.object.wait(native Method) - waiting on <0x47a5> (a org.mortbay.thread.boundedthreadpool$poolthread) at org.mortbay.thread.boundedthreadpool$poolthread.run(boundedthreadpool) - locked <0x47a52248> (a org.mortbay.thread.boundedthreadpool$poolthread) "BoundedThreadPool0-25" prio=1 tid=0x086b1c50 nid=0x2d7a in Object.wait() [5c c628994] at java.lang.object.wait(native Method) - waiting on <0x47a4> (a org.mortbay.thread.boundedthreadpool$poolthread) at org.mortbay.thread.boundedthreadpool$poolthread.run(boundedthreadpool) - locked <0x47a4e180> (a org.mortbay.thread.boundedthreadpool$poolthread)
41 Bluedragon ThreadDump According to client, system was idle > Did not accept any more connection requests Let s go back a few slides > Why was HttpGenerator.prepareBuffers() being called?
42 Bluedragon ThreadDump "BoundedThreadPool0-31" prio=1 tid=0x5ad60d78 nid=0x2d7a runnable [5c c929694] at org.mortbay.jetty.httpgenerator.preparebuffers(httpgenerator.java:878) at org.mortbay.jetty.httpgenerator.flushbuffers(httpgenerator.java:681) at org.mortbay.jetty.httpgenerator.complete(httpgenerator.java:671) at org.mortbay.jetty.httpconnection.dohandler(httpconnection.java:388) at org.mortbay.jetty.httpconnection.access$1500(httpconnection.java:38) at org.mortbay.jetty.httpconnection$requesthandler.headercomplete( HttpConnection.java:598) at org.mortbay.jetty.httpparser.parsenext(httpparser.java:487) at org.mortbay.jetty.httpparser.parseavailable(httpparser.java:196) at org.mortbay.jetty.httpconnection.handle(httpconnection.java:293) at org.mortbay.jetty.bio.socketconnector$connection.run(socketconnector) at org.mortbay.thread.boundedthreadpool$poolthread.run(boundedthreadpool) - locked <0x47a52158> (a org.mortbay.thread.boundedthreadpool$poolthread)
43 Addressing the Problem Add more hardware > Often the cheapest solution > 100% CPU is it possible to add faster CPU? > May not always solve the problem
44 Java Virtual Machine Tuning Configuration > e.g. heap sizing, hotspot compilers, etc.
45 Application Code Otherwise, all roads lead back to application > Implies coding changes > Expensive, time consuming, error prone > Need good regression testing Well designed code makes changes easier > DRY (don t repeat yourself) > SRP (single responsibility principle) > Correct design patterns >
46 Application Profiling Java has built-in profiling tools Run the JVM with Xrunprof Other alternatives available from >
47 This is the Why! Profiling is the measurement that tells us why > From there we can implement the fix Run benchmark to ensure problem solved Regression test Have you reached your performance target? > If not, start from the beginning and find next bottleneck > When problem #1 is solved, problem #2 might be gone > Avoid fixing more than one problem at a time
48 Heap Usage after GC Session timed out
49 JoGoSlo Why? Discussions with client suggested database caching > Suspected cached SELECT * FROM very_large_table Investigation confirmed memory leak Troublesome point > Users claimed application sometimes recovered Question: is this from the database interaction or a memory leak in a long-term temporary object? Hypothesis: Memory leak could be from HTTPSession
50 JoGoSlo Why? HTTPSession timeout correlated strongly with decrease in memory > Confirmed with memory profiler > Output from memory profilers is often very confusing for large systems > This additional information helped us filter the memory profiler > Bingo! The HTTPSession was found to be retaining session object, due to the improper scoping of Struts Sessions
51 Conclusion Don t measure, guess > Then call us!
52 Essentials of Java Performance Tuning Dr Heinz Kabutz Kirk Pepperdine
talent. technology. true business value
March 26, 2008 JPMorganChase presents Java Debugging and Troubleshooting with No Source Code in Sight By Minoy Mathew talent. technology. true business value The proliferation of the black and the gray
Performance Testing of Java Enterprise Systems
Performance Testing of Java Enterprise Systems Katerina Antonova, Plamen Koychev Musala Soft Why Performance Testing? Recent studies by leading USA consultancy companies showed that over 80% of large corporations
Delivering Quality in Software Performance and Scalability Testing
Delivering Quality in Software Performance and Scalability Testing Abstract Khun Ban, Robert Scott, Kingsum Chow, and Huijun Yan Software and Services Group, Intel Corporation {khun.ban, robert.l.scott,
Tuning WebSphere Application Server ND 7.0. Royal Cyber Inc.
Tuning WebSphere Application Server ND 7.0 Royal Cyber Inc. JVM related problems Application server stops responding Server crash Hung process Out of memory condition Performance degradation Check if the
THE BUSY DEVELOPER'S GUIDE TO JVM TROUBLESHOOTING
THE BUSY DEVELOPER'S GUIDE TO JVM TROUBLESHOOTING November 5, 2010 Rohit Kelapure HTTP://WWW.LINKEDIN.COM/IN/ROHITKELAPURE HTTP://TWITTER.COM/RKELA Agenda 2 Application Server component overview Support
Copyright www.agileload.com 1
Copyright www.agileload.com 1 INTRODUCTION Performance testing is a complex activity where dozens of factors contribute to its success and effective usage of all those factors is necessary to get the accurate
MEASURING WORKLOAD PERFORMANCE IS THE INFRASTRUCTURE A PROBLEM?
MEASURING WORKLOAD PERFORMANCE IS THE INFRASTRUCTURE A PROBLEM? Ashutosh Shinde Performance Architect [email protected] Validating if the workload generated by the load generating tools is applied
TRACE PERFORMANCE TESTING APPROACH. Overview. Approach. Flow. Attributes
TRACE PERFORMANCE TESTING APPROACH Overview Approach Flow Attributes INTRODUCTION Software Testing Testing is not just finding out the defects. Testing is not just seeing the requirements are satisfied.
Performance Improvement In Java Application
Performance Improvement In Java Application Megha Fulfagar Accenture Delivery Center for Technology in India Accenture, its logo, and High Performance Delivered are trademarks of Accenture. Agenda Performance
Effective Java Programming. measurement as the basis
Effective Java Programming measurement as the basis Structure measurement as the basis benchmarking micro macro profiling why you should do this? profiling tools Motto "We should forget about small efficiencies,
WebSphere Architect (Performance and Monitoring) 2011 IBM Corporation
Track Name: Application Infrastructure Topic : WebSphere Application Server Top 10 Performance Tuning Recommendations. Presenter Name : Vishal A Charegaonkar WebSphere Architect (Performance and Monitoring)
Put a Firewall in Your JVM Securing Java Applications!
Put a Firewall in Your JVM Securing Java Applications! Prateep Bandharangshi" Waratek Director of Client Security Solutions" @prateep" Hussein Badakhchani" Deutsche Bank Ag London Vice President" @husseinb"
Java Monitoring. Stuff You Can Get For Free (And Stuff You Can t) Paul Jasek Sales Engineer
Java Monitoring Stuff You Can Get For Free (And Stuff You Can t) Paul Jasek Sales Engineer A Bit About Me Current: Past: Pre-Sales Engineer (1997 present) WaveMaker Wily Persistence GemStone Application
1 How to Monitor Performance
1 How to Monitor Performance Contents 1.1. Introduction... 1 1.1.1. Purpose of this How To... 1 1.1.2. Target Audience... 1 1.2. Performance - some theory... 1 1.3. Performance - basic rules... 3 1.4.
Best Practices for Web Application Load Testing
Best Practices for Web Application Load Testing This paper presents load testing best practices based on 20 years of work with customers and partners. They will help you make a quick start on the road
Holly Cummins IBM Hursley Labs. Java performance not so scary after all
Holly Cummins IBM Hursley Labs Java performance not so scary after all So... You have a performance problem. What next? Goals After this talk you will: Not feel abject terror when confronted with a performance
WEBLOGIC ADMINISTRATION
WEBLOGIC ADMINISTRATION Session 1: Introduction Oracle Weblogic Server Components Java SDK and Java Enterprise Edition Application Servers & Web Servers Documentation Session 2: Installation System Configuration
Informatica Master Data Management Multi Domain Hub API: Performance and Scalability Diagnostics Checklist
Informatica Master Data Management Multi Domain Hub API: Performance and Scalability Diagnostics Checklist 2012 Informatica Corporation. No part of this document may be reproduced or transmitted in any
Monitoring and Diagnosing Production Applications Using Oracle Application Diagnostics for Java. An Oracle White Paper December 2007
Monitoring and Diagnosing Production Applications Using Oracle Application Diagnostics for Java An Oracle White Paper December 2007 Monitoring and Diagnosing Production Applications Using Oracle Application
Tomcat Tuning. Mark Thomas April 2009
Tomcat Tuning Mark Thomas April 2009 Who am I? Apache Tomcat committer Resolved 1,500+ Tomcat bugs Apache Tomcat PMC member Member of the Apache Software Foundation Member of the ASF security committee
1 How to Monitor Performance
1 How to Monitor Performance Contents 1.1. Introduction... 1 1.2. Performance - some theory... 1 1.3. Performance - basic rules... 3 1.4. Recognizing some common performance problems... 3 1.5. Monitoring,
Audit & Tune Deliverables
Audit & Tune Deliverables The Initial Audit is a way for CMD to become familiar with a Client's environment. It provides a thorough overview of the environment and documents best practices for the PostgreSQL
Performance Testing Percy Pari Salas
Performance Testing Percy Pari Salas Presented by : Percy Pari Salas Agenda What is performance testing? Types of performance testing What does performance testing measure? Where does performance testing
An Oracle White Paper September 2013. Advanced Java Diagnostics and Monitoring Without Performance Overhead
An Oracle White Paper September 2013 Advanced Java Diagnostics and Monitoring Without Performance Overhead Introduction... 1 Non-Intrusive Profiling and Diagnostics... 2 JMX Console... 2 Java Flight Recorder...
<Insert Picture Here> Java Application Diagnostic Expert
Java Application Diagnostic Expert Agenda 1. Enterprise Manager 2. Challenges 3. Java Application Diagnostics Expert (JADE) 4. Feature-Benefit Summary 5. Features Overview Diagnostic
Practical Performance Understanding the Performance of Your Application
Neil Masson IBM Java Service Technical Lead 25 th September 2012 Practical Performance Understanding the Performance of Your Application 1 WebSphere User Group: Practical Performance Understand the Performance
Transaction Performance Maximizer InterMax
Transaction Performance Maximizer InterMax A-1208 Woorim Business Center, YeomChang-Dong, GangSeo-Gu, Seoul Korea Republic. TEL 82.2.6230.6300 l FAX 80.2.6203.6301 l www.ex-em.com Transaction Performance
Oracle WebLogic Thread Pool Tuning
Oracle WebLogic Thread Pool Tuning AN ACTIVE ENDPOINTS TECHNICAL NOTE 2010 Active Endpoints Inc. ActiveVOS is a trademark of Active Endpoints, Inc. All other company and product names are the property
Tuning Your GlassFish Performance Tips. Deep Singh Enterprise Java Performance Team Sun Microsystems, Inc.
Tuning Your GlassFish Performance Tips Deep Singh Enterprise Java Performance Team Sun Microsystems, Inc. 1 Presentation Goal Learn tips and techniques on how to improve performance of GlassFish Application
Performance Optimization For Operational Risk Management Application On Azure Platform
Performance Optimization For Operational Risk Management Application On Azure Platform Ashutosh Sabde, TCS www.cmgindia.org 1 Contents Introduction Functional Requirements Non Functional Requirements Business
Network Monitoring with Xian Network Manager
Network Monitoring with Xian Network Manager Did you ever got caught by surprise because of a network problem and had downtime as a result? What about monitoring your network? Network downtime or network
An Oracle White Paper March 2013. Load Testing Best Practices for Oracle E- Business Suite using Oracle Application Testing Suite
An Oracle White Paper March 2013 Load Testing Best Practices for Oracle E- Business Suite using Oracle Application Testing Suite Executive Overview... 1 Introduction... 1 Oracle Load Testing Setup... 2
Performance Monitoring and Tuning. Liferay Chicago User Group (LCHIUG) James Lefeu 29AUG2013
Performance Monitoring and Tuning Liferay Chicago User Group (LCHIUG) James Lefeu 29AUG2013 Outline I. Definitions II. Architecture III.Requirements and Design IV.JDK Tuning V. Liferay Tuning VI.Profiling
Winning the J2EE Performance Game Presented to: JAVA User Group-Minnesota
Winning the J2EE Performance Game Presented to: JAVA User Group-Minnesota Michelle Pregler Ball Emerging Markets Account Executive Shahrukh Niazi Sr.System Consultant Java Solutions Quest Background Agenda
Agility Database Scalability Testing
Agility Database Scalability Testing V1.6 November 11, 2012 Prepared by on behalf of Table of Contents 1 Introduction... 4 1.1 Brief... 4 2 Scope... 5 3 Test Approach... 6 4 Test environment setup... 7
Java VM monitoring and the Health Center API. William Smith [email protected]
Java VM monitoring and the Health Center API William Smith [email protected] Health Center overview What problem am I solving? What is my JVM doing? Is everything OK? Why is my application running
Performance Tuning and Optimizing SQL Databases 2016
Performance Tuning and Optimizing SQL Databases 2016 http://www.homnick.com [email protected] +1.561.988.0567 Boca Raton, Fl USA About this course This four-day instructor-led course provides students
Configuring Apache Derby for Performance and Durability Olav Sandstå
Configuring Apache Derby for Performance and Durability Olav Sandstå Database Technology Group Sun Microsystems Trondheim, Norway Overview Background > Transactions, Failure Classes, Derby Architecture
Monitoring applications in multitier environment. Uroš Majcen [email protected]. A New View on Application Management. www.quest.
A New View on Application Management www.quest.com/newview Monitoring applications in multitier environment Uroš Majcen [email protected] 2008 Quest Software, Inc. ALL RIGHTS RESERVED. Management Challenges
Java DB Performance. Olav Sandstå Sun Microsystems, Trondheim, Norway Submission ID: 860
Java DB Performance Olav Sandstå Sun Microsystems, Trondheim, Norway Submission ID: 860 AGENDA > Java DB introduction > Configuring Java DB for performance > Programming tips > Understanding Java DB performance
Taking the First Steps in. Web Load Testing. Telerik
Taking the First Steps in Web Load Testing Telerik An Introduction Software load testing is generally understood to consist of exercising an application with multiple users to determine its behavior characteristics.
Tool - 1: Health Center
Tool - 1: Health Center Joseph Amrith Raj http://facebook.com/webspherelibrary 2 Tool - 1: Health Center Table of Contents WebSphere Application Server Troubleshooting... Error! Bookmark not defined. About
Databases Going Virtual? Identifying the Best Database Servers for Virtualization
Identifying the Best Database Servers for Virtualization By Confio Software Confio Software 4772 Walnut Street, Suite 100 Boulder, CO 80301 www.confio.com Many companies are turning to virtualization in
Apache Tomcat Tuning for Production
Apache Tomcat Tuning for Production Filip Hanik & Mark Thomas SpringSource September 2008 Copyright 2008 SpringSource. Copying, publishing or distributing without express written permission is prohibited.
B M C S O F T W A R E, I N C. BASIC BEST PRACTICES. Ross Cochran Principal SW Consultant
B M C S O F T W A R E, I N C. PATROL FOR WEBSPHERE APPLICATION SERVER BASIC BEST PRACTICES Ross Cochran Principal SW Consultant PAT R O L F O R W E B S P H E R E A P P L I C AT I O N S E R V E R BEST PRACTICES
What Is Specific in Load Testing?
What Is Specific in Load Testing? Testing of multi-user applications under realistic and stress loads is really the only way to ensure appropriate performance and reliability in production. Load testing
A Talk ForApacheCon Europe 2008
a talk for ApacheCon Europe 2008 by Jeremy Quinn Break My Site practical stress testing and tuning photo credit: Môsieur J This is designed as a beginner s talk. I am the beginner. 1 I will present two
AgencyPortal v5.1 Performance Test Summary Table of Contents
AgencyPortal v5.1 Performance Test Summary Table of Contents 1. Testing Approach 2 2. Server Profiles 3 3. Software Profiles 3 4. Server Benchmark Summary 4 4.1 Account Template 4 4.1.1 Response Time 4
Enterprise Java (BI-EJA) Technologie programování v jazyku Java (X36TJV)
Příprava studijního programu Informatika je podporována projektem financovaným z Evropského sociálního fondu a rozpočtu hlavního města Prahy. Praha & EU: Investujeme do vaší budoucnosti Enterprise Java
Mission-Critical Java. An Oracle White Paper Updated October 2008
Mission-Critical Java An Oracle White Paper Updated October 2008 Mission-Critical Java The Oracle JRockit family of products is a comprehensive portfolio of Java runtime solutions that leverages the base
JBoss Seam Performance and Scalability on Dell PowerEdge 1855 Blade Servers
JBoss Seam Performance and Scalability on Dell PowerEdge 1855 Blade Servers Dave Jaffe, PhD, Dell Inc. Michael Yuan, PhD, JBoss / RedHat June 14th, 2006 JBoss Inc. 2006 About us Dave Jaffe Works for Dell
MONITORING A WEBCENTER CONTENT DEPLOYMENT WITH ENTERPRISE MANAGER
MONITORING A WEBCENTER CONTENT DEPLOYMENT WITH ENTERPRISE MANAGER Andrew Bennett, TEAM Informatics, Inc. Why We Monitor During any software implementation there comes a time where a question is raised
Monitoring HP OO 10. Overview. Available Tools. HP OO Community Guides
HP OO Community Guides Monitoring HP OO 10 This document describes the specifications of components we want to monitor, and the means to monitor them, in order to achieve effective monitoring of HP Operations
Java Troubleshooting and Performance
Java Troubleshooting and Performance Margus Pala Java Fundamentals 08.12.2014 Agenda Debugger Thread dumps Memory dumps Crash dumps Tools/profilers Rules of (performance) optimization 1. Don't optimize
APPLICATION MANAGEMENT SUITE FOR ORACLE E-BUSINESS SUITE APPLICATIONS
APPLICATION MANAGEMENT SUITE FOR ORACLE E-BUSINESS SUITE APPLICATIONS Oracle Application Management Suite for Oracle E-Business Suite delivers capabilities that helps to achieve high levels of application
TDA - Thread Dump Analyzer
TDA - Thread Dump Analyzer TDA - Thread Dump Analyzer Published September, 2008 Copyright 2006-2008 Ingo Rockel Table of Contents 1.... 1 1.1. Request Thread Dumps... 2 1.2. Thread
Performance Testing Process A Whitepaper
Process A Whitepaper Copyright 2006. Technologies Pvt. Ltd. All Rights Reserved. is a registered trademark of, Inc. All other trademarks are owned by the respective owners. Proprietary Table of Contents
Holistic Performance Analysis of J2EE Applications
Holistic Performance Analysis of J2EE Applications By Madhu Tanikella In order to identify and resolve performance problems of enterprise Java Applications and reduce the time-to-market, performance analysis
How To Improve Performance On An Asa 9.4 Web Application Server (For Advanced Users)
Paper SAS315-2014 SAS 9.4 Web Application Performance: Monitoring, Tuning, Scaling, and Troubleshooting Rob Sioss, SAS Institute Inc., Cary, NC ABSTRACT SAS 9.4 introduces several new software products
Debugging Java performance problems. Ryan Matteson [email protected] http://prefetch.net
Debugging Java performance problems Ryan Matteson [email protected] http://prefetch.net Overview Tonight I am going to discuss Java performance, and how opensource tools can be used to debug performance
Application Performance Testing Basics
Application Performance Testing Basics ABSTRACT Todays the web is playing a critical role in all the business domains such as entertainment, finance, healthcare etc. It is much important to ensure hassle-free
Throughput Capacity Planning and Application Saturation
Throughput Capacity Planning and Application Saturation Alfred J. Barchi [email protected] http://www.ajbinc.net/ Introduction Applications have a tendency to be used more heavily by users over time, as the
Response Time Analysis
Response Time Analysis A Pragmatic Approach for Tuning and Optimizing SQL Server Performance By Dean Richards Confio Software 4772 Walnut Street, Suite 100 Boulder, CO 80301 866.CONFIO.1 www.confio.com
MID-TIER DEPLOYMENT KB
MID-TIER DEPLOYMENT KB Author: BMC Software, Inc. Date: 23 Dec 2011 PAGE 1 OF 16 23/12/2011 Table of Contents 1. Overview 3 2. Sizing guidelines 3 3. Virtual Environment Notes 4 4. Physical Environment
Blackboard Open Source Monitoring
Blackboard Open Source Monitoring By Greg Lloyd Submitted to the Faculty of the School of Information Technology in Partial Fulfillment of the Requirements for the Degree of Bachelor of Science in Information
New Relic & JMeter - Perfect Performance Testing
TUTORIAL New Relic & JMeter - Perfect Performance Testing by David Sale Contents Introduction 3 Demo Application 4 Hooking Into New Relic 4 What Is JMeter? 6 Installation and Usage 6 Analysis In New Relic
Memory Profiling using Visual VM
Memory Profiling using Visual VM What type of profiling is most important? Clear answer: memory profiling! The speed of your application typically is something that you feel throughout your whole development
Architecting ColdFusion For Scalability And High Availability. Ryan Stewart Platform Evangelist
Architecting ColdFusion For Scalability And High Availability Ryan Stewart Platform Evangelist Introduction Architecture & Clustering Options Design an architecture and develop applications that scale
A Performance Engineering Story
CMG'09 A Performance Engineering Story with Database Monitoring Alexander Podelko [email protected] 1 Abstract: This presentation describes a performance engineering project in chronological order. The
Validating Java for Safety-Critical Applications
Validating Java for Safety-Critical Applications Jean-Marie Dautelle * Raytheon Company, Marlborough, MA, 01752 With the real-time extensions, Java can now be used for safety critical systems. It is therefore
Performance Testing Process
Delivering Excellence in Software Engineering Performance Testing An introduction. 1 2 3 4 5 6 Introduction Performance Testing Process Performance Test Types Tools JMeter Questions 2 1 Introduction This
Advanced Liferay Architecture: Clustering and High Availability
Advanced Liferay Architecture: Clustering and High Availability Revision 1.1, Oct 2010 *Note: All of the configuration examples in 3 rd -party software (i.e. Apache, Sun Java) in this document are examples
A Comparison of Oracle Performance on Physical and VMware Servers
A Comparison of Oracle Performance on Physical and VMware Servers By Confio Software Confio Software 4772 Walnut Street, Suite 100 Boulder, CO 80301 www.confio.com Introduction Of all the tier one applications
High-Availability. Configurations for Liferay Portal. James Min. Senior Consultant / Sales Engineer, Liferay, Inc.
High-Availability Configurations for Liferay Portal James Min Senior Consultant / Sales Engineer, Liferay, Inc. Is Clustering Enough? What Liferay High-Availability (HA) means: HA is more than just server
SharePoint 2013 Best Practices
SharePoint 2013 Best Practices SharePoint 2013 Best Practices When you work as a consultant or as a SharePoint administrator, there are many things that you need to set up to get the best SharePoint performance.
Load Testing Analysis Services Gerhard Brückl
Load Testing Analysis Services Gerhard Brückl About Me Gerhard Brückl Working with Microsoft BI since 2006 Mainly focused on Analytics and Reporting Analysis Services / Reporting Services Power BI / O365
Top 10 Performance Tips for OBI-EE
Top 10 Performance Tips for OBI-EE Narasimha Rao Madhuvarsu L V Bharath Terala October 2011 Apps Associates LLC Boston New York Atlanta Germany India Premier IT Professional Service and Solution Provider
How To Use Java On An Ipa 2.2.2 (Jspa) With A Microsoft Powerbook (Jempa) With An Ipad 2.3.2 And A Microos 2.5 (Microos)
Java Monitoring and Diagnostic Tooling Iris Baron IBM Java JIT on System Z [email protected] Session ID: 16182 Insert Custom Session QR if Desired. Java Road Map Java 7.0 Language Updates Java 6.0 SE 5.0
Implementing a Well- Performing and Reliable Portal
Implementing a Well- Performing and Reliable Portal Adam Rybicki [email protected] Agenda I. Introduction II. Tools Needed III. Capacity Planning IV. Load Testing V. Automatic Failover VI. Performance
A Comparison of Oracle Performance on Physical and VMware Servers
A Comparison of Oracle Performance on Physical and VMware Servers By Confio Software Confio Software 4772 Walnut Street, Suite 100 Boulder, CO 80301 303-938-8282 www.confio.com Comparison of Physical and
Test Run Analysis Interpretation (AI) Made Easy with OpenLoad
Test Run Analysis Interpretation (AI) Made Easy with OpenLoad OpenDemand Systems, Inc. Abstract / Executive Summary As Web applications and services become more complex, it becomes increasingly difficult
Response Time Analysis
Response Time Analysis A Pragmatic Approach for Tuning and Optimizing Oracle Database Performance By Dean Richards Confio Software, a member of the SolarWinds family 4772 Walnut Street, Suite 100 Boulder,
Guideline for stresstest Page 1 of 6. Stress test
Guideline for stresstest Page 1 of 6 Stress test Objective: Show unacceptable problems with high parallel load. Crash, wrong processing, slow processing. Test Procedure: Run test cases with maximum number
Oracle WebLogic Server 11g: Monitor and Tune Performance
D61529GC10 Edition 1.0 March 2010 D66055 Oracle WebLogic Server 11g: Monitor and Tune Performance Student Guide Author Shankar Raman Technical Contributors and Reviewer s Werner Bauer Nicole Haba Bala
Advanced Performance Forensics
Advanced Performance Forensics Uncovering the Mysteries of Performance and Scalability Incidents through Forensic Engineering Stephen Feldman Senior Director Performance Engineering and Architecture [email protected]
NetBeans Profiler is an
NetBeans Profiler Exploring the NetBeans Profiler From Installation to a Practical Profiling Example* Gregg Sporar* NetBeans Profiler is an optional feature of the NetBeans IDE. It is a powerful tool that
Resource Monitoring During Performance Testing. Experience Report by Johann du Plessis. Introduction. Planning for Monitoring
Resource Monitoring During Performance Testing Experience Report by Johann du Plessis Introduction During a recent review of performance testing projects I completed over the past 8 years, one of the goals
IBM WebSphere Server Administration
IBM WebSphere Server Administration This course teaches the administration and deployment of web applications in the IBM WebSphere Application Server. Duration 24 hours Course Objectives Upon completion
Monitoring and Managing a JVM
Monitoring and Managing a JVM Erik Brakkee & Peter van den Berkmortel Overview About Axxerion Challenges and example Troubleshooting Memory management Tooling Best practices Conclusion About Axxerion Axxerion
Application of Predictive Analytics for Better Alignment of Business and IT
Application of Predictive Analytics for Better Alignment of Business and IT Boris Zibitsker, PhD [email protected] July 25, 2014 Big Data Summit - Riga, Latvia About the Presenter Boris Zibitsker
Running a Workflow on a PowerCenter Grid
Running a Workflow on a PowerCenter Grid 2010-2014 Informatica Corporation. No part of this document may be reproduced or transmitted in any form, by any means (electronic, photocopying, recording or otherwise)
MAGENTO HOSTING Progressive Server Performance Improvements
MAGENTO HOSTING Progressive Server Performance Improvements Simple Helix, LLC 4092 Memorial Parkway Ste 202 Huntsville, AL 35802 [email protected] 1.866.963.0424 www.simplehelix.com 2 Table of Contents
Linux Tools for Monitoring and Performance. Khalid Baheyeldin November 2009 KWLUG http://2bits.com
Linux Tools for Monitoring and Performance Khalid Baheyeldin November 2009 KWLUG http://2bits.com Agenda Introduction Definitions Tools, with demos Focus on command line, servers, web Exclude GUI tools
Load Testing with JMeter
Load Testing with JMeter Presented by Matthew Stout - [email protected] JMeter Overview Java application for load testing and measuring performance Originally for web applications but has grown to support lots
BridgeWays Management Pack for VMware ESX
Bridgeways White Paper: Management Pack for VMware ESX BridgeWays Management Pack for VMware ESX Ensuring smooth virtual operations while maximizing your ROI. Published: July 2009 For the latest information,
