SlideShare a Scribd company logo
1 of 28
Download to read offline
Red Hat Enterprise Linux 7
Performance Co-Pilot : Overview
Agenda:
➢ Objective of performance monitoring
➢ How is this typically done ?
➢ Introduction to Performance Co-Pilot
➢ Component and Architecture
➢ Useful performance monitoring tools
➢ Demo
➢ Knowledge sources
Objective of performance monitoring
➢ Early detection of a ( potential ) problem.
➢ Rapidly drill down & pinpoint issue in specific program.
How is this typically done ?
➢ System log files ( rsyslog/syslog-ng/journald )
➢ Native performance monitoring tools ( top/iostat/vmstat/ps )
➢ Mixture of scripting languages ( bash/perl/python )
➢ Specific tools vary per platform
Why we need another Performance Monitoring
Tool ?
➢ Ability to monitor performance statistics of a local or remote
machines in a complex network.
➢ Ability to record and replay performance statistics.
➢ Ability to monitor multiple hosts performance statistics
concurrently.
➢ Customization of clients application to collect specific metrics.
➢ 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.
➢ The Performance Co-Pilot includes many facilities for creating
and replaying archive logs that capture performance
information.
➢ Cross platform support : Linux, Mac OS and Windows.
➢ End-to-end : Hardware, Core OS, services and
applications.
Introduction: 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 pmlogger and pcp services, type the following command:
# chkconfig pmlogger on
# service pmlogger start
Starting pmlogger ...
# service pcp start
Starting pmcd ...
Starting pmlogger ...
To check the status of pcp service, type the following command:
# service pcp status
Checking for pmcd: running
Checking for pmlogger: running
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
# pcp ­h `hostname`
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
Default pmlogger config file:
/etc/pcp/pmlogger/config.default
PCP archive logging configuration/control:
/etc/pcp/pmlogger/control
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:
Performance Co-Pilot (PCP)
http://oss.sgi.com/projects/pcp/
PCP Manual:
http://www.performancecopilot.org/pcp.git/man/html/index.html
Blog:
Exploratory Performance Analysis with Performance Co-Pilot
http://developerblog.redhat.com/2013/11/19/exploratory-performance-pcp/
Knowledge sources:
Videos:
Using Performance Co-Pilot to monitor SNMP devices - Hamish Coleman
https://www.youtube.com/watch?v=2azBcj8QUdI
Exploratory Performance Analysis with Performance Co-Pilot
https://www.youtube.com/watch?v=zrAjevr8_Ds
Regression Analysis with Performance Co-Pilot
https://www.youtube.com/watch?v=Z9fSymDfuvQ
Questions ?

More Related Content

What's hot

Intel QLC: Cost-effective Ceph on NVMe
Intel QLC: Cost-effective Ceph on NVMeIntel QLC: Cost-effective Ceph on NVMe
Intel QLC: Cost-effective Ceph on NVMeCeph Community
 
ClickHouse Deep Dive, by Aleksei Milovidov
ClickHouse Deep Dive, by Aleksei MilovidovClickHouse Deep Dive, by Aleksei Milovidov
ClickHouse Deep Dive, by Aleksei MilovidovAltinity Ltd
 
FSlogix ODFC POC Guide (version 1.3)
FSlogix ODFC POC Guide (version 1.3)FSlogix ODFC POC Guide (version 1.3)
FSlogix ODFC POC Guide (version 1.3)Michael Baars
 
Linux rt in financial markets
Linux rt in financial marketsLinux rt in financial markets
Linux rt in financial marketsAdrien Mahieux
 
Openstack Instance Resize
Openstack Instance ResizeOpenstack Instance Resize
Openstack Instance Resizeymtech
 
Dx11 performancereloaded
Dx11 performancereloadedDx11 performancereloaded
Dx11 performancereloadedmistercteam
 
FreeBSD and Drivers
FreeBSD and DriversFreeBSD and Drivers
FreeBSD and DriversKernel TLV
 
Arm DynamIQ: Intelligent Solutions Using Cluster Based Multiprocessing
Arm DynamIQ: Intelligent Solutions Using Cluster Based MultiprocessingArm DynamIQ: Intelligent Solutions Using Cluster Based Multiprocessing
Arm DynamIQ: Intelligent Solutions Using Cluster Based MultiprocessingArm
 
Ceph Performance and Sizing Guide
Ceph Performance and Sizing GuideCeph Performance and Sizing Guide
Ceph Performance and Sizing GuideJose De La Rosa
 
