Code Monkey home page Code Monkey logo

numalign's Introduction

numalign - tooling to check NUMA resource alignment/positioning

irqcheck tells information about IRQ/softirq cpus affinity.

lsnt reports information about NUMA locality of CPU and devices.

numalign tells you if a set of resources is aligned on the same NUMA node.

sriovscan finds all the SR-IOV (PFs and VFs) devices on the system and report infos about them.

sriovctl is a helper tool to override (kernel allowing) the NUMA placement of SRIOV devices, in case of buggy firmware.

splitcpulist parses a cpulist description and emits the list of all CPUs involved, to be used in shell scripts.

license

(C) 2020 Red Hat Inc and licensed under the Apache License v2

build

just run

make

See the READMEs under cmd for informations about each tool.

numalign's People

Contributors

ffromani avatar philsphicas avatar

Stargazers

Cyclinder avatar Rajesh Y avatar Clayton Kehoe avatar scanflove avatar Madhav Jivrajani avatar

Watchers

 avatar  avatar

numalign's Issues

Status is set to aligned even no PCI device/VF was attached to pod

Even in a pod that does not have any VF attached numalign, the pod is being considered to be aligned from a NUMA perspective. I guess this is probably not very intuitive. For example,

kni@e22-h20-b01-fc640 sriov-operator]$ oc rsh podvert-pod-3
/ # ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host 
       valid_lft forever preferred_lft forever
3: eth0@if94: <BROADCAST,MULTICAST,UP,LOWER_UP,M-DOWN> mtu 1400 qdisc noqueue state UP 
    link/ether aa:aa:7c:82:02:0d brd ff:ff:ff:ff:ff:ff
    inet 10.130.2.12/23 brd 10.130.3.255 scope global eth0
       valid_lft forever preferred_lft forever
    inet6 fe80::90cc:14ff:fe9e:b35c/64 scope link 
       valid_lft forever preferred_lft forever
/ # numalign
STATUS ALIGNED=true
NUMA NODE=0

This was in a pod with isolated CPUs but no VF attached.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.