SlideShare una empresa de Scribd logo
1 de 28
Descargar para leer sin conexión
Red Hat Enterprise Linux 7
Performance Co-Pilot : Overview
Agenda :
➢ Objective of performance monitoring
➢ Traditional methods of performance monitoring
➢ Need of a new performance monitoring tool kit
➢ Introduction to Performance Co-Pilot
➢ Component and Architecture of Performance Co-Pilot
➢ Basic performance monitoring tools
➢ Demo
➢ Knowledge sources
Objective of performance monitoring :
➢ Early detection of a ( potential ) problem.
➢ Rapidly drill down & pinpoint issue in specific program.
➢ Reduce downtime of mission critical services/systems.
Traditional methods of performance
monitoring :
➢ System log files ( rsyslog/syslog-ng/journald )
➢ Native performance monitoring tools
( top/iostat/vmstat/ps etc. )
➢ Combination of scripting languages
( bash/perl/python )
➢ Specific tools vary per platform
Need of a new performance monitoring tool kit :
➢ Centralized monitoring of local or distributed systems in a complex
network.
➢ Automated performance monitoring of system and services.
➢ System-level analysis of performance statistics.
➢ To record and replay performance statistics.
➢ Performance regression detection.
➢ Evaluation of effects of an operating system upgrade etc.
Introduction to Performance Co-Pilot :
➢ PCP is a system level performance monitoring and performance
management toolkit.
➢ PCP provides a range of services that may be used for collection,
monitoring and analysis of system metrics.
➢ PCP includes many facilities for creating and replaying archive logs
that capture performance information.
➢ Cross platform support : Linux, Mac OS and Windows.
➢ End-to-end support : Hardware, Core OS, Services and
applications.
Introduction to Performance Co-Pilot :
➢ Distributed architecture
Monitoring of local and remote nodes.
➢ Real-time or retrospective
Live system or archive.
➢ Pluggable
New agents system metrics within PCP.
Performance Co-Pilot – Components :
Collectors
● Collect and export performance metrics
● Performance Metric Domain Agents (PMDA)
● Performance Metric Collection Daemon (PMCD)
Consumers
● Record, visualise, monitor and analyse performance data
● Consume data either in realtime or replay historical data
from archive logs
Note: Hosts may operate as collectors, consumers or both.
● Multiple consumers may connect with one or more collectors
Performance Co-Pilot – Collectors :
Performance Metric Domain Agents (PMDA)
● Extracts & exports metric data from a system component
● Communicates with pmcd on local system
Performance Metric Collection Daemon (PMCD)
● One pmcd process per host
● Coordinates handling of fetch requests between consumer
applications and agents
● Listens for connections from localhost & remote clients
● Authenticated & encrypted connection options
Performance Co-Pilot – Consumers :
● pmlogger
● Utility to capture and store metrics exported by PMCD
● Concurrent logging of data from local and remote hosts
● Archive playback by other consumer tools (eg pmchart, pmval)
● Tools for log archival, log rotation etc
● Operates on data in realtime only
● pminfo - display PCP metrics available on a host or in an archive
● pmchart - GUI utility providing graphical display of PCP data
● pmstat - vmstat-like utility
● pmatop - top-like utility
● pmie - inference engine and alerting utility
● pmval - display a metric
Performance Co-Pilot - Architecture
Webserver
DBMS
Network
Kernel
PMDAs
PMCD
pmchart
pmstat
pmlogger
Consumers
Archive ClientsConsumers
Performance Co-Pilot – Distributed Architecture
Agents
PMCD
PMDA's
PMCD
Host 2
PMDA's
PMCD
Host 3
PMDA's
PMCD
Host 1
ClientsConsumers
Clients
Host 4
Consumers
Installation:
To install pcp and pcp-gui package, type the following
command:
# yum install pcp pcp­gui
“pcp” package provides a framework and services to support
system-level performance monitoring and performance
management.
“pcp-gui” package provides a visualization tools for the
Performance Co-Pilot toolkit.
Services:
To start pmcd and pmlogger services, type the following command:
# chkconfig pmcd on
# chkconfig pmlogger on
# service pmcd start
# service pmlogger start
To check the status of pcp services, type the following command:
# service pcp status
Note: Bug: 1044682 - pcp should use systemd
Verification:
pcp - Summary of PCP installation
# pcp
Performance Co­Pilot configuration on localhost.localdomain:
platform: Linux localhost.localdomain 3.10.0­121.el7.x86_64 #1 SMP Tue 
Apr 8 10:48:19 EDT 2014 x86_64
 hardware: 2 cpus, 1 disk, 1 node, 1840MB RAM
 timezone: IST­5:30
     pmcd: Version 3.8.10­1, 6 agents
     pmda: pmcd proc xfs linux mmv jbd2
Configuration files:
Main configuration file for pcp:
/etc/pcp.conf 
Main configuration file for pmcd:
/etc/pcp/pmcd/pmcd.conf
Command line options for the pmcd:
/etc/pcp/pmcd/pmcd.options
Default pmlogger config file:
/etc/pcp/pmlogger/config.default
PCP archive logging configuration/control:
/etc/pcp/pmlogger/control
PCP log control mechanisms:
/var/lib/pcp/config/pmlogconf
Note: pmlogger is utility to capture and store metrics exported by PMCD
Log files:
Log file directories for pcp components:
/var/log/pcp/pmcd
/var/log/pcp/pmie
/var/log/pcp/pmlogger
/var/log/pcp/pmmgr
/var/log/pcp/pmproxy
/var/log/pcp/pmwebd
Directory Organization for Archive Log
Files
Performance monitoring tools:
➢ For all PCP monitoring tools, metrics values may come from a real-
time feed (i.e. from pmcd on some host), or from an archive log.
➢ Performance monitoring tools available in Performance Co-Pilot
(PCP).
pmstat
pmatop
pmcollectl
pmval
pmchart
pminfo
Performance monitoring tools:
pmstat - vmstat-like utility, intended to monitor system
performance at the highest level.
# pmstat
# pmstat ­t 1 ­T 3
# pmstat ­a 
/var/log/pcp/pmlogger/localhost.localdomain/20140607.20.20.0 
Performance monitoring tools:
pmatop - top-like utility
#pmatop
Record Mode:
pmatop ­w rawfile [ interval [ samples ]]
Playback Mode:
pmatop ­r [ rawfile ] [­g|­m] [­L linelen] [­h host]
Eg:
# pmatop ­w atop.out 1 4
# pmatop ­r atop.out
Performance monitoring tools:
pmcollectl - System-level performance monitoring utility that
records or displays specific operating system data for one or more
sets of subsystems.
Basic System­level performance monitoring:
# pmcollectl
Subsystem Specific performance monitoring:
# pmcollectl ­sm
# pmcollectl ­sm –verbose
# pmcollectl ­smcdn –verbose
Record Mode:
# pmcollectl ­f perf­data ­c 3 
Playback Mode: 
# pmcollectl ­p perf­data 
 