Integrating icinga2 and the HashiCorp suite
Integrating icinga2 and the HashiCorp suiteIntegrating icinga2 and the HashiCorp suite
Integrating icinga2 and the HashiCorp suiteBram Vogelaar
 
MongoDB sharded cluster. How to design your topology ?
MongoDB sharded cluster. How to design your topology ?MongoDB sharded cluster. How to design your topology ?
MongoDB sharded cluster. How to design your topology ?Mydbops
 
Linux Initialization Process (2)
Linux Initialization Process (2)Linux Initialization Process (2)
Linux Initialization Process (2)shimosawa
 
Xen Project Contributor Training - Part 1 introduction v1.0
Xen Project Contributor Training - Part 1 introduction v1.0Xen Project Contributor Training - Part 1 introduction v1.0
Xen Project Contributor Training - Part 1 introduction v1.0The Linux Foundation
 

What's hot (20)

Cron
CronCron
Cron
 
Intel QLC: Cost-effective Ceph on NVMe
Intel QLC: Cost-effective Ceph on NVMeIntel QLC: Cost-effective Ceph on NVMe
Intel QLC: Cost-effective Ceph on NVMe
 
ClickHouse Deep Dive, by Aleksei Milovidov
ClickHouse Deep Dive, by Aleksei MilovidovClickHouse Deep Dive, by Aleksei Milovidov
ClickHouse Deep Dive, by Aleksei Milovidov
 
Five steps perform_2013
Five steps perform_2013Five steps perform_2013
Five steps perform_2013
 
Embedded Linux - Building toolchain
Embedded Linux - Building toolchainEmbedded Linux - Building toolchain
Embedded Linux - Building toolchain
 
FSlogix ODFC POC Guide (version 1.3)
FSlogix ODFC POC Guide (version 1.3)FSlogix ODFC POC Guide (version 1.3)
FSlogix ODFC POC Guide (version 1.3)
 
C Programming - Refresher - Part I
C Programming - Refresher - Part I C Programming - Refresher - Part I
C Programming - Refresher - Part I
 
Linux rt in financial markets
Linux rt in financial marketsLinux rt in financial markets
Linux rt in financial markets
 
Openstack Instance Resize
Openstack Instance ResizeOpenstack Instance Resize
Openstack Instance Resize
 
First steps on CentOs7
First steps on CentOs7First steps on CentOs7
First steps on CentOs7
 
Dx11 performancereloaded
Dx11 performancereloadedDx11 performancereloaded
Dx11 performancereloaded
 
Qemu Pcie
Qemu PcieQemu Pcie
Qemu Pcie
 
FreeBSD and Drivers
FreeBSD and DriversFreeBSD and Drivers
FreeBSD and Drivers
 
Arm DynamIQ: Intelligent Solutions Using Cluster Based Multiprocessing
Arm DynamIQ: Intelligent Solutions Using Cluster Based MultiprocessingArm DynamIQ: Intelligent Solutions Using Cluster Based Multiprocessing
Arm DynamIQ: Intelligent Solutions Using Cluster Based Multiprocessing
 
Ceph Performance and Sizing Guide
Ceph Performance and Sizing GuideCeph Performance and Sizing Guide
Ceph Performance and Sizing Guide
 
Integrating icinga2 and the HashiCorp suite
Integrating icinga2 and the HashiCorp suiteIntegrating icinga2 and the HashiCorp suite
Integrating icinga2 and the HashiCorp suite
 
MongoDB sharded cluster. How to design your topology ?
MongoDB sharded cluster. How to design your topology ?MongoDB sharded cluster. How to design your topology ?
MongoDB sharded cluster. How to design your topology ?
 
Linux Initialization Process (2)
Linux Initialization Process (2)Linux Initialization Process (2)
Linux Initialization Process (2)
 
Xen Project Contributor Training - Part 1 introduction v1.0
Xen Project Contributor Training - Part 1 introduction v1.0Xen Project Contributor Training - Part 1 introduction v1.0
Xen Project Contributor Training - Part 1 introduction v1.0
 
Linux Internals - Interview essentials 2.0
Linux Internals - Interview essentials 2.0Linux Internals - Interview essentials 2.0
Linux Internals - Interview essentials 2.0
 

Viewers also liked

pneumocystis pneumonia
pneumocystis pneumonia pneumocystis pneumonia
pneumocystis pneumonia buntyrocks
 
Pneumocystis Jeroveci Pneumonia
Pneumocystis Jeroveci Pneumonia Pneumocystis Jeroveci Pneumonia
Pneumocystis Jeroveci Pneumonia Mariam Alosfoor
 
