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:
Heatmap Gallery
(to add sample html files with embedded Java Script - try it out for now if you’re curious)
perfwhiz Workflow
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.
Links
Documentation: http://perfwhiz.readthedocs.org/en/latest/
Supports/Bugs: https://github.com/cisco-oss-eng/perfwhiz
Gitter Room: https://gitter.im/cisco-oss-eng/perfwhiz
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file perfwhiz-0.1.0.tar.gz
.
File metadata
- Download URL: perfwhiz-0.1.0.tar.gz
- Upload date:
- Size: 279.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 11b74c2f7120756563f7a98606f0c9c4fe2917cb93f652dd6fc760bdbeb3ac1d |
|
MD5 | 7610f272b5f9a90af3ea781c28b83481 |
|
BLAKE2b-256 | 7323fd9055e47e0889ed11d39841d50f559ad2448a4ae71be2f8841bd63fc273 |
File details
Details for the file perfwhiz-0.1.0-py2.py3-none-any.whl
.
File metadata
- Download URL: perfwhiz-0.1.0-py2.py3-none-any.whl
- Upload date:
- Size: 41.3 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fdea67526b9c69472cd4a6520182f87cb25624e4b5ab2b98ae53a24dc729195d |
|
MD5 | d9f173e91fd929b971a6021f6d061874 |
|
BLAKE2b-256 | 6b0358e27944fac806776350cf83d00d738988f30888f9586b998c04b7708f06 |