Performance monitoring tools:
pminfo - Display PCP metrics available on a host or in an archive.
Full list of all available metrics:
# pminfo ­F       
Fetch and print values for all or specific metrics:
# pminfo ­f
# pminfo ­f <metric>
# pminfo ­F ­a 
/var/log/pcp/pmlogger/localhost.localdomain/20140607.20.56.0 
Eg:
# pminfo ­f proc.nprocs disk.dev.read filesys.free
Descriptions of all or specific metrics:
# pminfo ­T ­d 
# pminfo ­T ­d <metric>
Eg:
# pminfo ­T ­d mem.util.cached
# pminfo ­T ­d proc.nprocs disk.dev.read filesys.free
Performance monitoring tools:
pmval - Dumps the current values for the named performance
metrics.
# pmval <metric>
Eg:
# pmval proc.nprocs
# pmval kernel.all.load
# pmval  ­t 2sec ­s 4 kernel.percpu.cpu.idle
Performance monitoring tools:
pmchart - GUI utility providing graphical display of PCP data
Knowledge sources:
● What are all the Performance Co-Pilot (PCP) RPM packages in RHEL?
https://access.redhat.com/articles/1146003
● How do I install Performance Co-Pilot (PCP) on my RHEL server to capture
performance logs
https://access.redhat.com/solutions/1137023
● How do I configure a firewall on a RHEL server to allow remote monitoring with
Performance Co-Pilot (PCP)?
https://access.redhat.com/solutions/1145963
● How can I customize the Performance Co-Pilot logging configuration
https://access.redhat.com/articles/1146283
Knowledge sources:
● What are the typical Performance Co-Pilot (PCP) deployment strategies ?
https://access.redhat.com/articles/1147393
● PCP extensibility through custom agents
https://access.redhat.com/solutions/749813
● Index of Performance Co-Pilot (PCP) articles, solutions, tutorials and white papers
https://access.redhat.com/articles/1145953
● How does Performance Co-Pilot (PCP) compare with sysstat
https://access.redhat.com/articles/1148133
● Overview of Additional Performance Tuning Utilities in Red Hat Enterprise Linux 7
https://access.redhat.com/articles/785283
Questions ?

Más contenido relacionado

La actualidad más candente

Generalized transition graphs
Generalized transition graphsGeneralized transition graphs
Generalized transition graphsArham Khan G
 
3.6 &amp; 7. pumping lemma for cfl &amp; problems based on pl
3.6 &amp; 7. pumping lemma for cfl &amp; problems based on pl3.6 &amp; 7. pumping lemma for cfl &amp; problems based on pl
3.6 &amp; 7. pumping lemma for cfl &amp; problems based on plSampath Kumar S
 
File handling in c
File handling in c File handling in c
File handling in c Vikash Dhal
 
Structures in c++
Structures in c++Structures in c++
Structures in c++Swarup Boro
 
Dynamic memory allocation in c++
Dynamic memory allocation in c++Dynamic memory allocation in c++
Dynamic memory allocation in c++Tech_MX
 
Formal Languages and Automata Theory unit 2
Formal Languages and Automata Theory unit 2Formal Languages and Automata Theory unit 2
Formal Languages and Automata Theory unit 2Srimatre K
 
Linker and loader upload
Linker and loader   uploadLinker and loader   upload
Linker and loader uploadBin Yang
 
Exception Handling in C++
Exception Handling in C++Exception Handling in C++
Exception Handling in C++Deepak Tathe
 
Xml query language and navigation
Xml query language and navigationXml query language and navigation
Xml query language and navigationRaghu nath
 
Java Script Object Notation (JSON)
Java Script Object Notation (JSON)Java Script Object Notation (JSON)
Java Script Object Notation (JSON)Adnan Sohail
 
Programming Fundamentals Functions in C and types
Programming Fundamentals  Functions in C  and typesProgramming Fundamentals  Functions in C  and types
Programming Fundamentals Functions in C and typesimtiazalijoono
 
Regular expressions
Regular expressionsRegular expressions
Regular expressionsShiraz316
 

La actualidad más candente (20)

Lesson 03
Lesson 03Lesson 03
Lesson 03
 
Generalized transition graphs
Generalized transition graphsGeneralized transition graphs
Generalized transition graphs
 
Strings in c#
Strings in c#Strings in c#
Strings in c#
 
3.6 &amp; 7. pumping lemma for cfl &amp; problems based on pl
3.6 &amp; 7. pumping lemma for cfl &amp; problems based on pl3.6 &amp; 7. pumping lemma for cfl &amp; problems based on pl
3.6 &amp; 7. pumping lemma for cfl &amp; problems based on pl
 
File handling in c
File handling in c File handling in c
File handling in c
 
Structures in c++
Structures in c++Structures in c++
Structures in c++
 
Dynamic memory allocation in c++
Dynamic memory allocation in c++Dynamic memory allocation in c++
Dynamic memory allocation in c++
 
Formal Languages and Automata Theory unit 2
Formal Languages and Automata Theory unit 2Formal Languages and Automata Theory unit 2
Formal Languages and Automata Theory unit 2
 
ch3.ppt
ch3.pptch3.ppt
ch3.ppt
 
Lesson 05
Lesson 05Lesson 05
Lesson 05
 
Linker and loader upload
Linker and loader   uploadLinker and loader   upload
Linker and loader upload
 
Exception Handling in C++
Exception Handling in C++Exception Handling in C++
Exception Handling in C++
 
Perl Scripting
Perl ScriptingPerl Scripting
Perl Scripting
 
Xml query language and navigation
Xml query language and navigationXml query language and navigation
Xml query language and navigation
 
Java Script Object Notation (JSON)
Java Script Object Notation (JSON)Java Script Object Notation (JSON)
Java Script Object Notation (JSON)
 
