Developer Documentation

Build, test and contribute to the DRA Driver for CPU.

See Testing for running the unit and E2E tests, and Linting for the checks that run in CI.

The deep dives document the system interfaces the driver depends on, and the assumptions it makes about them.


Testing

Running unit and E2E tests, and testing local changes in a Kind cluster.

Linting

Running and auto-fixing lint issues.

Logging Guidelines

Logging conventions for the driver, and what to log at each level.

Configuration Guidelines

Adding more tunables to the driver.

Deep Dive: Cgroup v2, QoS Classes, and CPU Enforcement in Kubernetes

How cgroup v2, QoS classes, and CPU enforcement interact with DRA.

Deep dive: how linux reports topology attributes

How Linux reports topology attributes through sysfs.

Deep dive: finding and exploring PCI/PCIe root buses

Finding and exploring PCI/PCIe root buses on Linux.

SMT layout encoding

How SMT sibling layout is encoded in sysfs.