Developments in PCP (Performance Co-Pilot)Developments in PCP (Performance Co-Pilot) Nathan Scott...
Transcript of Developments in PCP (Performance Co-Pilot)Developments in PCP (Performance Co-Pilot) Nathan Scott...
![Page 1: Developments in PCP (Performance Co-Pilot)Developments in PCP (Performance Co-Pilot) Nathan Scott Performance Tools, Red Hat January 2015 2 linux.conf.au Outline Performance Co-Pilot](https://reader034.fdocuments.in/reader034/viewer/2022042310/5ed7a56648b98015c2020e22/html5/thumbnails/1.jpg)
linux.conf.au1
Developments in PCP
(Performance Co-Pilot)
Nathan ScottPerformance Tools, Red HatJanuary 2015
![Page 2: Developments in PCP (Performance Co-Pilot)Developments in PCP (Performance Co-Pilot) Nathan Scott Performance Tools, Red Hat January 2015 2 linux.conf.au Outline Performance Co-Pilot](https://reader034.fdocuments.in/reader034/viewer/2022042310/5ed7a56648b98015c2020e22/html5/thumbnails/2.jpg)
linux.conf.au2
Outline
● Performance Co-Pilot (PCP)
● Overview● PCP Basics
● General
● JSON access
● Containers in PCP
● New metric collectors (PMDAs) and monitor tools
![Page 3: Developments in PCP (Performance Co-Pilot)Developments in PCP (Performance Co-Pilot) Nathan Scott Performance Tools, Red Hat January 2015 2 linux.conf.au Outline Performance Co-Pilot](https://reader034.fdocuments.in/reader034/viewer/2022042310/5ed7a56648b98015c2020e22/html5/thumbnails/3.jpg)
linux.conf.au3
Overview
● What is PCP?
● Open source toolkit ● System-level analysis● Live and historical● Extensible (monitors, collectors)● Distributed
![Page 4: Developments in PCP (Performance Co-Pilot)Developments in PCP (Performance Co-Pilot) Nathan Scott Performance Tools, Red Hat January 2015 2 linux.conf.au Outline Performance Co-Pilot](https://reader034.fdocuments.in/reader034/viewer/2022042310/5ed7a56648b98015c2020e22/html5/thumbnails/4.jpg)
linux.conf.au4
Architecture
![Page 5: Developments in PCP (Performance Co-Pilot)Developments in PCP (Performance Co-Pilot) Nathan Scott Performance Tools, Red Hat January 2015 2 linux.conf.au Outline Performance Co-Pilot](https://reader034.fdocuments.in/reader034/viewer/2022042310/5ed7a56648b98015c2020e22/html5/thumbnails/5.jpg)
linux.conf.au5
Metrics
● pminfo --desc -tT --fetch disk.dev.read
disk.dev.read [per-disk read operations]
Data Type: 32-bit unsigned int
Semantics: counter
Units: count
Help: Cumulative count of disk reads since boot time
Values:
inst [0 or "sda"] value 3382299
inst [1 or "sdb"] value 178421
![Page 6: Developments in PCP (Performance Co-Pilot)Developments in PCP (Performance Co-Pilot) Nathan Scott Performance Tools, Red Hat January 2015 2 linux.conf.au Outline Performance Co-Pilot](https://reader034.fdocuments.in/reader034/viewer/2022042310/5ed7a56648b98015c2020e22/html5/thumbnails/6.jpg)
linux.conf.au6
Recent Developments(6-12 months)
Recent Developments(6-12 months)
![Page 7: Developments in PCP (Performance Co-Pilot)Developments in PCP (Performance Co-Pilot) Nathan Scott Performance Tools, Red Hat January 2015 2 linux.conf.au Outline Performance Co-Pilot](https://reader034.fdocuments.in/reader034/viewer/2022042310/5ed7a56648b98015c2020e22/html5/thumbnails/7.jpg)
linux.conf.au7
General
● Supported in RHEL 6.6 and RHEL 7 onward
● Tackling long-standing, difficult problems
● Regular stable releases
● Out-of-the-box experience
![Page 8: Developments in PCP (Performance Co-Pilot)Developments in PCP (Performance Co-Pilot) Nathan Scott Performance Tools, Red Hat January 2015 2 linux.conf.au Outline Performance Co-Pilot](https://reader034.fdocuments.in/reader034/viewer/2022042310/5ed7a56648b98015c2020e22/html5/thumbnails/8.jpg)
linux.conf.au8
JSON access
● pmwebd (HTTP/JSON)
● Interactive web charts (graphite/grafana)
![Page 9: Developments in PCP (Performance Co-Pilot)Developments in PCP (Performance Co-Pilot) Nathan Scott Performance Tools, Red Hat January 2015 2 linux.conf.au Outline Performance Co-Pilot](https://reader034.fdocuments.in/reader034/viewer/2022042310/5ed7a56648b98015c2020e22/html5/thumbnails/9.jpg)
linux.conf.au9
Monitoring containers
● Zero-install inside containers
● Wire protocol extensions for container naming
● Simplifying access● mapping dev_t to names● data reduction to cgroups making up a container● processes within a container, etc
● Docker support, but written to allow use by others
![Page 10: Developments in PCP (Performance Co-Pilot)Developments in PCP (Performance Co-Pilot) Nathan Scott Performance Tools, Red Hat January 2015 2 linux.conf.au Outline Performance Co-Pilot](https://reader034.fdocuments.in/reader034/viewer/2022042310/5ed7a56648b98015c2020e22/html5/thumbnails/10.jpg)
linux.conf.au10
New collector work
● Metric collectors● Lots of kernel metric additions
● dmcache, jbd2, gluster, zswap, gfs2, cifs, nfs4.1... ● cgroups, [hot]proc, nvidia, hardware event counters
● Web, DNS, elasticsearch, memcached additions● Database server additions● Python PMDA interfaces
![Page 11: Developments in PCP (Performance Co-Pilot)Developments in PCP (Performance Co-Pilot) Nathan Scott Performance Tools, Red Hat January 2015 2 linux.conf.au Outline Performance Co-Pilot](https://reader034.fdocuments.in/reader034/viewer/2022042310/5ed7a56648b98015c2020e22/html5/thumbnails/11.jpg)
linux.conf.au11
New monitor work
● Reporting tools● Python tools
● iostat, free, numastat, atop, collectl and others
● Web tools● GUI tools
● pmchart usability improvements
● Ease of setup
● Importing data from sar, iostat
![Page 12: Developments in PCP (Performance Co-Pilot)Developments in PCP (Performance Co-Pilot) Nathan Scott Performance Tools, Red Hat January 2015 2 linux.conf.au Outline Performance Co-Pilot](https://reader034.fdocuments.in/reader034/viewer/2022042310/5ed7a56648b98015c2020e22/html5/thumbnails/12.jpg)
linux.conf.au12
Resources
http://www.pcp.io
Source, downloads, books, FAQ, mailing lists
git://git.pcp.io/pcp dev
![Page 13: Developments in PCP (Performance Co-Pilot)Developments in PCP (Performance Co-Pilot) Nathan Scott Performance Tools, Red Hat January 2015 2 linux.conf.au Outline Performance Co-Pilot](https://reader034.fdocuments.in/reader034/viewer/2022042310/5ed7a56648b98015c2020e22/html5/thumbnails/13.jpg)
linux.conf.au13
Questions?
pcp.io
Questions?
[pcp.io]