Solving the n + 1 query problem
Solving the n + 1 query problemSolving the n + 1 query problem
Solving the n + 1 query problem
 
Automata Theory
Automata TheoryAutomata Theory
Automata Theory
 
Asp objects
Asp objectsAsp objects
Asp objects
 
Programming Fundamentals Functions in C and types
Programming Fundamentals  Functions in C  and typesProgramming Fundamentals  Functions in C  and types
Programming Fundamentals Functions in C and types
 
Regular expressions
Regular expressionsRegular expressions
Regular expressions
 

Destacado

Getting Started with Performance Co-Pilot
Getting Started with Performance Co-PilotGetting Started with Performance Co-Pilot
Getting Started with Performance Co-PilotPaul V. Novarese
 
System performance monitoring pcp + vector
System performance monitoring   pcp + vectorSystem performance monitoring   pcp + vector
System performance monitoring pcp + vectorSandeep Kunkunuru
 
Directory Write Leases in MagFS
Directory Write Leases in MagFSDirectory Write Leases in MagFS
Directory Write Leases in MagFSMaginatics
 
FlyData Autoload: 事例集
FlyData Autoload: 事例集FlyData Autoload: 事例集
FlyData Autoload: 事例集FlyData Inc.
 
2014-01-28 Operation in the future
2014-01-28 Operation in the future2014-01-28 Operation in the future
2014-01-28 Operation in the futureOperation Lab, LLC.
 
PyCon JP 2014 plone terada
PyCon JP 2014 plone teradaPyCon JP 2014 plone terada
PyCon JP 2014 plone teradaManabu Terada
 
第29回WebSig会議「効率化だけではない!中小~中堅ECサイトの成果を上げる「メディア編集力」とは」
第29回WebSig会議「効率化だけではない!中小~中堅ECサイトの成果を上げる「メディア編集力」とは」第29回WebSig会議「効率化だけではない!中小~中堅ECサイトの成果を上げる「メディア編集力」とは」
第29回WebSig会議「効率化だけではない!中小~中堅ECサイトの成果を上げる「メディア編集力」とは」WebSig24/7
 
SI業界の営業の役割と存在意義を一緒に考えよう
SI業界の営業の役割と存在意義を一緒に考えようSI業界の営業の役割と存在意義を一緒に考えよう
SI業界の営業の役割と存在意義を一緒に考えようManabu Terada
 
Pyconjp2014_implementations
Pyconjp2014_implementationsPyconjp2014_implementations
Pyconjp2014_implementationsmasahitojp
 
Site Search Analytics in a Nutshell
Site Search Analytics in a NutshellSite Search Analytics in a Nutshell
Site Search Analytics in a NutshellLouis Rosenfeld
 
Presentation pcp
Presentation pcpPresentation pcp
Presentation pcpkailachase3
 
Pelicanによる www.python.jpの構築
Pelicanによる www.python.jpの構築Pelicanによる www.python.jpの構築
Pelicanによる www.python.jpの構築Atsuo Ishimoto
 
"Continuous Publication" with Python: Another Approach
"Continuous Publication" with Python: Another Approach"Continuous Publication" with Python: Another Approach
"Continuous Publication" with Python: Another ApproachDaisuke Miyakawa
 
Effective Numerical Computation in NumPy and SciPy
Effective Numerical Computation in NumPy and SciPyEffective Numerical Computation in NumPy and SciPy
Effective Numerical Computation in NumPy and SciPyKimikazu Kato
 
Nttドコモ事例から見るモバイル&クラウド時代のサービス開発についてr4(public)
Nttドコモ事例から見るモバイル&クラウド時代のサービス開発についてr4(public)Nttドコモ事例から見るモバイル&クラウド時代のサービス開発についてr4(public)
Nttドコモ事例から見るモバイル&クラウド時代のサービス開発についてr4(public)Osaka University
 

Destacado (20)

Getting Started with Performance Co-Pilot
Getting Started with Performance Co-PilotGetting Started with Performance Co-Pilot
Getting Started with Performance Co-Pilot
 
DRUG FACTS
DRUG FACTSDRUG FACTS
DRUG FACTS
 
Pcp
PcpPcp
Pcp
 
System performance monitoring pcp + vector
System performance monitoring   pcp + vectorSystem performance monitoring   pcp + vector
System performance monitoring pcp + vector
 
Performance Co-Pilot
Performance Co-PilotPerformance Co-Pilot
Performance Co-Pilot
 
Cracking PRNG
Cracking PRNGCracking PRNG
Cracking PRNG
 
Directory Write Leases in MagFS
Directory Write Leases in MagFSDirectory Write Leases in MagFS
Directory Write Leases in MagFS
 
FlyData Autoload: 事例集
FlyData Autoload: 事例集FlyData Autoload: 事例集
FlyData Autoload: 事例集
 
2014-01-28 Operation in the future
2014-01-28 Operation in the future2014-01-28 Operation in the future
2014-01-28 Operation in the future
 
PyCon JP 2014 plone terada
PyCon JP 2014 plone teradaPyCon JP 2014 plone terada
PyCon JP 2014 plone terada
 
第29回WebSig会議「効率化だけではない!中小~中堅ECサイトの成果を上げる「メディア編集力」とは」
第29回WebSig会議「効率化だけではない!中小~中堅ECサイトの成果を上げる「メディア編集力」とは」第29回WebSig会議「効率化だけではない!中小~中堅ECサイトの成果を上げる「メディア編集力」とは」
第29回WebSig会議「効率化だけではない!中小~中堅ECサイトの成果を上げる「メディア編集力」とは」
 
SI業界の営業の役割と存在意義を一緒に考えよう
SI業界の営業の役割と存在意義を一緒に考えようSI業界の営業の役割と存在意義を一緒に考えよう
SI業界の営業の役割と存在意義を一緒に考えよう
 
Pyconjp2014_implementations
Pyconjp2014_implementationsPyconjp2014_implementations
Pyconjp2014_implementations
 
Site Search Analytics in a Nutshell
Site Search Analytics in a NutshellSite Search Analytics in a Nutshell
Site Search Analytics in a Nutshell
 
Presentation pcp
Presentation pcpPresentation pcp
Presentation pcp
 
Pelicanによる www.python.jpの構築
Pelicanによる www.python.jpの構築Pelicanによる www.python.jpの構築
Pelicanによる www.python.jpの構築
 
