Skip to main content

virt-tools

Libvirt based tools to tune VMs on the worker nodes. It provides CLI interface as well as Python APIs.

CLI

virt-tools supports the CLI: fabric-virt-tools-cli

Usage: fabric-virt-tools-cli [OPTIONS] COMMAND [ARGS]...

Options:
  -v, --verbose
  --help         Show this message and exit.

Commands:
  cpu   CPU Pinning
  numa  Numa Tuning

CPU Pinning and Information

fabric-virt-tools-cli supports CPU pinning and information commands as depicted below:

Usage: fabric-virt-tools-cli cpu [OPTIONS] COMMAND [ARGS]...

  CPU Pinning

Options:
  --help  Show this message and exit.

Commands:
  info  Query CPU Info for VM Guest and relevant host information as well
  pin   Pin vCPU to Host CPU

Numa Pinning and Information

fabric-virt-tools-cli supports Numa pinning and information commands as depicted below:

Usage: fabric-virt-tools-cli numa [OPTIONS] COMMAND [ARGS]...

  Numa Tuning

Options:
  --help  Show this message and exit.

Commands:
  info  Query Numa Info for VM Guest and relevant host information as well
  tune  Pin Numa Node to the VM Guest

Installation

This tool should be installed on the Worker nodes on each site. This CLI is used by the AMHandlers to pin CPU/Numa to the VM instances.

$ p3.6 install fabric-virt-tools

NOTE: This package depends on libvirt-python. libvirt running on the currently uses python3.6 hence pip3.6 install is recommended. This can be changed if the underlying platform i.e. libvirt uses a later version of python.

Pre-requisites

Ensure that following are installed

virtualenv
virtualenvwrapper

NOTE: Any of the virtual environment tools (venv, virtualenv, or virtualenvwrapper) should work.

Release files for fabric-virt-tools 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for fabric-virt-tools 1.0.0
File Size Uploaded
fabric-virt-tools-1.0.0.tar.gz 9.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for fabric-virt-tools 1.0.0
File Interpreter ABI Platform
fabric_virt_tools-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 22.6 kB

Release files / fabric-virt-tools-1.0.0.tar.gz

Download URL fabric-virt-tools-1.0.0.tar.gz
Size 9.9 kB
Tags Source
SHA-256 checksum
How to use checksums
1fbfb4d83a778dba60531a9dd6dd85e9dc3947ad27b92fa5c9cbadecafdb6293
BLAKE2b-256 checksum
How to use checksums
b5776f72cf97757f3319f490ce8597ba768a30f965f379fc00186ce8348d2c92
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-requests/2.28.2

Release files / fabric_virt_tools-1.0.0-py3-none-any.whl

Download URL fabric_virt_tools-1.0.0-py3-none-any.whl
Size 12.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9e4a9aea5a9290c7d21165923746bea3b0ebdab8072d3f958c05285e3a9de31a
BLAKE2b-256 checksum
How to use checksums
5af1d679241ba80690c213f4235e30089a19f44e9b6bcf36195aa2bc7ce0ecff
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-requests/2.28.2
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page