0

I've created a private agents pool on VSTS.

Then downloaded the agent for linux, installed it on my Ubuntu 18.04 server and everything went fine.

The only problem is that I'm noticing that it isn't using the fully potential of the CPU. I'd like to give it all the available computational power, in order to speed up the builds.

Is there a way to do this? Or an article that I can read? I've googled around, but didn't find something useful...

I'm not hosting on Azure, my build machine is under my desk.

Thank you all! Caius

Caius
  • 2,084
  • 6
  • 31
  • 47
  • 1
    I would agree to what Colin B said. The agent is just an orchestration software running as a service. If the machine should use the full power, then it is more a problem of the build tools you use. For example if you compile c++ code, then you should check how the compiler can use the full power of your machine. – Sebastian Schütze Nov 22 '18 at 12:45

1 Answers1

1

The Azure DevOps (VSTS) Agent really doesn't need much CPU power.

Think of the agent as an orchestrator of tasks that are executed in your pipelines (build or release). It is these tasks that may need the CPU horsepower. For example, if I execute a build as part of a build pipeline using my chosen build engine (Maven, Ant, Gradle, etc...) it is these build engines that I want to be able to utilize the fullest extent of my CPU rather than the orchestrator that called them.

Hope that helps!

dev.e.loper
  • 35,446
  • 76
  • 161
  • 247
Colin B
  • 306
  • 1
  • 7
  • It indeed helps a lot! Now the picture is much more clear. So I'd should find a way to say to the build specific task use the full machine potential.... Right? – Caius Nov 22 '18 at 12:50
  • Absolutely. It's the engine you selected to do your build that you should focus on to make that step of the pipeline as efficient as possible....Of course depending on that task it may be disk, memory or network bound rather than CPU. Depends on the job its doing and how that process was developed to work. – Colin B Nov 22 '18 at 12:53
  • Thank you so much for your time! You helped me a lot! – Caius Nov 22 '18 at 13:00