"Continuous Publication" with Python: Another Approach
"Continuous Publication" with Python: Another Approach"Continuous Publication" with Python: Another Approach
"Continuous Publication" with Python: Another Approach
 
Pyramid入門
Pyramid入門Pyramid入門
Pyramid入門
 
Effective Numerical Computation in NumPy and SciPy
Effective Numerical Computation in NumPy and SciPyEffective Numerical Computation in NumPy and SciPy
Effective Numerical Computation in NumPy and SciPy
 
Nttドコモ事例から見るモバイル&クラウド時代のサービス開発についてr4(public)
Nttドコモ事例から見るモバイル&クラウド時代のサービス開発についてr4(public)Nttドコモ事例から見るモバイル&クラウド時代のサービス開発についてr4(public)
Nttドコモ事例から見るモバイル&クラウド時代のサービス開発についてr4(public)
 

Similar a PCP

Monitoring in Big Data Platform - Albert Lewandowski, GetInData
Monitoring in Big Data Platform - Albert Lewandowski, GetInDataMonitoring in Big Data Platform - Albert Lewandowski, GetInData
Monitoring in Big Data Platform - Albert Lewandowski, GetInDataGetInData
 
Monitoring With Prometheus
Monitoring With PrometheusMonitoring With Prometheus
Monitoring With PrometheusKnoldus Inc.
 
Monitoring kubernetes with prometheus-operator
Monitoring kubernetes with prometheus-operatorMonitoring kubernetes with prometheus-operator
Monitoring kubernetes with prometheus-operatorLili Cosic
 
OpenShift Origin Community Day (Boston) Extending OpenShift Origin: Build You...
OpenShift Origin Community Day (Boston) Extending OpenShift Origin: Build You...OpenShift Origin Community Day (Boston) Extending OpenShift Origin: Build You...
OpenShift Origin Community Day (Boston) Extending OpenShift Origin: Build You...OpenShift Origin
 
OpenShift Origin Community Day (Boston) Writing Cartridges V2 by Jhon Honce
OpenShift Origin Community Day (Boston) Writing Cartridges V2 by Jhon Honce OpenShift Origin Community Day (Boston) Writing Cartridges V2 by Jhon Honce
OpenShift Origin Community Day (Boston) Writing Cartridges V2 by Jhon Honce Diane Mueller
 
MuleSoft Meetup Roma - Processi di Automazione su CloudHub
MuleSoft Meetup Roma - Processi di Automazione su CloudHubMuleSoft Meetup Roma - Processi di Automazione su CloudHub
MuleSoft Meetup Roma - Processi di Automazione su CloudHubAlfonso Martino
 
HPC Application Profiling & Analysis
HPC Application Profiling & AnalysisHPC Application Profiling & Analysis
HPC Application Profiling & AnalysisRishi Pathak
 
LPAR2RRD on CZ/SK common 2014
LPAR2RRD on CZ/SK common 2014LPAR2RRD on CZ/SK common 2014
LPAR2RRD on CZ/SK common 2014Pavel Hampl
 
Developing In Python On Red Hat Platforms (Nick Coghlan & Graham Dumpleton)
Developing In Python On Red Hat Platforms (Nick Coghlan & Graham Dumpleton)Developing In Python On Red Hat Platforms (Nick Coghlan & Graham Dumpleton)
Developing In Python On Red Hat Platforms (Nick Coghlan & Graham Dumpleton)Red Hat Developers
 
Developing in Python on Red Hat Platforms (DevNation 2016)
Developing in Python on Red Hat Platforms (DevNation 2016)Developing in Python on Red Hat Platforms (DevNation 2016)
Developing in Python on Red Hat Platforms (DevNation 2016)ncoghlan_dev
 
HPC Application Profiling and Analysis
HPC Application Profiling and AnalysisHPC Application Profiling and Analysis
HPC Application Profiling and AnalysisRishi Pathak
 
Regain Control Thanks To Prometheus
Regain Control Thanks To PrometheusRegain Control Thanks To Prometheus
Regain Control Thanks To PrometheusEtienne Coutaud
 
Training Webinar: Effective Platform Server Monitoring
Training Webinar: Effective Platform Server MonitoringTraining Webinar: Effective Platform Server Monitoring
Training Webinar: Effective Platform Server MonitoringOutSystems
 
Non-functional Test Automation Approach
Non-functional Test Automation ApproachNon-functional Test Automation Approach
Non-functional Test Automation ApproachPavel Yakovlev
 
Training netbackup6x2
Training netbackup6x2Training netbackup6x2
Training netbackup6x2M Shariff
 
Monitoring the Dynamic Resource Usage of Scala and Python Spark Jobs in Yarn:...
Monitoring the Dynamic Resource Usage of Scala and Python Spark Jobs in Yarn:...Monitoring the Dynamic Resource Usage of Scala and Python Spark Jobs in Yarn:...
Monitoring the Dynamic Resource Usage of Scala and Python Spark Jobs in Yarn:...Spark Summit
 
Using and Customizing the Android Framework / part 4 of Embedded Android Work...
Using and Customizing the Android Framework / part 4 of Embedded Android Work...Using and Customizing the Android Framework / part 4 of Embedded Android Work...
Using and Customizing the Android Framework / part 4 of Embedded Android Work...Opersys inc.
 

Similar a PCP (20)

Pcp
PcpPcp
Pcp
 
Monitoring in Big Data Platform - Albert Lewandowski, GetInData
Monitoring in Big Data Platform - Albert Lewandowski, GetInDataMonitoring in Big Data Platform - Albert Lewandowski, GetInData
Monitoring in Big Data Platform - Albert Lewandowski, GetInData
 
Monitoring With Prometheus
Monitoring With PrometheusMonitoring With Prometheus
Monitoring With Prometheus
 
Monitoring kubernetes with prometheus-operator
Monitoring kubernetes with prometheus-operatorMonitoring kubernetes with prometheus-operator
Monitoring kubernetes with prometheus-operator
 
OpenShift Origin Community Day (Boston) Extending OpenShift Origin: Build You...
OpenShift Origin Community Day (Boston) Extending OpenShift Origin: Build You...OpenShift Origin Community Day (Boston) Extending OpenShift Origin: Build You...
OpenShift Origin Community Day (Boston) Extending OpenShift Origin: Build You...
 
