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:

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

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

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

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

  • 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)

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.

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.0.2.tar.gz (269.3 kB view details)

Uploaded Source

Built Distribution

perfwhiz-0.0.2-py2.py3-none-any.whl (33.3 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file perfwhiz-0.0.2.tar.gz.

File metadata

  • Download URL: perfwhiz-0.0.2.tar.gz
  • Upload date:
  • Size: 269.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for perfwhiz-0.0.2.tar.gz
Algorithm Hash digest
SHA256 60f35a9c29ddf04f432ecbf6cd6524d44c7ade37c3ee709f0b804d9f72d8c750
MD5 03e7c9a41fb2b5ebef7d827ff1f197ad
BLAKE2b-256 53bd4aa15abd1404697623cdf1e930270306d9b6c754d50919c3c2cf9708b026

See more details on using hashes here.

File details

Details for the file perfwhiz-0.0.2-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for perfwhiz-0.0.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 0ce4d5294cdc0c927bda12fd49d7e1a88c2e6557df26778b7b1b6945363e408c
MD5 353763cfcf55684a2deba589d97d54d8
BLAKE2b-256 8680c83afc19eb02da5c8313cb3a388d008eec4b1e173ed6ebd5b726c4fd5ae9

See more details on using hashes here.

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