Maximum Performance with Websphere Application Application

Total Page:16

File Type:pdf, Size:1020Kb

Maximum Performance with Websphere Application Application Front cover Maximum Performance with WebSphere Application Server V5.1 on iSeries The most complete book on WebSphere Application Server on iSeries performance tuning End-to-end performance tuning methodology Several good and practical examples Luis Aused Maggie Biggs Andreas Hagger Chris Larsen Elena Lowery Aleksandr Nartovich Petri Nuutinen ibm.com/redbooks International Technical Support Organization Maximum Performance with WebSphere Application Server V5.1 on iSeries January 2005 SG24-6383-00 Note: Before using this information and the product it supports, read the information in “Notices” on page ix. First Edition (January 2005) This edition applies to Version 5, Release 1 of WebSphere Application Server on iSeries (5733-W51). © Copyright International Business Machines Corporation 2005. All rights reserved. Note to U.S. Government Users Restricted Rights -- Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp. Contents Notices . ix Trademarks . .x Preface . xi The team that wrote this redbook. xi Become a published author . xiii Comments welcome. xiii Chapter 1. Performance concepts and factors. 1 1.1 Topology . 2 1.2 Client considerations. 4 1.3 Network design . 5 1.4 Maximizing server performance . 6 1.5 Performance and emerging architectures . 8 1.5.1 Service-oriented architectures . 8 1.5.2 Virtualization . 9 Chapter 2. Java and WebSphere execution environment on iSeries servers . 11 2.1 Java execution environment . 12 2.1.1 Java virtual machine implementation . 12 2.1.2 Java Runtime Environment. 12 2.2 Java compilation environment. 12 2.2.1 Direct execution using Java transformation . 13 2.2.2 JIT compiler . 13 2.2.3 Compiling and running Java code. 14 2.3 Garbage collection . 15 2.3.1 Basics in collecting garbage . 15 2.3.2 Garbage collection pitfalls. 16 2.4 Profiling (PFRDTA) . 16 2.4.1 Profiling on the iSeries . 16 2.4.2 Collecting profiling data. 16 2.5 IBM Toolbox for Java . 17 2.6 WebSphere execution environment . 17 2.6.1 Administration . 18 2.6.2 Application development. 18 2.6.3 Security . 19 2.6.4 Web services . 20 Chapter 3. Performance tuning methodology . 21 3.1 Setting performance objectives. 22 3.2 General tuning process and performance strategy . 23 3.3 Performance problem determination process . 24 3.4 Summary of key performance measurement tools . 25 Chapter 4. Tools for determining performance problems . 27 4.1 System-level tools . 28 4.2 System-level tools for real time use . 28 4.2.1 WRKSYSSTS command. 28 4.2.2 WRKDSKSTS command. 29 © Copyright IBM Corp. 2005. All rights reserved. iii 4.2.3 WRKACTJOB command. 31 4.2.4 WRKSYSACT command. 35 4.2.5 Management Central . 36 4.2.6 iDoctor. 40 4.2.7 HEAPANA command . 81 4.2.8 Database Monitor for iSeries. 85 4.2.9 Identifying and tuning problem areas . 91 4.2.10 SQL Visual Explain . 91 4.3 System-level tools for reactive use . 93 4.3.1 Collecting performance data . 93 4.3.2 Creating performance data . 96 4.3.3 Performance Tools for iSeries. 98 4.3.4 Using the system performance tools. 99 4.3.5 Performance Management for iSeries, PM/400, and PM eServer iSeries . 100 4.4 Java and application-level tools . 101 4.4.1 DMPJVM command . 101 4.4.2 ANZJVM command. 102 4.4.3 JAVAGCTOOLS (STRSST) . 106 4.5 WebSphere performance tools . 116 4.5.1 Profiling applications running on the WebSphere Application Server. 117 4.5.2 Performance Monitoring Infrastructure . 128 4.5.3 Tivoli Performance Viewer . 130 4.5.4 Performance Advisors. 132 4.5.5 Log Analyzer . 142 4.6 HTTP performance tools . 145 4.6.1 Server logging. 146 4.6.2 HTTP server tracing . 149 4.6.3 Collection Services . 152 4.6.4 Communications trace . ..
Recommended publications
  • Cours-Qt.Pdf
    Cours Qt par Thierry Vaira © v.1.00 Sommaire A Présentation de Qt2 B Notions de base3 B.1 Programmation évènementielle........................3 B.2 Structure générale de Qt...........................4 B.2.1 La classe QObject ...........................4 B.2.2 Les modules..............................6 B.2.3 La classe QApplication .......................6 B.3 Élément graphique (widget).........................8 B.4 Mécanisme signal/slot ............................ 14 B.5 Projet Qt................................... 18 B.6 Environnement de Développement Intégré (EDI).............. 20 B.7 Positionnement (layout)........................... 21 B.8 Transition Qt4 −→ Qt5............................ 24 B.9 Documentation................................ 25 B.10 Exemple.................................... 26 LT La Salle Avignon 1 / 28 © [email protected] Qt Cours BTS SN-IR A Présentation de Qt Qt est une bibliothèque logicielle orientée objet (API) développée en C++ par Qt Development Frameworks, filiale de Digia. Une API (Application Programming Interface) est une interface de programmation pour les application et donc les développeurs. C'est un ensemble normalisé de classes, de méthodes ou de fonctions qui sert de façade pour accéder aux services fournis. Qt est une plateforme de développement d’interfaces graphiques GUI (Graphical User Interface) fournie à l’origine par la société norvégienne Troll Tech, rachetée par Nokia en février 2008 puis cédée intégralement en 2012 à Digia (www.qt.io). Qt fournit également un ensemble de classes décrivant des éléments non graphiques : accès aux données (fichier, base de données), connexions réseaux (socket), gestion du multitâche (thread), XML, etc. Qt permet la portabilité des applications (qui n’utilisent que ses composants) par simple recompilation du code source. Les environnements supportés sont les Unix (dont Linux), Windows et Mac OS X.
    [Show full text]
  • Pipenightdreams Osgcal-Doc Mumudvb Mpg123-Alsa Tbb
    pipenightdreams osgcal-doc mumudvb mpg123-alsa tbb-examples libgammu4-dbg gcc-4.1-doc snort-rules-default davical cutmp3 libevolution5.0-cil aspell-am python-gobject-doc openoffice.org-l10n-mn libc6-xen xserver-xorg trophy-data t38modem pioneers-console libnb-platform10-java libgtkglext1-ruby libboost-wave1.39-dev drgenius bfbtester libchromexvmcpro1 isdnutils-xtools ubuntuone-client openoffice.org2-math openoffice.org-l10n-lt lsb-cxx-ia32 kdeartwork-emoticons-kde4 wmpuzzle trafshow python-plplot lx-gdb link-monitor-applet libscm-dev liblog-agent-logger-perl libccrtp-doc libclass-throwable-perl kde-i18n-csb jack-jconv hamradio-menus coinor-libvol-doc msx-emulator bitbake nabi language-pack-gnome-zh libpaperg popularity-contest xracer-tools xfont-nexus opendrim-lmp-baseserver libvorbisfile-ruby liblinebreak-doc libgfcui-2.0-0c2a-dbg libblacs-mpi-dev dict-freedict-spa-eng blender-ogrexml aspell-da x11-apps openoffice.org-l10n-lv openoffice.org-l10n-nl pnmtopng libodbcinstq1 libhsqldb-java-doc libmono-addins-gui0.2-cil sg3-utils linux-backports-modules-alsa-2.6.31-19-generic yorick-yeti-gsl python-pymssql plasma-widget-cpuload mcpp gpsim-lcd cl-csv libhtml-clean-perl asterisk-dbg apt-dater-dbg libgnome-mag1-dev language-pack-gnome-yo python-crypto svn-autoreleasedeb sugar-terminal-activity mii-diag maria-doc libplexus-component-api-java-doc libhugs-hgl-bundled libchipcard-libgwenhywfar47-plugins libghc6-random-dev freefem3d ezmlm cakephp-scripts aspell-ar ara-byte not+sparc openoffice.org-l10n-nn linux-backports-modules-karmic-generic-pae
    [Show full text]
  • Using Sharepoint's Infopath Feature to Generate Forms Creating A
    SHAREPOINT PRACTICAL IT STRATEGIES FOR ENTERPRISE COLLABORATION /// OCTOBER 2008 I IMPLEMENTATION Using SharePoint’s InfoPath feature to generate forms SharePoint Server’s InfoPath can save money and time by streamlining the forms process. BY NICOLA YOUNG G GOVERNANCE Creating a SharePoint governance document Learn which issues to include in your SharePoint governance document to avoid problems down the road. BY BRIEN M. POSEY M MANAGEMENT Rookie mistakes to avoid during the implementation process From choosing the wrong installation to ignoring disaster recovery, beware of these SharePoint implementation blunders. BY SHAWN SHELL » EDITOR’SNOTE ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ In search of the ‘paperless office’ BY CHRISTINE CASATELLI ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Editor’s note FOR ENTERPRISES STILL STRIVING for the “paperless office,” Microsoft Office InfoPath might get you one step closer. I Office InfoPath is an application of Microsoft Office SharePoint Server 2007 that allows forms to be created and filled in using a Web browser. Users can Using SharePoint’s InfoPath feature publish these forms to a library and update them so everyone always uses the to generate forms latest version of each form. Web-based forms can save time and money, so why is InfoPath one of the G most underused SharePoint features? Creating a If the idea of writing custom code is a turn-off for IT folks, they needn’t worry. SharePoint governance SharePoint expert Nicola Young says that InfoPath uses a WYSIWYG forms document designer, so no programming is required. Young walks readers through the process of using an InfoPath template to design an online form in this month’s M cover story “Using SharePoint’s InfoPath feature to generate forms.” Rookie mistakes Is governance keeping you up at night? Then you’ve come to the right place.
    [Show full text]
  • John R. Crossett
    JOHN R. CROSSETT jrcrossett@ ieee.org PO Box 91 ~ Westport, New York 12993 (518)-564-0504 | (518)-524-3917 EMBEDDED SOFTWARE SYSTEMS ENGINEER: I am a seasoned and analytical Software Applications and Embedded Developer with over 25 years of diverse experience in the design and deployment of commercial and industrial adaptive software solutions within complex environments. I am experienced in object oriented analysis and design, development, and embedded programming with proficiencies in multiple languages including C#, and C++. PROFESSIONAL EXPERIENCE: GE Transportation: Erie Pa,Contract Software Engineer,April 2014 to April 2015 (12 months),Qnx based AC locomotive control system modifications, defect remediation. Multi- person team effort. GNU C++ development employing Perforce source control and Clear Quest project management. Worked extensively with QNX power fail safe file partitions, scripts for testing. Vanteon / Harris RF: Rochester NY,Contract Software Engineer,October 2013 to February 2014 (5 months),Qnx based military radio system modifications and defect remediation. 12 person person team. GNU C++ development involving fixing assigned bugs sent via JIRA project management software. Cryptographic access. Alstom Signaling: Rochester NY,August 2011 to 2013 (18 months) uClinux based network development ie. Custom FTP in C language on Blackfin processor. Linux user space driver development for I2C and SPI. Test driven development supporting blackfin initiative. Test code development for National Instruments Test Stand in C#. Custom test routines for emulation of simulated web service interface under Windows 7 using Microsoft WCF among other things. Riverstone Systems: Westport New York,DBA,Owner/Consultant 2008 to 2011 (~36 months) Remote saw mill software support for Edger Optimizer product (see Silva tech) .
    [Show full text]
  • Entorno Gráfico Para La Ejecución Y Depuración De Código Intermedio
    Proyecto final de carrera: Entorno gráfico para la ejecución y depuración de código intermedio Autor: Alberto Domínguez Dirigido por: D. Emilio Vivancos Valencia, Septiembre de 2010 1 Resumen El proyecto de final de carrera que se desarrolla a continuación consiste en un intérprete integrado en un entorno de desarrollo que de un modo enteramen- te visual ejecuta y facilita la depuración de programas escritos en un código intermedio de tres direcciones, potente y polivalente. A su vez detecta todos los errores que pueda tener el programa tanto en tiempo de carga como en tiempo de ejecución. Para ello se pueden usar herramientas como los puntos de ruptura, la inspección contínua de los valores en memoria, la ejecución paso a paso o la entrada y salida de datos por consola. El entorno de desarrollo permite además una integración total con el compilador y permite la modificación del código durante su uso, mejorando claramente las herramientas disponibles hasta ahora para ello. Se ha hecho especial incapié en conseguir que sea un programa de fácil uso y rápido aprendizaje, y que sea muy minucioso a la hora de detectar y mostrar los errores, pues el principal uso del programa es el docente o didáctico aunque no por ello el programa deja de tener toda la potencia necesaria para usarse con un propósito general, soportando varios tipos de datos y permitiendo una interacción cómoda con el usuario mientras se ejecutan los programas. Además, pensando en posibles cambios y ampliaciones del conjunto de instrucciones de código intermedio se ha programado y documentado pensando en la fácil am- pliación del mismo por cualquier interesado.
    [Show full text]
  • Desenvolvimento Cross-Platform Com C++ E Qt
    Desenvolvimento Cross-Platform com C++ e Qt Sandro Santos Andrade [email protected] http://liveblue.wordpress.com Objetivos ● Apresentar as principais funcionalidades do Qt 4.6 utilizadas no desenvolvimento produtivo de aplicações cross-platform modernas ● Proporcionar uma vivência prática inicial das soluções mais utilizadas neste toolkit motivando a formação de novos desenvolvedores Qt / KDE ● Discutir decisões de projeto, idiomas e ferramentas auxiliares utilizados no Qt Desenvolvimento Cross-Platform com C++ e Qt - Sandro Santos Andrade - Live Blue 2 Pré-requisitos ● Necessários: ● Fundamentos de Orientação a Objetos (OO) ● Experiência com alguma linguagem OO ● Experiência com desenvolvimento de aplicações visuais ● Desejáveis: ● Fundamentos da linguagem Standard C++ ● Especiais: ● Padrões de projeto, estilos arquiteturais, application frameworks etc Desenvolvimento Cross-Platform com C++ e Qt - Sandro Santos Andrade - Live Blue 3 Metodologia ● Duração: 60 horas ● Tópicos expositivos e laboratórios práticos ● Referências: ● Livros ● Qt Reference Documentation ● Fóruns (QtCentre etc) ● Qt Quarterly Desenvolvimento Cross-Platform com C++ e Qt - Sandro Santos Andrade - Live Blue 4 Metodologia ● Duração: 60 horas ● Tópicos expositivos e laboratórios práticos ● Referências: ● Livros ● Qt Reference Documentation ● Fóruns (QtCentre etc) ● Qt Quarterly Desenvolvimento Cross-Platform com C++ e Qt - Sandro Santos Andrade - Live Blue 5 Sobre o instrutor ● Sandro Andrade – Doutorando pelo DMCC (UFBa) – Nove anos de experiência com desenvolvimento
    [Show full text]
  • Tutorial De Qt4 Designer Y Qdevelop
    Tutorial de Qt4 Designer y QDevelop David González Gutiérrez Proyecto de Fin de Carrera FIB – UPC Tutorial de Qt4 Designer 2008/09 Q2 David González Gutiérrez CONTENIDO 1 INTRODUCCIÓN ........................................................................................................................................ 5 1.1 DESCRIPCIÓN ........................................................................................................................................ 5 1.2 MOTIVACIÓN .......................................................................................................................................... 5 1.3 OBJETIVO .............................................................................................................................................. 6 1.4 ORGANIZACIÓN DE LA MEMORIA .............................................................................................................. 6 2 ANÁLISIS PREVIO .................................................................................................................................... 8 2.1 EL PAQUETE QT .................................................................................................................................... 8 2.1.1 Breve historia de Qt ................................................................................................................................. 8 2.1.2 Qt y sus componentes principales ............................................................................................................ 8 2.1.2.1 QtDesigner
    [Show full text]
  • 00365134.Pdf
    . .—-. ., . CIC-14REPORTCOLLECTION LA=6044-PR ProgressReport REPRODUCTION UC-20 Cmy Issued: Awust 1975 LASL Controlled Thermonuclear Research Program January —December 1974 Compiled by F. L. Ribe I 1 / h J ! IosiQ4a Iamos k scientific laboratory of the University of California LOS ALAMOS. NEW MEXICO 87545 4 “b An AffirmativeActian/EqualOpportunityEmplayer UNITED STATES ENERGY RESEARCH AND DEvELOPMENT ADMINISTRATION CONTRACT W-7405 -ENG. 36 The four most recent reports in this series, unclassified, are LA-4585-MS, LA-4888-PR, LA-5250-PR, and LA-5656-PR. In the interest of prompt distribution, this report was not edited by the Technical Information staff. PrintedintheUnitedStatesofAmerica.Availablefrom NationalTechnicalInformationService U.S.DepartmentofCommerce S265 PortRoyalRoad Springfield,VA 22151 Price:PrintedCopy$7.60Microfiche$2.25 . .= .. _. \ -— ~===%.—- SUMMARY AND INTRODUCTION ,.— .- .— F. L. Ribe and G. A. Sawyer Since the last Annual Progress Report (LA-5656- In the case of the Scylla I-B and I-C experiments. PR, .July 1974) Scyllac has been rearranged into its detailed studies of the plasma implosion were com- final, complete toroidal configuration with 4-meter pleted and the device has been rebuilt for lower- radius. The equilibrium and m = 1 instability temperature, higher density plasma operation ap- properties of the 4-meter-radius sector were found to propriate to heating and scattering experiments us- be unchanged, i.e., plasma confinement was ter- ing a 1OO-.J, 4 X 1010 W/cm2 C02 laser furnished by minated by the m = 1 instability with a growth rate Group L-1. y = 0.7 MHz at a compression field of 40 kG and an The implcwion-heating experiment (Chapter VII) / = 1,0 wavelength of 33 cm.
    [Show full text]
  • Good Programming Practice
    Mitglied der Helmholtz-Gemeinschaft Good Programming Practice Juli 6, 2017 | Tobias Stockmanns Why is this necessary? When ever • many people work • over a long time • on a complex software project • with a high demand on reproducibility it is mandatory to have at least a basic knowledge to write proper code, because • You want to read and understand what others did (or what you did after a year not looking into the code) • You want to find bugs easily and fix them just on one place • You want to add additional features without rewriting the hole code again • You want to profit from the work of others • You want that the full project works Juli 6, 2017 Tobias Stockmanns Folie 2 LEVEL 1 Juli 6, 2017 Tobias Stockmanns Folie 3 Do not copy and paste code • Most important rule! • But one of the most broken one • If you copy code from someone else (or even more often from yourself) you increase the places where you have to fix something if there was a bug in the first place • If you want to add additional features you have to do it many times • Better use common methods/functions and common base classes to reuse existing code without copying. Juli 6, 2017 Tobias Stockmanns Folie 4 KISS – keep it simple, stupid • “Keep things as simple as possible bot not simpler” - A. Einstein • Most important for code is that it is understandable • So prefer simple, short and easily understandable solutions • “Any fool can write code that computers can understand, good programmers write code that humans can understand.” Juli 6, 2017 Tobias Stockmanns Folie 5 Coding Conventions • Every project with more than one developer should have a set of coding conventions to improve the readability of the code • For PANDA they were defined 2007 and can be found at: http://panda-wiki.gsi.de/cgi-bin/view/Computing/ PandaRootCodingRules Juli 6, 2017 Tobias Stockmanns Folie 6 Coding Conventions • PandaRoot follows the ROOT coding conventions • All PandaRoot classes should start with the suffix Pnd ! • Include files in the C++ code will have the extension ".h".
    [Show full text]
  • Paquetages Rpm ­
    - Déploiement d©un projet avec des paquetages rpm - Table des matières Liens...............................................................................................................................................................1 Objectif...........................................................................................................................................................1 Exemple : bonjour à tous !.............................................................................................................................2 Mise en situation.......................................................................................................................................2 Déploiement..............................................................................................................................................3 Fabriquer une version finale de l©application (release)..............................................................................3 Fabriquer un paquetage pour l©application (rpmbuild)..............................................................................4 Déployer une application sur une machine (installation)..........................................................................4 Fabriquer un paquetage..................................................................................................................................5 RPM (Red Hat Package Manager).............................................................................................................5 Tâches
    [Show full text]
  • Cours Qt Module IHM
    Cours Qt Module IHM Thierry Vaira IUT Arles [email protected] « v1.1 1 Présentation 2 Programmation évènementielle 3 Structure générale 4 Les modules 5 Application GUI 6 Élément graphique 7 Mécanisme signal/slot 8 Projet Qt 9 Environnement de Développement Intégré (EDI) 10 Positionnement des widgets 11 Transition Qt4 −→ Qt5 12 Documentation 13 Les TPs tv (IUT Arles) Cours Qt [email protected] « v1.1 2 / 63 Présentation Qu’est-ce que Qt ? Qt est une bibliothèque logicielle orientée objet (API) développée en C++ par Qt Development Frameworks, filiale de Digia. Qt est une plateforme de développement d’interfaces graphiques GUI (Graphical User Interface) fournie à l’origine par la société norvégienne Troll Tech, rachetée par Nokia en février 2008 puis cédée intégralement en 2012 à Digia (www.qt.io). Qt fournit un ensemble de classes décrivant des éléments graphiques (widgets) et des éléments non graphiques : accès aux données (fichier, base de données), connexions réseaux (socket), gestion du multitâche (thread), XML, etc. Support de cours : http ://tvaira.free.fr/dev/qt/ tv (IUT Arles) Cours Qt [email protected] « v1.1 3 / 63 Présentation Qu’offre Qt ? Qt permet la portabilité des applications (qui n’utilisent que ses composants) par simple recompilation du code source. Les environnements supportés sont les Unix (dont Linux), Windows et Mac OS X. Qt dispose d’un moteur de rendu graphique 2D performant. De grandes entreprises utilisent Qt : Google, Adobe Systems, Asus, Samsung, Philips, ou encore la NASA et bien évidemment Nokia. Qt est notamment connu pour être la bibliothèque sur laquelle repose l’environnement graphique KDE, l’un des environnements de bureau les plus utilisés dans le monde Linux.
    [Show full text]
  • Programming Tools on Linux
    Programming tools on Linux By: Rahul Ghose Hacker and Programmer [email protected] Topics Building software Students' Needs Building software Steps ● Planning ● Coding ● Debugging ● Testing ● Maintaning Parts of planning ● UML Modelling ● Entity-Relationship diagram ● Network Diagram ● Documentation generation Stuff for planning ● Dia ● Umbrello ● BOUML Toolbox in Qt ● Gaphor ● TCM (Toolkit for Conceptual Modelling) ● Doxygen ● GNU Plotutils Coding ● Language ● Algorithm ● Design ● Code Management ● Compiling ● Debugging ● Building Compilers / Interpreters used C gcc C++ g++ Java Openjdk, Sun-Jdk, Jikes Python Python Ruby Ruby C#.NET Mono (gmcs) VB.NET Mono (vbnc) PHP Php-Cli, Php Pascal FPC (Free Pascal Compiler) JSP Tomcat, Glassfish Integrated Development ● Code Editor ● Syntax Editor ● Code Folding ● Pretty Printer ● Project Management ● Compiler and Builder / Interpreter ● Debugger ● Version Control IDE ● Qt (Qdevelop) ● Kdevelop ● Eclipse ● Netbeans ● Code::Blocks w/wxFormBuilder ● Kompozer / Quanta+ [*] ● Komodo IDE ● Lazarus ● Anjutha w/Glade ● Boa Constructor / Gazpacho / Eric Code Management ● Version Control ● Subversion ● Concurrent Versions System ● Git ● Terms ● Import ● Checkout ● Update (sync) ● Commit ● Trunk Debugging ● GNU Debugger ● gdb ● cgdb ● Data Display Debugger (ddd) / Nemiver ● Mono-Debugger ● Chromium / Firebug ● Bashdb ● Pydb / Eric / Winpdb Testing ● C/C++ - Unit Test / ++ ● Java – testng ● Python – testtools ● PHP – simpletest ● .NET – Nunit Students' Needs Course 1)C/C++ 1)Manual / Geany 2)Visual Basic 2)GAMBAS 3)Microprocessor 3)GNUSim8085 simulator 4)JDK (or IDEs) 4)Java 5)Octave / Scilab 5)MATLAB Libraries ● Graphics ● Libgraph ● Port of conio.h on SDL ● Allegro ● Socket Programming ● Multi-Threading ● PTHREADS ● C++ STL Thank You! .
    [Show full text]