OpenShift Origin Community Day (Boston) Writing Cartridges V2 by Jhon Honce
OpenShift Origin Community Day (Boston) Writing Cartridges V2 by Jhon Honce OpenShift Origin Community Day (Boston) Writing Cartridges V2 by Jhon Honce
OpenShift Origin Community Day (Boston) Writing Cartridges V2 by Jhon Honce
 
MuleSoft Meetup Roma - Processi di Automazione su CloudHub
MuleSoft Meetup Roma - Processi di Automazione su CloudHubMuleSoft Meetup Roma - Processi di Automazione su CloudHub
MuleSoft Meetup Roma - Processi di Automazione su CloudHub
 
System monitoring
System monitoringSystem monitoring
System monitoring
 
HPC Application Profiling & Analysis
HPC Application Profiling & AnalysisHPC Application Profiling & Analysis
HPC Application Profiling & Analysis
 
LPAR2RRD on CZ/SK common 2014
LPAR2RRD on CZ/SK common 2014LPAR2RRD on CZ/SK common 2014
LPAR2RRD on CZ/SK common 2014
 
Developing In Python On Red Hat Platforms (Nick Coghlan & Graham Dumpleton)
Developing In Python On Red Hat Platforms (Nick Coghlan & Graham Dumpleton)Developing In Python On Red Hat Platforms (Nick Coghlan & Graham Dumpleton)
Developing In Python On Red Hat Platforms (Nick Coghlan & Graham Dumpleton)
 
Developing in Python on Red Hat Platforms (DevNation 2016)
Developing in Python on Red Hat Platforms (DevNation 2016)Developing in Python on Red Hat Platforms (DevNation 2016)
Developing in Python on Red Hat Platforms (DevNation 2016)
 
HPC Application Profiling and Analysis
HPC Application Profiling and AnalysisHPC Application Profiling and Analysis
HPC Application Profiling and Analysis
 
Regain Control Thanks To Prometheus
Regain Control Thanks To PrometheusRegain Control Thanks To Prometheus
Regain Control Thanks To Prometheus
 
Training Webinar: Effective Platform Server Monitoring
Training Webinar: Effective Platform Server MonitoringTraining Webinar: Effective Platform Server Monitoring
Training Webinar: Effective Platform Server Monitoring
 
Non-functional Test Automation Approach
Non-functional Test Automation ApproachNon-functional Test Automation Approach
Non-functional Test Automation Approach
 
Training netbackup6x2
Training netbackup6x2Training netbackup6x2
Training netbackup6x2
 
Prometheus and Grafana
Prometheus and GrafanaPrometheus and Grafana
Prometheus and Grafana
 
Monitoring the Dynamic Resource Usage of Scala and Python Spark Jobs in Yarn:...
Monitoring the Dynamic Resource Usage of Scala and Python Spark Jobs in Yarn:...Monitoring the Dynamic Resource Usage of Scala and Python Spark Jobs in Yarn:...
Monitoring the Dynamic Resource Usage of Scala and Python Spark Jobs in Yarn:...
 
Using and Customizing the Android Framework / part 4 of Embedded Android Work...
Using and Customizing the Android Framework / part 4 of Embedded Android Work...Using and Customizing the Android Framework / part 4 of Embedded Android Work...
Using and Customizing the Android Framework / part 4 of Embedded Android Work...
 

Más de Buland Singh

Kdump and the kernel crash dump analysis
Kdump and the kernel crash dump analysisKdump and the kernel crash dump analysis
Kdump and the kernel crash dump analysisBuland Singh
 
reference_guide_Kernel_Crash_Dump_Analysis
reference_guide_Kernel_Crash_Dump_Analysisreference_guide_Kernel_Crash_Dump_Analysis
reference_guide_Kernel_Crash_Dump_AnalysisBuland Singh
 
Kernel_Crash_Dump_Analysis
Kernel_Crash_Dump_AnalysisKernel_Crash_Dump_Analysis
Kernel_Crash_Dump_AnalysisBuland Singh
 
Kdump-FUDcon-2015-Workshop
Kdump-FUDcon-2015-WorkshopKdump-FUDcon-2015-Workshop
Kdump-FUDcon-2015-WorkshopBuland Singh
 
Kdump-FUDcon-2015-Session
Kdump-FUDcon-2015-SessionKdump-FUDcon-2015-Session
Kdump-FUDcon-2015-SessionBuland Singh
 

Más de Buland Singh (7)

Kdump and the kernel crash dump analysis
Kdump and the kernel crash dump analysisKdump and the kernel crash dump analysis
Kdump and the kernel crash dump analysis
 
reference_guide_Kernel_Crash_Dump_Analysis
reference_guide_Kernel_Crash_Dump_Analysisreference_guide_Kernel_Crash_Dump_Analysis
reference_guide_Kernel_Crash_Dump_Analysis
 
Kernel_Crash_Dump_Analysis
Kernel_Crash_Dump_AnalysisKernel_Crash_Dump_Analysis
Kernel_Crash_Dump_Analysis
 
Kdump-FUDcon-2015-Workshop
Kdump-FUDcon-2015-WorkshopKdump-FUDcon-2015-Workshop
Kdump-FUDcon-2015-Workshop
 
Kdump-FUDcon-2015-Session
Kdump-FUDcon-2015-SessionKdump-FUDcon-2015-Session
Kdump-FUDcon-2015-Session
 
Tuned
TunedTuned
Tuned
 
Hugepage
HugepageHugepage
Hugepage
 

Último

A brief look at visionOS - How to develop app on Apple's Vision Pro
A brief look at visionOS - How to develop app on Apple's Vision ProA brief look at visionOS - How to develop app on Apple's Vision Pro
A brief look at visionOS - How to develop app on Apple's Vision ProRay Yuan Liu
 
Artificial Intelligence in Power System overview
Artificial Intelligence in Power System overviewArtificial Intelligence in Power System overview
Artificial Intelligence in Power System overviewsandhya757531
 
Katarzyna Lipka-Sidor - BIM School Course
Katarzyna Lipka-Sidor - BIM School CourseKatarzyna Lipka-Sidor - BIM School Course
Katarzyna Lipka-Sidor - BIM School Coursebim.edu.pl
 
Gravity concentration_MI20612MI_________
Gravity concentration_MI20612MI_________Gravity concentration_MI20612MI_________
Gravity concentration_MI20612MI_________Romil Mishra
 
