Skip to main content

Tools for Linux perf

Project description

This repository contains a set of python scripts for helping tune any Linux system for performance and scale by leveraging the Linux perf tool and generate from the perf traces a visualization of Linux scheduler context switches and KVM events:

  • context switch heat maps (temporal distribution of context switch events)

  • KVM exit heat maps (temporal distribution of kvm entry and exit events)

  • KVM exit types distribution stacked bar charts (exit type distribution per task)

  • task scheduler core assignment heat maps (run time % on each core per task - including IDLE time)

  • task per core context switch count heat maps (how many context switches per core per task)

  • core locality heat maps (on which core does task run over time)

The capture script wraps around the Linux perf tool to capture events of interest (such as context switches, and kvm events) and generates a much more compact binary file to be used for analysis offline.

Complete documentation including installation and usage instructions:

http://perfwhiz.readthedocs.org/en/latest/

perfwhiz Workflow

images/perfwhiz.png

Licensing

perfwhiz is licensed under the Apache License, Version 2.0 (the “License”). You may not use this tool except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an “AS IS” BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

perfwhiz-0.1.0.tar.gz (279.8 kB view hashes)

Uploaded Source

Built Distribution

perfwhiz-0.1.0-py2.py3-none-any.whl (41.3 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page