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
➢ 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 ?

More Related Content

What's hot

Deterministic simulation testing
Deterministic simulation testingDeterministic simulation testing
Deterministic simulation testing
FoundationDB
 

What's hot (20)

Cilium - Network and Application Security with BPF and XDP Thomas Graf, Cova...
Cilium - Network and Application Security with BPF and XDP  Thomas Graf, Cova...Cilium - Network and Application Security with BPF and XDP  Thomas Graf, Cova...
Cilium - Network and Application Security with BPF and XDP Thomas Graf, Cova...
 
Getting Started Monitoring with Prometheus and Grafana
Getting Started Monitoring with Prometheus and GrafanaGetting Started Monitoring with Prometheus and Grafana
Getting Started Monitoring with Prometheus and Grafana
 
Monitoring using Prometheus and Grafana
Monitoring using Prometheus and GrafanaMonitoring using Prometheus and Grafana
Monitoring using Prometheus and Grafana
 
NTP Server - How it works?
NTP Server - How it works?NTP Server - How it works?
NTP Server - How it works?
 
Wireshark Basic Presentation
Wireshark Basic PresentationWireshark Basic Presentation
Wireshark Basic Presentation
 
Deterministic simulation testing
Deterministic simulation testingDeterministic simulation testing
Deterministic simulation testing
 
Introduction to Kafka with Spring Integration
Introduction to Kafka with Spring IntegrationIntroduction to Kafka with Spring Integration
Introduction to Kafka with Spring Integration
 
Linux networking
Linux networkingLinux networking
Linux networking
 
Apresentacao zabbix
Apresentacao zabbixApresentacao zabbix
Apresentacao zabbix
 
Zabbix Smart problem detection - FISL 2015 workshop
Zabbix Smart problem detection - FISL 2015 workshopZabbix Smart problem detection - FISL 2015 workshop
Zabbix Smart problem detection - FISL 2015 workshop
 
Kafka Tutorial - Introduction to Apache Kafka (Part 1)
Kafka Tutorial - Introduction to Apache Kafka (Part 1)Kafka Tutorial - Introduction to Apache Kafka (Part 1)
Kafka Tutorial - Introduction to Apache Kafka (Part 1)
 
Pulumi. Modern Infrastructure as Code.
Pulumi. Modern Infrastructure as Code.Pulumi. Modern Infrastructure as Code.
Pulumi. Modern Infrastructure as Code.
 
Log aggregation: using Elasticsearch, Fluentd/Fluentbit and Kibana (EFK)
Log aggregation: using Elasticsearch, Fluentd/Fluentbit and Kibana (EFK)Log aggregation: using Elasticsearch, Fluentd/Fluentbit and Kibana (EFK)
Log aggregation: using Elasticsearch, Fluentd/Fluentbit and Kibana (EFK)
 
Cloud Monitoring with Prometheus
Cloud Monitoring with PrometheusCloud Monitoring with Prometheus
Cloud Monitoring with Prometheus
 
Grafana Loki: like Prometheus, but for Logs
Grafana Loki: like Prometheus, but for LogsGrafana Loki: like Prometheus, but for Logs
Grafana Loki: like Prometheus, but for Logs
 
kafka
kafkakafka
kafka
 
Golang - Overview of Go (golang) Language
Golang - Overview of Go (golang) LanguageGolang - Overview of Go (golang) Language
Golang - Overview of Go (golang) Language
 
Coding with golang
Coding with golangCoding with golang
Coding with golang
 
gRPC with java
gRPC with javagRPC with java
gRPC with java
 
Prometheus Storage
Prometheus StoragePrometheus Storage
Prometheus Storage
 

Viewers also liked

Directory Write Leases in MagFS
Directory Write Leases in MagFSDirectory Write Leases in MagFS
Directory Write Leases in MagFS
Maginatics
 
SI業界の営業の役割と存在意義を一緒に考えよう
SI業界の営業の役割と存在意義を一緒に考えようSI業界の営業の役割と存在意義を一緒に考えよう
SI業界の営業の役割と存在意義を一緒に考えよう
Manabu Terada
 

Viewers also liked (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 to PCP

HPC Application Profiling & Analysis
HPC Application Profiling & AnalysisHPC Application Profiling & Analysis
HPC Application Profiling & Analysis
Rishi Pathak
 
HPC Application Profiling and Analysis
HPC Application Profiling and AnalysisHPC Application Profiling and Analysis
HPC Application Profiling and Analysis
Rishi Pathak
 
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 to PCP (20)

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...
 
Archivematica Technical Training Diagnostics Guide (September 2018)
Archivematica Technical Training Diagnostics Guide (September 2018)Archivematica Technical Training Diagnostics Guide (September 2018)
Archivematica Technical Training Diagnostics Guide (September 2018)
 

More from Buland Singh

More from 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
 

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 Booking
dharasingh5698
 
AKTU Computer Networks notes --- Unit 3.pdf
AKTU Computer Networks notes ---  Unit 3.pdfAKTU Computer Networks notes ---  Unit 3.pdf
AKTU Computer Networks notes --- Unit 3.pdf
ankushspencer015
 
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
dharasingh5698
 
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
 
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar ≼🔝 Delhi door step de...
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar  ≼🔝 Delhi door step de...Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar  ≼🔝 Delhi door step de...
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar ≼🔝 Delhi door step de...
9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night StandCall Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
amitlee9823
 

Recently uploaded (20)

University management System project report..pdf
University management System project report..pdfUniversity management System project report..pdf
University management System project report..pdf
 
UNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its PerformanceUNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its Performance
 
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
 
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
 
AKTU Computer Networks notes --- Unit 3.pdf
AKTU Computer Networks notes ---  Unit 3.pdfAKTU Computer Networks notes ---  Unit 3.pdf
AKTU Computer Networks notes --- Unit 3.pdf
 
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
 
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
 
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...
 
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
 
Thermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.pptThermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.ppt
 
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
 
Bhosari ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready For ...
Bhosari ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready For ...Bhosari ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready For ...
Bhosari ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready For ...
 
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
 
(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7
(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7
(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7
 
Call for Papers - International Journal of Intelligent Systems and Applicatio...
Call for Papers - International Journal of Intelligent Systems and Applicatio...Call for Papers - International Journal of Intelligent Systems and Applicatio...
Call for Papers - International Journal of Intelligent Systems and Applicatio...
 
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar ≼🔝 Delhi door step de...
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar  ≼🔝 Delhi door step de...Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar  ≼🔝 Delhi door step de...
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar ≼🔝 Delhi door step de...
 
Double Revolving field theory-how the rotor develops torque
Double Revolving field theory-how the rotor develops torqueDouble Revolving field theory-how the rotor develops torque
Double Revolving field theory-how the rotor develops torque
 
Online banking management system project.pdf
Online banking management system project.pdfOnline banking management system project.pdf
Online banking management system project.pdf
 
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night StandCall Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
 
Intze Overhead Water Tank Design by Working Stress - IS Method.pdf
Intze Overhead Water Tank  Design by Working Stress - IS Method.pdfIntze Overhead Water Tank  Design by Working Stress - IS Method.pdf
Intze Overhead Water Tank Design by Working Stress - IS Method.pdf
 

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