Mine Environment II Lab_MI10448MI__________.pptx
Mine Environment II Lab_MI10448MI__________.pptxMine Environment II Lab_MI10448MI__________.pptx
Mine Environment II Lab_MI10448MI__________.pptxRomil Mishra
 
Forming section troubleshooting checklist for improving wire life (1).ppt
Forming section troubleshooting checklist for improving wire life (1).pptForming section troubleshooting checklist for improving wire life (1).ppt
Forming section troubleshooting checklist for improving wire life (1).pptNoman khan
 
Cost estimation approach: FP to COCOMO scenario based question
Cost estimation approach: FP to COCOMO scenario based questionCost estimation approach: FP to COCOMO scenario based question
Cost estimation approach: FP to COCOMO scenario based questionSneha Padhiar
 
US Department of Education FAFSA Week of Action
US Department of Education FAFSA Week of ActionUS Department of Education FAFSA Week of Action
US Department of Education FAFSA Week of ActionMebane Rash
 
Theory of Machine Notes / Lecture Material .pdf
Theory of Machine Notes / Lecture Material .pdfTheory of Machine Notes / Lecture Material .pdf
Theory of Machine Notes / Lecture Material .pdfShreyas Pandit
 
Javier_Fernandez_CARS_workshop_presentation.pptx
Javier_Fernandez_CARS_workshop_presentation.pptxJavier_Fernandez_CARS_workshop_presentation.pptx
Javier_Fernandez_CARS_workshop_presentation.pptxJavier Fernández Muñoz
 
SOFTWARE ESTIMATION COCOMO AND FP CALCULATION
SOFTWARE ESTIMATION COCOMO AND FP CALCULATIONSOFTWARE ESTIMATION COCOMO AND FP CALCULATION
SOFTWARE ESTIMATION COCOMO AND FP CALCULATIONSneha Padhiar
 
CS 3251 Programming in c all unit notes pdf
CS 3251 Programming in c all unit notes pdfCS 3251 Programming in c all unit notes pdf
CS 3251 Programming in c all unit notes pdfBalamuruganV28
 
22CYT12 & Chemistry for Computer Systems_Unit-II-Corrosion & its Control Meth...
22CYT12 & Chemistry for Computer Systems_Unit-II-Corrosion & its Control Meth...22CYT12 & Chemistry for Computer Systems_Unit-II-Corrosion & its Control Meth...
22CYT12 & Chemistry for Computer Systems_Unit-II-Corrosion & its Control Meth...KrishnaveniKrishnara1
 
Research Methodology for Engineering pdf
Research Methodology for Engineering pdfResearch Methodology for Engineering pdf
Research Methodology for Engineering pdfCaalaaAbdulkerim
 
Robotics-Asimov's Laws, Mechanical Subsystems, Robot Kinematics, Robot Dynami...
Robotics-Asimov's Laws, Mechanical Subsystems, Robot Kinematics, Robot Dynami...Robotics-Asimov's Laws, Mechanical Subsystems, Robot Kinematics, Robot Dynami...
Robotics-Asimov's Laws, Mechanical Subsystems, Robot Kinematics, Robot Dynami...Sumanth A
 
Guardians of E-Commerce: Harnessing NLP and Machine Learning Approaches for A...
Guardians of E-Commerce: Harnessing NLP and Machine Learning Approaches for A...Guardians of E-Commerce: Harnessing NLP and Machine Learning Approaches for A...
Guardians of E-Commerce: Harnessing NLP and Machine Learning Approaches for A...IJAEMSJORNAL
 
Analysis and Evaluation of Dal Lake Biomass for Conversion to Fuel/Green fert...
Analysis and Evaluation of Dal Lake Biomass for Conversion to Fuel/Green fert...Analysis and Evaluation of Dal Lake Biomass for Conversion to Fuel/Green fert...
Analysis and Evaluation of Dal Lake Biomass for Conversion to Fuel/Green fert...arifengg7
 
Turn leadership mistakes into a better future.pptx
Turn leadership mistakes into a better future.pptxTurn leadership mistakes into a better future.pptx
Turn leadership mistakes into a better future.pptxStephen Sitton
 
"Exploring the Essential Functions and Design Considerations of Spillways in ...
"Exploring the Essential Functions and Design Considerations of Spillways in ..."Exploring the Essential Functions and Design Considerations of Spillways in ...
"Exploring the Essential Functions and Design Considerations of Spillways in ...Erbil Polytechnic University
 
Stork Webinar | APM Transformational planning, Tool Selection & Performance T...
Stork Webinar | APM Transformational planning, Tool Selection & Performance T...Stork Webinar | APM Transformational planning, Tool Selection & Performance T...
Stork Webinar | APM Transformational planning, Tool Selection & Performance T...Stork
 

Último (20)

A brief look at visionOS - How to develop app on Apple's Vision Pro
A brief look at visionOS - How to develop app on Apple's Vision ProA brief look at visionOS - How to develop app on Apple's Vision Pro
A brief look at visionOS - How to develop app on Apple's Vision Pro
 
Artificial Intelligence in Power System overview
Artificial Intelligence in Power System overviewArtificial Intelligence in Power System overview
Artificial Intelligence in Power System overview
 
Katarzyna Lipka-Sidor - BIM School Course
Katarzyna Lipka-Sidor - BIM School CourseKatarzyna Lipka-Sidor - BIM School Course
Katarzyna Lipka-Sidor - BIM School Course
 
Gravity concentration_MI20612MI_________
Gravity concentration_MI20612MI_________Gravity concentration_MI20612MI_________
Gravity concentration_MI20612MI_________
 
Mine Environment II Lab_MI10448MI__________.pptx
Mine Environment II Lab_MI10448MI__________.pptxMine Environment II Lab_MI10448MI__________.pptx
Mine Environment II Lab_MI10448MI__________.pptx
 
Forming section troubleshooting checklist for improving wire life (1).ppt
Forming section troubleshooting checklist for improving wire life (1).pptForming section troubleshooting checklist for improving wire life (1).ppt
Forming section troubleshooting checklist for improving wire life (1).ppt
 
Cost estimation approach: FP to COCOMO scenario based question
Cost estimation approach: FP to COCOMO scenario based questionCost estimation approach: FP to COCOMO scenario based question
Cost estimation approach: FP to COCOMO scenario based question
 
