Performance
These actions can enhance your system performance:
- Enough CPU and memory are allocated to the agent (see
resources). See the your Kubernetes monitoring software to detect bottlenecks (notably CPU, RAM, IOPS, network, disk size). - No
emptyDiris used (seepipelines.cache.volumeEnabled,pipelines.tmpdir.volumeEnabled, andextraVolumes). - SSD volumes are used for both cache (see
pipelines.cache) and system temporary directory (seepipelines.tmpdir). For exemple, in Azure, themanaged-csi-premiumvolume type is a high-performance SSD. - The network bewteen Azure DevOps server and agents has a low latency.
BuikdKit specifics:
- Choose an ephemeral disk for the cache in
/app-root/.local/share/buildkit, instead of an emptyDir. - Use an high-performance disk for the cache, exemple
managed-csi-premiumin Azure.
Last updated on