Progressive Cavity Pump (PCP) Petroleum Production Engineering
Progressive Cavity Pump (PCP) Petroleum Production EngineeringProgressive Cavity Pump (PCP) Petroleum Production Engineering
Progressive Cavity Pump (PCP) Petroleum Production EngineeringMuhammad Hanif
 
Presentation pcp
Presentation pcpPresentation pcp
Presentation pcpkailachase3
 

Viewers also liked (6)

PCP
PCPPCP
PCP
 
pneumocystis pneumonia
pneumocystis pneumonia pneumocystis pneumonia
pneumocystis pneumonia
 
PCP
PCPPCP
PCP
 
Pneumocystis Jeroveci Pneumonia
Pneumocystis Jeroveci Pneumonia Pneumocystis Jeroveci Pneumonia
Pneumocystis Jeroveci Pneumonia
 
Progressive Cavity Pump (PCP) Petroleum Production Engineering
Progressive Cavity Pump (PCP) Petroleum Production EngineeringProgressive Cavity Pump (PCP) Petroleum Production Engineering
Progressive Cavity Pump (PCP) Petroleum Production Engineering
 
Presentation pcp
Presentation pcpPresentation pcp
Presentation pcp
 

Similar to Pcp

FIWARE Global Summit - Real-time Media Stream Processing Using Kurento
FIWARE Global Summit - Real-time Media Stream Processing Using KurentoFIWARE Global Summit - Real-time Media Stream Processing Using Kurento
FIWARE Global Summit - Real-time Media Stream Processing Using KurentoFIWARE
 
FIWARE Global Summit - Real-time Media Stream Processing Using Kurento
FIWARE Global Summit - Real-time Media Stream Processing Using KurentoFIWARE Global Summit - Real-time Media Stream Processing Using Kurento
FIWARE Global Summit - Real-time Media Stream Processing Using KurentoFIWARE
 
Exploring the Final Frontier of Data Center Orchestration: Network Elements -...
Exploring the Final Frontier of Data Center Orchestration: Network Elements -...Exploring the Final Frontier of Data Center Orchestration: Network Elements -...
Exploring the Final Frontier of Data Center Orchestration: Network Elements -...Puppet
 
Lcu14 101- coresight overview
Lcu14 101- coresight overviewLcu14 101- coresight overview
Lcu14 101- coresight overviewLinaro
 
FIWARE Global Summit - Real-time Media Stream Processing Using Kurento
FIWARE Global Summit - Real-time Media Stream Processing Using KurentoFIWARE Global Summit - Real-time Media Stream Processing Using Kurento
FIWARE Global Summit - Real-time Media Stream Processing Using KurentoFIWARE
 
FIWARE Tech Summit - Stream Processing with Kurento Media Server
FIWARE Tech Summit - Stream Processing with Kurento Media ServerFIWARE Tech Summit - Stream Processing with Kurento Media Server
FIWARE Tech Summit - Stream Processing with Kurento Media ServerFIWARE
 
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
 
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
 
Orchestration Tool Roundup - Arthur Berezin & Trammell Scruggs
Orchestration Tool Roundup - Arthur Berezin & Trammell ScruggsOrchestration Tool Roundup - Arthur Berezin & Trammell Scruggs
Orchestration Tool Roundup - Arthur Berezin & Trammell ScruggsCloud Native Day Tel Aviv
 
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
 
Getting Started: Intro to Telegraf - July 2021
Getting Started: Intro to Telegraf - July 2021Getting Started: Intro to Telegraf - July 2021
Getting Started: Intro to Telegraf - July 2021InfluxData
 
Linux Server Deep Dives (DrupalCon Amsterdam)
Linux Server Deep Dives (DrupalCon Amsterdam)Linux Server Deep Dives (DrupalCon Amsterdam)
Linux Server Deep Dives (DrupalCon Amsterdam)Amin Astaneh
 
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.
 
LPAR2RRD on CZ/SK common 2014
LPAR2RRD on CZ/SK common 2014LPAR2RRD on CZ/SK common 2014
LPAR2RRD on CZ/SK common 2014Pavel Hampl
 
Intro to open source telemetry linux con 2016
Intro to open source telemetry   linux con 2016Intro to open source telemetry   linux con 2016
Intro to open source telemetry linux con 2016Matthew Broberg
 

Similar to Pcp (20)

PCP
PCPPCP
PCP
 