US Department of Education FAFSA Week of Action
US Department of Education FAFSA Week of ActionUS Department of Education FAFSA Week of Action
US Department of Education FAFSA Week of Action
 
Theory of Machine Notes / Lecture Material .pdf
Theory of Machine Notes / Lecture Material .pdfTheory of Machine Notes / Lecture Material .pdf
Theory of Machine Notes / Lecture Material .pdf
 
Javier_Fernandez_CARS_workshop_presentation.pptx
Javier_Fernandez_CARS_workshop_presentation.pptxJavier_Fernandez_CARS_workshop_presentation.pptx
Javier_Fernandez_CARS_workshop_presentation.pptx
 
SOFTWARE ESTIMATION COCOMO AND FP CALCULATION
SOFTWARE ESTIMATION COCOMO AND FP CALCULATIONSOFTWARE ESTIMATION COCOMO AND FP CALCULATION
SOFTWARE ESTIMATION COCOMO AND FP CALCULATION
 
CS 3251 Programming in c all unit notes pdf
CS 3251 Programming in c all unit notes pdfCS 3251 Programming in c all unit notes pdf
CS 3251 Programming in c all unit notes pdf
 
22CYT12 & Chemistry for Computer Systems_Unit-II-Corrosion & its Control Meth...
22CYT12 & Chemistry for Computer Systems_Unit-II-Corrosion & its Control Meth...22CYT12 & Chemistry for Computer Systems_Unit-II-Corrosion & its Control Meth...
22CYT12 & Chemistry for Computer Systems_Unit-II-Corrosion & its Control Meth...
 
Research Methodology for Engineering pdf
Research Methodology for Engineering pdfResearch Methodology for Engineering pdf
Research Methodology for Engineering pdf
 
Robotics-Asimov's Laws, Mechanical Subsystems, Robot Kinematics, Robot Dynami...
Robotics-Asimov's Laws, Mechanical Subsystems, Robot Kinematics, Robot Dynami...Robotics-Asimov's Laws, Mechanical Subsystems, Robot Kinematics, Robot Dynami...
Robotics-Asimov's Laws, Mechanical Subsystems, Robot Kinematics, Robot Dynami...
 
Guardians of E-Commerce: Harnessing NLP and Machine Learning Approaches for A...
Guardians of E-Commerce: Harnessing NLP and Machine Learning Approaches for A...Guardians of E-Commerce: Harnessing NLP and Machine Learning Approaches for A...
Guardians of E-Commerce: Harnessing NLP and Machine Learning Approaches for A...
 
Analysis and Evaluation of Dal Lake Biomass for Conversion to Fuel/Green fert...
Analysis and Evaluation of Dal Lake Biomass for Conversion to Fuel/Green fert...Analysis and Evaluation of Dal Lake Biomass for Conversion to Fuel/Green fert...
Analysis and Evaluation of Dal Lake Biomass for Conversion to Fuel/Green fert...
 
Turn leadership mistakes into a better future.pptx
Turn leadership mistakes into a better future.pptxTurn leadership mistakes into a better future.pptx
Turn leadership mistakes into a better future.pptx
 
"Exploring the Essential Functions and Design Considerations of Spillways in ...
"Exploring the Essential Functions and Design Considerations of Spillways in ..."Exploring the Essential Functions and Design Considerations of Spillways in ...
"Exploring the Essential Functions and Design Considerations of Spillways in ...
 
Stork Webinar | APM Transformational planning, Tool Selection & Performance T...
Stork Webinar | APM Transformational planning, Tool Selection & Performance T...Stork Webinar | APM Transformational planning, Tool Selection & Performance T...
Stork Webinar | APM Transformational planning, Tool Selection & Performance T...
 

