admin管理员组

文章数量:1278826

We use Windows and Linux self-hosted agents to run our pipelines. When we are running similar tasks on both Linux and Windows agents (like git checkout, Azure CLI, powershell tasks) we observed that Linux agents are 2 times faster than windows agents. Just trying to understand why windows agents are taking time to run these tasks and how we can improve windows agents’ performance further.

We totally understand windows behavior of having multiple background processes, but we need to use windows agents for some of our pipelines. And this slowness is impacting our development and deployment timelines. Can we get some resolution/steps to increase performance on windows agents?

We have tried below steps but did not see any performance improvement:

  • a) Set priority of agent service to high so that it would take precedence over other processes
  • b) Pre-installing latest versions of softwares on agent
  • c) Changing SKU of agent VM to higher vCPU (from Standard_D4s_v3 to Standard_d8ads_v5)

本文标签: Azure DevOps self hosted windows agents are running slowStack Overflow