FIWARE Global Summit - Real-time Media Stream Processing Using Kurento
FIWARE Global Summit - Real-time Media Stream Processing Using KurentoFIWARE Global Summit - Real-time Media Stream Processing Using Kurento
FIWARE Global Summit - Real-time Media Stream Processing Using Kurento
 
FIWARE Global Summit - Real-time Media Stream Processing Using Kurento
FIWARE Global Summit - Real-time Media Stream Processing Using KurentoFIWARE Global Summit - Real-time Media Stream Processing Using Kurento
FIWARE Global Summit - Real-time Media Stream Processing Using Kurento
 
Exploring the Final Frontier of Data Center Orchestration: Network Elements -...
Exploring the Final Frontier of Data Center Orchestration: Network Elements -...Exploring the Final Frontier of Data Center Orchestration: Network Elements -...
Exploring the Final Frontier of Data Center Orchestration: Network Elements -...
 
Docker Monitoring Webinar
Docker Monitoring  WebinarDocker Monitoring  Webinar
Docker Monitoring Webinar
 
Lcu14 101- coresight overview
Lcu14 101- coresight overviewLcu14 101- coresight overview
Lcu14 101- coresight overview
 
FIWARE Global Summit - Real-time Media Stream Processing Using Kurento
FIWARE Global Summit - Real-time Media Stream Processing Using KurentoFIWARE Global Summit - Real-time Media Stream Processing Using Kurento
FIWARE Global Summit - Real-time Media Stream Processing Using Kurento
 
FIWARE Tech Summit - Stream Processing with Kurento Media Server
FIWARE Tech Summit - Stream Processing with Kurento Media ServerFIWARE Tech Summit - Stream Processing with Kurento Media Server
FIWARE Tech Summit - Stream Processing with Kurento Media Server
 
Android Internals
Android InternalsAndroid Internals
Android Internals
 
Getting Started with Performance Co-Pilot
Getting Started with Performance Co-PilotGetting Started with Performance Co-Pilot
Getting Started with Performance Co-Pilot
 
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
 
Balancing Power & Performance Webinar
Balancing Power & Performance WebinarBalancing Power & Performance Webinar
Balancing Power & Performance Webinar
 
Orchestration Tool Roundup - Arthur Berezin & Trammell Scruggs
Orchestration Tool Roundup - Arthur Berezin & Trammell ScruggsOrchestration Tool Roundup - Arthur Berezin & Trammell Scruggs
Orchestration Tool Roundup - Arthur Berezin & Trammell Scruggs
 
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:...
 
System monitoring
System monitoringSystem monitoring
System monitoring
 
Getting Started: Intro to Telegraf - July 2021
Getting Started: Intro to Telegraf - July 2021Getting Started: Intro to Telegraf - July 2021
Getting Started: Intro to Telegraf - July 2021
 
Linux Server Deep Dives (DrupalCon Amsterdam)
Linux Server Deep Dives (DrupalCon Amsterdam)Linux Server Deep Dives (DrupalCon Amsterdam)
Linux Server Deep Dives (DrupalCon Amsterdam)
 
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...
 
LPAR2RRD on CZ/SK common 2014
LPAR2RRD on CZ/SK common 2014LPAR2RRD on CZ/SK common 2014
LPAR2RRD on CZ/SK common 2014
 
Intro to open source telemetry linux con 2016
Intro to open source telemetry   linux con 2016Intro to open source telemetry   linux con 2016
Intro to open source telemetry linux con 2016
 

Recently uploaded

VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Bookingdharasingh5698
 
Booking open Available Pune Call Girls Pargaon 6297143586 Call Hot Indian Gi...
Booking open Available Pune Call Girls Pargaon  6297143586 Call Hot Indian Gi...Booking open Available Pune Call Girls Pargaon  6297143586 Call Hot Indian Gi...
Booking open Available Pune Call Girls Pargaon 6297143586 Call Hot Indian Gi...Call Girls in Nagpur High Profile
 
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptx
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptxBSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptx
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptxfenichawla
 
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCollege Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCall Girls in Nagpur High Profile
 
MANUFACTURING PROCESS-II UNIT-1 THEORY OF METAL CUTTING
MANUFACTURING PROCESS-II UNIT-1 THEORY OF METAL CUTTINGMANUFACTURING PROCESS-II UNIT-1 THEORY OF METAL CUTTING
MANUFACTURING PROCESS-II UNIT-1 THEORY OF METAL CUTTINGSIVASHANKAR N
 
Introduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxIntroduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxupamatechverse
 
UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and workingUNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and workingrknatarajan
 
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...Call Girls in Nagpur High Profile
 
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdfONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdfKamal Acharya
 
Extrusion Processes and Their Limitations
Extrusion Processes and Their LimitationsExtrusion Processes and Their Limitations
Extrusion Processes and Their Limitations120cr0395
 
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Christo Ananth
 
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Dr.Costas Sachpazis
 
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...Christo Ananth
 
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Call Girls in Nagpur High Profile
 
KubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlyKubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlysanyuktamishra911
 
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...ranjana rawat
 
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete RecordCCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete RecordAsst.prof M.Gokilavani
 

Recently uploaded (20)

VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
 
Booking open Available Pune Call Girls Pargaon 6297143586 Call Hot Indian Gi...
Booking open Available Pune Call Girls Pargaon  6297143586 Call Hot Indian Gi...Booking open Available Pune Call Girls Pargaon  6297143586 Call Hot Indian Gi...
Booking open Available Pune Call Girls Pargaon 6297143586 Call Hot Indian Gi...
 
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptx
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptxBSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptx
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptx
 
Roadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and RoutesRoadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and Routes
 
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCollege Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
 
MANUFACTURING PROCESS-II UNIT-1 THEORY OF METAL CUTTING
MANUFACTURING PROCESS-II UNIT-1 THEORY OF METAL CUTTINGMANUFACTURING PROCESS-II UNIT-1 THEORY OF METAL CUTTING
MANUFACTURING PROCESS-II UNIT-1 THEORY OF METAL CUTTING
 
Introduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxIntroduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptx
 
UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and workingUNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
 
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
 
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINEDJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
 
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdfONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
 
Extrusion Processes and Their Limitations
Extrusion Processes and Their LimitationsExtrusion Processes and Their Limitations
Extrusion Processes and Their Limitations
 
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
 
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
 
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
 
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
 
KubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlyKubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghly
 
Water Industry Process Automation & Control Monthly - April 2024
Water Industry Process Automation & Control Monthly - April 2024Water Industry Process Automation & Control Monthly - April 2024
Water Industry Process Automation & Control Monthly - April 2024
 
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
 
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete RecordCCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
 

Pcp

  • 1. Red Hat Enterprise Linux 7 Performance Co-Pilot : Overview
  • 2. Agenda: ➢ Objective of performance monitoring ➢ How is this typically done ? ➢ Introduction to Performance Co-Pilot ➢ Component and Architecture ➢ Useful 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.
  • 4. How is this typically done ? ➢ System log files ( rsyslog/syslog-ng/journald ) ➢ Native performance monitoring tools ( top/iostat/vmstat/ps ) ➢ Mixture of scripting languages ( bash/perl/python ) ➢ Specific tools vary per platform
  • 5. Why we need another Performance Monitoring Tool ? ➢ Ability to monitor performance statistics of a local or remote machines in a complex network. ➢ Ability to record and replay performance statistics. ➢ Ability to monitor multiple hosts performance statistics concurrently. ➢ Customization of clients application to collect specific metrics. ➢ 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. ➢ The Performance Co-Pilot includes many facilities for creating and replaying archive logs that capture performance information. ➢ Cross platform support : Linux, Mac OS and Windows. ➢ End-to-end : Hardware, Core OS, services and applications.
  • 7. Introduction: 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 pmlogger and pcp services, type the following command: # chkconfig pmlogger on # service pmlogger start Starting pmlogger ... # service pcp start Starting pmcd ... Starting pmlogger ... To check the status of pcp service, type the following command: # service pcp status Checking for pmcd: running Checking for pmlogger: running 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 # pcp ­h `hostname` 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 Default pmlogger config file: /etc/pcp/pmlogger/config.default PCP archive logging configuration/control: /etc/pcp/pmlogger/control 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: Performance Co-Pilot (PCP) http://oss.sgi.com/projects/pcp/ PCP Manual: http://www.performancecopilot.org/pcp.git/man/html/index.html Blog: Exploratory Performance Analysis with Performance Co-Pilot http://developerblog.redhat.com/2013/11/19/exploratory-performance-pcp/
  • 27. Knowledge sources: Videos: Using Performance Co-Pilot to monitor SNMP devices - Hamish Coleman https://www.youtube.com/watch?v=2azBcj8QUdI Exploratory Performance Analysis with Performance Co-Pilot https://www.youtube.com/watch?v=zrAjevr8_Ds Regression Analysis with Performance Co-Pilot https://www.youtube.com/watch?v=Z9fSymDfuvQ