PCP

  • 1. Red Hat Enterprise Linux 7 Performance Co-Pilot : Overview
  • 2. Agenda : ➢ Objective of performance monitoring ➢ Traditional methods of performance monitoring ➢ Need of a new performance monitoring tool kit ➢ Introduction to Performance Co-Pilot ➢ Component and Architecture of Performance Co-Pilot ➢ Basic performance monitoring tools ➢ Demo ➢ Knowledge sources
  • 3. Objective of performance monitoring : ➢ Early detection of a ( potential ) problem. ➢ Rapidly drill down & pinpoint issue in specific program. ➢ Reduce downtime of mission critical services/systems.
  • 4. Traditional methods of performance monitoring : ➢ System log files ( rsyslog/syslog-ng/journald ) ➢ Native performance monitoring tools ( top/iostat/vmstat/ps etc. ) ➢ Combination of scripting languages ( bash/perl/python ) ➢ Specific tools vary per platform
  • 5. Need of a new performance monitoring tool kit : ➢ Centralized monitoring of local or distributed systems in a complex network. ➢ Automated performance monitoring of system and services. ➢ System-level analysis of performance statistics. ➢ To record and replay performance statistics. ➢ Performance regression detection. ➢ Evaluation of effects of an operating system upgrade etc.
  • 6. Introduction to Performance Co-Pilot : ➢ PCP is a system level performance monitoring and performance management toolkit. ➢ PCP provides a range of services that may be used for collection, monitoring and analysis of system metrics. ➢ PCP includes many facilities for creating and replaying archive logs that capture performance information. ➢ Cross platform support : Linux, Mac OS and Windows. ➢ End-to-end support : Hardware, Core OS, Services and applications.
  • 7. Introduction to Performance Co-Pilot : ➢ Distributed architecture Monitoring of local and remote nodes. ➢ Real-time or retrospective Live system or archive. ➢ Pluggable New agents system metrics within PCP.
  • 8. Performance Co-Pilot – Components : Collectors ● Collect and export performance metrics ● Performance Metric Domain Agents (PMDA) ● Performance Metric Collection Daemon (PMCD) Consumers ● Record, visualise, monitor and analyse performance data ● Consume data either in realtime or replay historical data from archive logs Note: Hosts may operate as collectors, consumers or both. ● Multiple consumers may connect with one or more collectors
  • 9. Performance Co-Pilot – Collectors : Performance Metric Domain Agents (PMDA) ● Extracts & exports metric data from a system component ● Communicates with pmcd on local system Performance Metric Collection Daemon (PMCD) ● One pmcd process per host ● Coordinates handling of fetch requests between consumer applications and agents ● Listens for connections from localhost & remote clients ● Authenticated & encrypted connection options
  • 10. Performance Co-Pilot – Consumers : ● pmlogger ● Utility to capture and store metrics exported by PMCD ● Concurrent logging of data from local and remote hosts ● Archive playback by other consumer tools (eg pmchart, pmval) ● Tools for log archival, log rotation etc ● Operates on data in realtime only ● pminfo - display PCP metrics available on a host or in an archive ● pmchart - GUI utility providing graphical display of PCP data ● pmstat - vmstat-like utility ● pmatop - top-like utility ● pmie - inference engine and alerting utility ● pmval - display a metric
  • 11. Performance Co-Pilot - Architecture Webserver DBMS Network Kernel PMDAs PMCD pmchart pmstat pmlogger Consumers Archive ClientsConsumers
  • 12. Performance Co-Pilot – Distributed Architecture Agents PMCD PMDA's PMCD Host 2 PMDA's PMCD Host 3 PMDA's PMCD Host 1 ClientsConsumers Clients Host 4 Consumers
  • 13. Installation: To install pcp and pcp-gui package, type the following command: # yum install pcp pcp­gui “pcp” package provides a framework and services to support system-level performance monitoring and performance management. “pcp-gui” package provides a visualization tools for the Performance Co-Pilot toolkit.
  • 14. Services: To start pmcd and pmlogger services, type the following command: # chkconfig pmcd on # chkconfig pmlogger on # service pmcd start # service pmlogger start To check the status of pcp services, type the following command: # service pcp status Note: Bug: 1044682 - pcp should use systemd
  • 15. Verification: pcp - Summary of PCP installation # pcp Performance Co­Pilot configuration on localhost.localdomain: platform: Linux localhost.localdomain 3.10.0­121.el7.x86_64 #1 SMP Tue  Apr 8 10:48:19 EDT 2014 x86_64  hardware: 2 cpus, 1 disk, 1 node, 1840MB RAM  timezone: IST­5:30      pmcd: Version 3.8.10­1, 6 agents      pmda: pmcd proc xfs linux mmv jbd2
  • 16. Configuration files: Main configuration file for pcp: /etc/pcp.conf  Main configuration file for pmcd: /etc/pcp/pmcd/pmcd.conf Command line options for the pmcd: /etc/pcp/pmcd/pmcd.options Default pmlogger config file: /etc/pcp/pmlogger/config.default PCP archive logging configuration/control: /etc/pcp/pmlogger/control PCP log control mechanisms: /var/lib/pcp/config/pmlogconf Note: pmlogger is utility to capture and store metrics exported by PMCD
  • 17. Log files: Log file directories for pcp components: /var/log/pcp/pmcd /var/log/pcp/pmie /var/log/pcp/pmlogger /var/log/pcp/pmmgr /var/log/pcp/pmproxy /var/log/pcp/pmwebd
  • 18. Directory Organization for Archive Log Files
  • 19. Performance monitoring tools: ➢ For all PCP monitoring tools, metrics values may come from a real- time feed (i.e. from pmcd on some host), or from an archive log. ➢ Performance monitoring tools available in Performance Co-Pilot (PCP). pmstat pmatop pmcollectl pmval pmchart pminfo
  • 20. Performance monitoring tools: pmstat - vmstat-like utility, intended to monitor system performance at the highest level. # pmstat # pmstat ­t 1 ­T 3 # pmstat ­a  /var/log/pcp/pmlogger/localhost.localdomain/20140607.20.20.0 
  • 21. Performance monitoring tools: pmatop - top-like utility #pmatop Record Mode: pmatop ­w rawfile [ interval [ samples ]] Playback Mode: pmatop ­r [ rawfile ] [­g|­m] [­L linelen] [­h host] Eg: # pmatop ­w atop.out 1 4 # pmatop ­r atop.out
  • 22. Performance monitoring tools: pmcollectl - System-level performance monitoring utility that records or displays specific operating system data for one or more sets of subsystems. Basic System­level performance monitoring: # pmcollectl Subsystem Specific performance monitoring: # pmcollectl ­sm # pmcollectl ­sm –verbose # pmcollectl ­smcdn –verbose Record Mode: # pmcollectl ­f perf­data ­c 3  Playback Mode:  # pmcollectl ­p perf­data   
  • 23. Performance monitoring tools: pminfo - Display PCP metrics available on a host or in an archive. Full list of all available metrics: # pminfo ­F        Fetch and print values for all or specific metrics: # pminfo ­f # pminfo ­f <metric> # pminfo ­F ­a  /var/log/pcp/pmlogger/localhost.localdomain/20140607.20.56.0  Eg: # pminfo ­f proc.nprocs disk.dev.read filesys.free Descriptions of all or specific metrics: # pminfo ­T ­d  # pminfo ­T ­d <metric> Eg: # pminfo ­T ­d mem.util.cached # pminfo ­T ­d proc.nprocs disk.dev.read filesys.free
  • 24. Performance monitoring tools: pmval - Dumps the current values for the named performance metrics. # pmval <metric> Eg: # pmval proc.nprocs # pmval kernel.all.load # pmval  ­t 2sec ­s 4 kernel.percpu.cpu.idle
  • 25. Performance monitoring tools: pmchart - GUI utility providing graphical display of PCP data
  • 26. Knowledge sources: ● What are all the Performance Co-Pilot (PCP) RPM packages in RHEL? https://access.redhat.com/articles/1146003 ● How do I install Performance Co-Pilot (PCP) on my RHEL server to capture performance logs https://access.redhat.com/solutions/1137023 ● How do I configure a firewall on a RHEL server to allow remote monitoring with Performance Co-Pilot (PCP)? https://access.redhat.com/solutions/1145963 ● How can I customize the Performance Co-Pilot logging configuration https://access.redhat.com/articles/1146283
  • 27. Knowledge sources: ● What are the typical Performance Co-Pilot (PCP) deployment strategies ? https://access.redhat.com/articles/1147393 ● PCP extensibility through custom agents https://access.redhat.com/solutions/749813 ● Index of Performance Co-Pilot (PCP) articles, solutions, tutorials and white papers https://access.redhat.com/articles/1145953 ● How does Performance Co-Pilot (PCP) compare with sysstat https://access.redhat.com/articles/1148133 ● Overview of Additional Performance Tuning Utilities in Red Hat Enterprise Linux 7 https://access.redhat.com/articles/785283