Presentation is loading. Please wait.

Presentation is loading. Please wait.

The Performance People Performance Management with Free and Bundled Tools Adrian Cockcroft Netflix Inc. (Co-authored with Mario.

Similar presentations


Presentation on theme: "The Performance People Performance Management with Free and Bundled Tools Adrian Cockcroft Netflix Inc. (Co-authored with Mario."— Presentation transcript:

1 The Performance People Performance Management with Free and Bundled Tools Adrian Cockcroft Netflix Inc. (Co-authored with Mario Jauvin MFJ Associates 12 June, 2014

2 June 12, 2014Adrian Cockcroft and Mario Jauvin Agenda Overview of Capacity Planning Requirements and Data Sources Performance Data Collection Free Network Monitoring Tools Free System Monitoring Tools Free Load Generation and Modelling Tools Licences and References

3 June 12, 2014Adrian Cockcroft and Mario Jauvin What are we talking about? Network monitoring with WireShark, MRTG, BigSister, Cacti, Nagios, OpenNMS, Zenoss, Openxtra, ntop Database Tier monitoring With SEtoolkit, Orca, XEtoolkit Application Tier monitoring with Orca, Cacti, BigSister, Ganglia, XEtoolkit QA Load generation with Grinder or SLAMD, modelling with PDQ and R

4 June 12, 2014Adrian Cockcroft and Mario Jauvin Capacity Planning Requirements and Data Sources

5 June 12, 2014Adrian Cockcroft and Mario Jauvin Definitions Capacity – Resource utilization and headroom Planning – Predicting future needs by analyzing historical data and modeling future scenarios Performance Monitoring – Collecting and reporting on performance data Free Tools – Bundled with the OS or available for no $$$

6 June 12, 2014Adrian Cockcroft and Mario Jauvin Capacity Planning Requirements We care about CPU, Memory, Network and Disk resources, and Application response times We need to know how much of each resource we are using now, and will use in the future We need to know how much headroom we have to handle higher loads We want to understand how headroom varies, and how it relates to application response times and throughput

7 June 12, 2014Adrian Cockcroft and Mario Jauvin CPU Capacity Measurements CPU Capacity is defined by CPU type and clock rate, or a benchmark rating like SPECrateInt2000 CPU utilization is defined as busy time divided by elapsed time for each CPU CPU load average measures the average number of jobs running and ready to run

8 June 12, 2014Adrian Cockcroft and Mario Jauvin CPU Measurement Issues Biased sample CPU measurements Microstate measurements are accurate, but are platform and tool specific Hyperthreading non-linearities Platform specific details, e.g. are interrupts included in system time? –

9 June 12, 2014Adrian Cockcroft and Mario Jauvin Memory Capacity Measurements Physical Memory Capacity Utilization and Limits – Kernel memory – Shared Memory segment – Executable code, stack and heap – File system cache usage – Unused free memory Virtual Memory Capacity - Swap Space Memory Throughput – Page in and page out rates

10 June 12, 2014Adrian Cockcroft and Mario Jauvin Network Capacity Measurements Network Interface Throughput – Byte and packet rates input and output TCP Protocol Specific Throughput – TCP connection count and connection rates – TCP byte rates input and output NFS/SMB Protocol Specific Throughput – Byte rates read and write – NFS/SMB service response times HTTP Protocol Specific Throughput – HTTP operation rates – Get and put payload byte rates and size distribution

11 June 12, 2014Adrian Cockcroft and Mario Jauvin Disk Capacity Measurements Detailed metrics vary by platform Easy for the simple disk cases Hard for cached RAID subsystems Almost Impossible for shared disk subsystems and SANs – Another system or volume can be sharing a backend spindle, when it gets busy your own volume can saturate, even though you did not change your own workload

12 June 12, 2014Adrian Cockcroft and Mario Jauvin Capacity Planning Challenges Constantly changing infrastructure Limited attention span from staff Horizontally scaled commodity systems Per node software licencing costs too much Too many tools, too many agents per node Too much data, not enough analysis Non-linear and non-intuitive scalability Lack of tools and metrics for virtualized resources

13 June 12, 2014Adrian Cockcroft and Mario Jauvin Observability Four different viewpoints – Management – Engineering – QA Testing – Operations Each needs very different information Ideal would be different views of the same performance database Reality is a mess of disjoint tools

14 June 12, 2014Adrian Cockcroft and Mario Jauvin Management Viewpoint Daily summary of status and problems Business oriented metrics Future scenario planning Marketing and management input Concise report with dashboard style status indicators Free tools: R, Spreadsheet and Web based displays, no good summarization tools

15 June 12, 2014Adrian Cockcroft and Mario Jauvin Engineering Viewpoint Large volumes of detailed data at several different time scales Input to tuning, reconfiguring and future product development Low level problem diagnosis Detailed reports with drill down and correlation analysis Free tools: XE/SE Toolkit, Orca, Ganglia, Cacti, R

16 June 12, 2014Adrian Cockcroft and Mario Jauvin QA Test Viewpoint Workload specification tools Load generation frameworks Testing for functionality and performance Regression tools to compare releases Modelling difference between test configuration and production configuration Free Tools: The Grinder, SLAMD, R, PDQ

17 June 12, 2014Adrian Cockcroft and Mario Jauvin Operations Viewpoint Immediate timeframe Real time display, updated in seconds Alert based monitoring High level problem diagnosis Simple high level graphs and views Free tools: BigSister, Nagios, OpenNMS, MRTG, Cacti, Ganglia, WireShark, ntop

18 June 12, 2014Adrian Cockcroft and Mario Jauvin Measurement Data Interfaces Several generic raw access methods – Read the kernel directly (not a good idea) – Structured system data (Solaris kstat, Linux /proc) – Process data – Network data – Accounting data – Application data Command based data interfaces – Scrape data from vmstat, iostat, netstat, sar, ps – Higher overhead, lower resolution, missing metrics Data available is platform specific either way Much more detail on this topic in the Solaris/Linux Performance Measurement and Tuning Class

19 June 12, 2014Adrian Cockcroft and Mario Jauvin Process based data Used by ps, top, proctool and debuggers, pea.se, Solaris proc tools Solaris and Linux both have /proc/pid/metric hierarchy Linux also includes system information in /proc rather than kstat Advantages – The recommended and supported process access API – Metric data structures reasonably stable over releases – Consistent data using locking – Solaris microstate data provides accurate process state timers Disadvantages – High overhead for open/read/close for every process – Linux reports data as ascii text, Solaris as binary structures

20 June 12, 2014Adrian Cockcroft and Mario Jauvin Kernel Trace - TNF, Dtrace, ktrace Solaris, Linux, Windows and other Unixes have similar features – Solaris has TNF probes and prex command to control them – User level probe library for hires tracepoints allows instrumentation of multithreaded applications – Kernel level probes allow disk I/O and scheduler tracing Advantages – Low overhead, microsecond resolution – I/O trace capability is extremely useful Disadvantages – Too much data to process with simple tracing capabilities – Trace buffer can overflow or cause locking issues Solaris 10 Dtrace is a quite different beast! Much more flexible

21 June 12, 2014Adrian Cockcroft and Mario Jauvin Dtrace – Dynamic Tracing One of the most exiting new features in Solaris 10, rave reviews New book: "Solaris Performance and Tools" by Richard McDougall Advantages – No overhead when it is not in use – Low overhead probes can be put anywhere/everywhere – Trace data is correlated and filtered at source, get exactly the data you want, very sophisticated data providers included – Bundled, supported, designed to be safe for production systems Disadvantages – Solaris specific, but being ported to BSD/Linux – No high level tools support yet – Yet another scripting language to learn – somewhat similar to awk

22 June 12, 2014Adrian Cockcroft and Mario Jauvin Accounting Records Standard Unix System V Accounting - acct – Tiny, incomplete (no process id!) low resolution, no overhead! Solaris Extended System and Network Accounting - exacct – Flexible, Overly complex, Detailed data, Interval support – No overhead! 100% capture ratio for infrequent samples!

23 June 12, 2014Adrian Cockcroft and Mario Jauvin Extracct for Solaris I wrote extracct tool to get extended acct data out in a useful form See for details and get code from Pre-compiled code for Solaris SPARC and x86. Solaris 8 to 10. – Useful data is logged in regular columns for easy import – Includes low overhead network accounting config file for TCP flows – Interval accounting option to force all processes to cut records – Automatic log filename generation and clean switching – Designed to run directly as a cron job, useful today More work needed to interface output to SE toolkit and Orca

24 June 12, 2014Adrian Cockcroft and Mario Jauvin Example Extracct Output #./extracct Usage: extracct [-vwr] [ file | -a dir ] -v: verbose -w: wracct all processes first -r: rotate logs -a dir: use acctadm.conf to get input logs, and write output files to dir The usual way to run the command will be from cron as shown 0 * * * * /opt/exdump/extracct -war /var/tmp/exacct > /dev/null 2>&1 2 * * * * /bin/find /var/adm/exacct -ctime +7 -exec rm {} \; This also shows how to clean up old log files, I only delete the binary files in this example, and I created /var/tmp/exacct to hold the text files. The process data in the text file looks like this: timestamp locltime duration procid ppid uid usr sys majf rwKB vcxK icxK sigK sycK arMB mrMB command :26: acctadm :26: sh :26: exdump :09: init :09: pageout

25 June 12, 2014Adrian Cockcroft and Mario Jauvin Configuration information Configuration data comes from too many sources! – Solaris device tree displayed by prtconf and prtdiag – Linux configuration data can be found in /proc – Solaris 8 adds dynamic configuration notification device picld – SunVTS component test system has vtsprobe to get config – SCSI device info using iostat -E in Solaris – Logical volume data from vxprint and metastat – HW RAID info from device specific tools – Critical storage config info must be accessed over ethernet… It is very hard to combine all this data

26 June 12, 2014Adrian Cockcroft and Mario Jauvin Free Network Monitoring Tools

27 June 12, 2014Adrian Cockcroft and Mario Jauvin SNMP Simple network management protocol UDP protocol based on port 161 Client/server like – Client is called management application entity – Server is called an agent entity Agent entity is designed to be implemented on network hardware, router, switches, etc

28 June 12, 2014Adrian Cockcroft and Mario Jauvin SNMP – MIBs Management information base Defines the structure and the semantic of the information that can be reported on Most commonly used is MIB-II which defines a set of standard networking attributes – Interface tables – System level information – Routing tables Specified using ASN.1 (abstract syntax notation 1)

29 June 12, 2014Adrian Cockcroft and Mario Jauvin SNMP – commands Called PDU (protocol data units) GET GETNEXT GETBULK SET Encoded using BER (basic encoding rules)

30 June 12, 2014Adrian Cockcroft and Mario Jauvin Versions Version 1, original version done in May 1991 Version 2, around Failed because the IETF credo of rough consensus and running code could not be met on securing SNMP Turned into V2c for community string security (like V1) Version 3, added security and complexity in 1998

31 June 12, 2014Adrian Cockcroft and Mario Jauvin SNMP tools Too numerous to name all but… OpenNMS Nagios Cacti MRTG Net-snmp – See

32 June 12, 2014Adrian Cockcroft and Mario Jauvin SNMP tools Snmpwalk – will report all data in a specified MIB getIf – will report data about interfaces and includes built-in MIB browser Snmptable – will report tabular data from MIB tables

33 June 12, 2014Adrian Cockcroft and Mario Jauvin OpenNMS Well…. its not that portable – 95% java is not 100% java – Requires about different platform specific packages (PostgreSQL, Perl, RRD tool, Tomcat 4 etc…) – Difficult to install – Easy auto discovery – Web-based interface

34 June 12, 2014Adrian Cockcroft and Mario Jauvin OpenNMS Main screen shot

35 June 12, 2014Adrian Cockcroft and Mario Jauvin OpenNMS Node screen shot

36 June 12, 2014Adrian Cockcroft and Mario Jauvin Nagios Easy to build/compile (on Solaris 10) Easy to install Quick response from CGI Configuration is manual and a pain – 13 configuration files with all kinds of interrelated entries – Tedious and error prone Requires plugins to do anything

37 June 12, 2014Adrian Cockcroft and Mario Jauvin Nagios Main screen shot

38 June 12, 2014Adrian Cockcroft and Mario Jauvin Nagios Host detail screen shot

39 June 12, 2014Adrian Cockcroft and Mario Jauvin

40 June 12, 2014Adrian Cockcroft and Mario Jauvin ntop Similar to familiar UNIX top tool for processes but used for network Provide huge selection of real-time data Can be found at

41 June 12, 2014Adrian Cockcroft and Mario Jauvin ntop – Active Sessions

42 June 12, 2014Adrian Cockcroft and Mario Jauvin ntop Hosts

43 June 12, 2014Adrian Cockcroft and Mario Jauvin ntop Network Load

44 June 12, 2014Adrian Cockcroft and Mario Jauvin ntop_Network_Thruput

45 June 12, 2014Adrian Cockcroft and Mario Jauvin ntop Port Dist

46 June 12, 2014Adrian Cockcroft and Mario Jauvin ntop_Protocol_Dist

47 June 12, 2014Adrian Cockcroft and Mario Jauvin ntop Protocols

48 June 12, 2014Adrian Cockcroft and Mario Jauvin Zenoss Open source monitoring and management of IT infrastructure Zenoss core is free Other editions are for a fee Get it from

49 June 12, 2014Adrian Cockcroft and Mario Jauvin zenoss Architecture

50 June 12, 2014Adrian Cockcroft and Mario Jauvin zenoss Dash Config

51 June 12, 2014Adrian Cockcroft and Mario Jauvin zenoss Google

52 June 12, 2014Adrian Cockcroft and Mario Jauvin zenoss Google Alerts

53 June 12, 2014Adrian Cockcroft and Mario Jauvin Zenoss Graphs

54 June 12, 2014Adrian Cockcroft and Mario Jauvin zenoss Topology

55 June 12, 2014Adrian Cockcroft and Mario Jauvin MRTG Really simple to install and configure Require manual config file creation Only for MIB-II interface plotting out of the box Graphing not flexible, axis, time etc

56 June 12, 2014Adrian Cockcroft and Mario Jauvin MRTG Interface screen shot

57 June 12, 2014Adrian Cockcroft and Mario Jauvin MRTG Other CPU screen shot

58 June 12, 2014Adrian Cockcroft and Mario Jauvin RRD tool Software to store, retrieve and graph numerical time series data Use a round robin algorithm Data files are a fixed size – Dont grow – Dont require maintenance

59 June 12, 2014Adrian Cockcroft and Mario Jauvin RRD tool Compiles on most platforms Used by many SNMP based tools – OpenNMS – Cacti – BigSister – WeatherMap4RRD – MailGraph

60 June 12, 2014Adrian Cockcroft and Mario Jauvin RRD tool 14all CGI script that plots data similar to MRTG Configurable to collect data at different interval (unlike MRTG) Flexible and variable in what data can be collected

61 June 12, 2014Adrian Cockcroft and Mario Jauvin RRD tool Sample screen shot

62 June 12, 2014Adrian Cockcroft and Mario Jauvin RRD tool Screen shot

63 June 12, 2014Adrian Cockcroft and Mario Jauvin RRD tool Create a RRD database rrdtool create test.rrd \ --start \ DS:speed:COUNTER:600:U:U \ RRA:AVERAGE:0.5:1:24 \ RRA:AVERAGE:0.5:6:10

64 June 12, 2014Adrian Cockcroft and Mario Jauvin RRD tool Create a graph rrdtool graph speed.png \ --start end \ DEF:myspeed=test.rrd:speed:AVERAGE \ LINE2:myspeed#FF0000

65 June 12, 2014Adrian Cockcroft and Mario Jauvin Free Performance Data Collection and Rules Toolkits

66 June 12, 2014Adrian Cockcroft and Mario Jauvin SE toolkit Example Tools A free performance toolkit for rapidly creating custom data sources Makes all the very extensive Solaris metrics easily available Very system specific and not enough metrics exist to port to Linux Written by Rich Pettit with contributions from Adrian Cockcroft Get SE3.4 from Open source with support for SPARC & x86 Solaris 8, 9, 10 FunctionExample SE Programs RuleMonitorscpg.semonlog.semon_cm.selive_test.sepercollator.se zoom.sevirtual_adrian.sevirtual_adrian_lite.se Disk Monitorssiostat.sexio.sexiostat.seiomonitor.seiost.sexit.sedisks.se CPU Monitorscpu_meter.sevmmonitor.sempvmstat.se Process Monitorsmsacct.sepea.seps-ax.seps-p.sepwatch.sepw.se Network Monitorsnet.setcp_monitor.se netmonitor.se netstatx.se nfsmonitor.senx.se Clonesiostat.seuname.sevmstat.senfsstat-m.seperfmeter.sexload.se Data browsersaw.seinfotool.semulti_meter.se Contributed Codeanasadfstatskviewsystunewatchorcollator.se TestProgramssyslog.secpus.sepure_test.secollisions.seuptime.sedumpkstats.se net_examplenproc.sekvmname.se

67 June 12, 2014Adrian Cockcroft and Mario Jauvin SE language features SE is a 64bit interpreted dialect of C – Not a new language to learn from scratch! – Standard C /usr/ccs/bin/cpp used at runtime to preprocess SE scripts – Main omissions - pointer types and goto – Main additions - classes and string type – powerful ways to handle dynamically allocated data – built-in fast balanced tree routines for storing key indexed data Dynamic linking to all existing C libraries – Built-in classes access kernel data – Supplied class code hides details, provides the data you want Example scripts improve on basic utilities e.g. siostat.se, nx.se, pea.se Example rule based monitors e.g. virtual_adrian.se, orcallator.se

68 Creating Rules Based on real experiences of all the things that go wrong Capture an approximation to intuition Test and calibrate rules on as many systems as possible Easy?? June 12, 2014Adrian Cockcroft and Mario Jauvin

69 June 12, 2014Adrian Cockcroft and Mario Jauvin Configuring Rules Thresholds should be configured Very application dependent Capture the operating envelope – Measure the underlying values – Measure peaks in normal operation – Note values during problems – Set thresholds to capture the difference This applies to any tool – SE Toolkit, Cacti, Ganglia, Nagios, OpenNMS etc.

70 June 12, 2014Adrian Cockcroft and Mario Jauvin Rules as Objects Define only the input and output information Hide implementation details Make high level rule objects trivial to use and reuse SE Toolkit does it in three lines of code: – #include – Declare rule object as a typed variable – Read and use or print object status

71 June 12, 2014Adrian Cockcroft and Mario Jauvin "virtual adrian" rules summary Disk Rule for all disks at once – Looks for slow disks and unbalanced usage Network Rule for all networks at once – Looks for slow nets and unbalanced usage Swap Rule - Looks for lack of available swap space RAM Rule - Looks for short page residence times CPU Power Rule – Scales on MP systems – Looks for long run queue delays Mutex Rule - Looks for kernel lock contention and high sys CPU time TCP Rule – Looks for listen queue problems – Reports on connection attempt failures

72 June 12, 2014Adrian Cockcroft and Mario Jauvin XE Toolkit - Complete re-write of SE Toolkit by Rich Pettit – Extensible Java collector, customize with jar files – Release 1.2 available April 2008 – Multi-platform support Solaris, Linux/x86, Windows, BSD, OSX, HP-UX, AIX, Linux/s390, Linux/Power Licencing – Free GPL version for standard use and shared derivations – Open source, hosted at – Commercial support available if needed – Commercial product license for custom in-house derivations Addresses all the issues people had with SE toolkit !

73 June 12, 2014Adrian Cockcroft and Mario Jauvin Captive Metrics / XE Toolkit Architecture

74 June 12, 2014Adrian Cockcroft and Mario Jauvin Free System Monitoring Tools

75 June 12, 2014Adrian Cockcroft and Mario Jauvin Collated Performance Data - Orca Problems with time sync when collecting data from multiple tools – No timestamp at all for vmstat, netstat, df... – No timestamp by default for iostat and ps... – No way to collect realtime stats from an http logfile Use SE Toolkit to generate one timestamped row containing all the data – First version of percollator.se written by Adrian Cockcroft in 1996 – Extended orcallator.se written by Blair Zajac a few years later – Graphs generated by orca batch job feeding rrdtool based web pages – Active community developing tool at – Extended to collect much more data, including process workloads – Basic data collection ported to Linux, HP-UX and Windows Orca is basically MRTG for System metrics rather than Network See

76 June 12, 2014Adrian Cockcroft and Mario Jauvin Orca data collections Collected using procollator reading info from /proc on Linux [Uptime][Uptime] [Average # Processes in Run Queue (Load Average)] [CPU Usage] [New Process Spawn Rate] [Number of System & Running Processes] [Context Switches & Interrupts Rate] [Interface Input Bits Per Second] [Interface Output Bits Per Second] [Interface Input Packets Per Second] [Interface Output Packets Per Second] [Interface Input Errors Per Second] [Interface Output Errors Per Second] [Interface Input Dropped Per Second] [Interface Output Dropped Per Second] [Interface Output Collisions] [Interface Output Carrier Losses] [TCP Current Connections] [IP Statistics] [TCP Statistics] [ICMP Statistics] [UDP Statistics] [Disk System Wide Reads/Writes Per Second] [Disk System Wide Transfer Rate] [Disk Reads/Writes Per Second] [Disk Transfer Rate] [Disk Space Percent Usage] [Physical Memory Usage] [Swap Usage] [Page Ins & Outs Rate] [Swap Ins & Outs Rate] [Average # Processes in Run Queue (Load Average)][CPU Usage][New Process Spawn Rate][Number of System & Running Processes][Context Switches & Interrupts Rate][Interface Input Bits Per Second][Interface Output Bits Per Second][Interface Input Packets Per Second][Interface Output Packets Per Second][Interface Input Errors Per Second][Interface Output Errors Per Second][Interface Input Dropped Per Second][Interface Output Dropped Per Second][Interface Output Collisions][Interface Output Carrier Losses][TCP Current Connections][IP Statistics][TCP Statistics][ICMP Statistics][UDP Statistics][Disk System Wide Reads/Writes Per Second][Disk System Wide Transfer Rate][Disk Reads/Writes Per Second][Disk Transfer Rate][Disk Space Percent Usage][Physical Memory Usage][Swap Usage][Page Ins & Outs Rate][Swap Ins & Outs Rate] Orca on Solaris collects many more metrics than shown above Strength of Orca is lots of detailed metrics with low overhead for collection Easily customized to add more system metrics or application metrics Orca can already track HTTP traffic and parse log files

77 June 12, 2014Adrian Cockcroft and Mario Jauvin All metrics are stored in round robin database format using RRDtool to generate displays over different time spans Web page is simple collection of plots with drill down by metric or by time Suitable for monitoring a relatively small number of systems in great detail, e.g. backend database servers

78 June 12, 2014Adrian Cockcroft and Mario Jauvin Cacti – Web based user interface based on RRDtool More sophisticated GUI than Orca or MRTG Less sophisticated system metric collection, but more coverage of networking Better management of groups of systems and devices than Orca, useful for tens to hundreds of nodes Access control and personalization for users

79 June 12, 2014Adrian Cockcroft and Mario Jauvin

80 June 12, 2014Adrian Cockcroft and Mario Jauvin

81 June 12, 2014Adrian Cockcroft and Mario Jauvin Ganglia – Web based RRDtool GUI somewhat similar to Cacti Better management of clusters of systems and devices than Cacti, useful for hundreds to thousands of nodes in a hierarchy of clusters Provides many summary statistic plots at cluster level and collects detailed configuration data XML based data representation Uses low overhead network protocol In common use at hundreds of large HPC Grid sites, less visibly in use at some large commercial sites

82 June 12, 2014Adrian Cockcroft and Mario Jauvin

83 June 12, 2014Adrian Cockcroft and Mario Jauvin

84 June 12, 2014Adrian Cockcroft and Mario Jauvin

85 June 12, 2014Adrian Cockcroft and Mario Jauvin BigBrother and BigSister Network and system dashboard alert monitor Widely used at internet sites Bigbrother is at Bigsister is at Bigsister seems to have more features, alert logging, better portability and more efficient data collection. Compatible update to BB4.

86 June 12, 2014Adrian Cockcroft and Mario Jauvin

87 June 12, 2014Adrian Cockcroft and Mario Jauvin

88 June 12, 2014Adrian Cockcroft and Mario Jauvin

89 June 12, 2014Adrian Cockcroft and Mario Jauvin Free QA Test and Modelling Tools

90 June 12, 2014Adrian Cockcroft and Mario Jauvin QA Test Requirements Generate test workload – SLAMD, Grinder Collect performance metrics – Any of the tools already mentioned Report regression against baseline Predict capacity needed for production system – Use spreadsheets for simple linear prediction – Use modelling tools such as PDQ for queuing models

91 June 12, 2014Adrian Cockcroft and Mario Jauvin Grinder 3 - Powerful New Features 100% Pure Java - works on any hardware platform and any operating system that supports J2SE 1.3 and above. Java and Jython based load testing framework – Web Browsers: simulate web browsers using HTTP, and HTTPS. – Web Services: test interfaces using SOAP and XML-RPC. – Database: test databases using JDBC. – Middleware: RPC and MOM based systems using IIOP, RMI/IIOP, RMI/JRMP, and JMS. – Other Internet protocols: POP3, SMTP, FTP, and LDAP. See J2EE Performance Testing with BEA WebLogic Server by Peter Zadrozny, Philip Aston and Ted Osborne, originally published by Expert Press and now by APress uses Grinder 2 throughout. J2EE Performance Testing with BEA WebLogic Server

92 June 12, 2014Adrian Cockcroft and Mario Jauvin SLAMD Load generation framework, written in Java Originally built to test LDAP servers by Sun Extended to be very generic and published as open source. Actively being developed. Sophisticated functions and user interface See Latest Release 2.0 has better usability focus

93 June 12, 2014Adrian Cockcroft and Mario Jauvin

94 June 12, 2014Adrian Cockcroft and Mario Jauvin

95 June 12, 2014Adrian Cockcroft and Mario Jauvin

96 June 12, 2014Adrian Cockcroft and Mario Jauvin PDQ Modelling Tool Dr Neil Gunthers toolkit at Library used from C or Perl provides MVA queueing models Use to calibrate in QA and predict in production PDQ modelling tool details: – The Practical Performance Analyst Dr. Neil Gunther - McGraw-Hill, 1998 ISBN – Analyzing Computer System Performance with Perl:PDQ 2004, ISBN

97 June 12, 2014Adrian Cockcroft and Mario Jauvin References and Conclusion

98 June 12, 2014Adrian Cockcroft and Mario Jauvin Licences for Free Tools Open Source Initiative – OSI Approved licences – Comparisons of Common Licences –

99 June 12, 2014Adrian Cockcroft and Mario Jauvin Web Pages and Books Adrians Performance and other topics blog – MFJ Associates performance tools link page – More free tools compiled by John Sellens – More tools compiled by Openxtra – SE toolkit info: Sun Performance and Tuning - Java and the Internet - Adrian Cockcroft and Richard Pettit - Sun Press/Prentice Hall, 2 nd Edition, 1998 ISBN Solaris 8 and Linux: System Performance Tuning 2 nd Edition – Gian-Paolo Musumeci, OReilly 2002 ISBN: X Solaris Internals – Richard McDougall and James Mauro - new 2nd edition and new performance book by Richard McDougall and Brendan Gregg

100 June 12, 2014Adrian Cockcroft and Mario Jauvin Concluding Remarks Many large installations depend on free tools A full suite of functionality is available Several tools are needed to cover the bases Tradeoff between function and ease of use Support may be available, but typically Google is the best support tool Functionality is increasing….

101 June 12, 2014Adrian Cockcroft and Mario Jauvin Questions?


Download ppt "The Performance People Performance Management with Free and Bundled Tools Adrian Cockcroft Netflix Inc. (Co-authored with Mario."

Similar presentations


Ads by Google