How to give full CPU power to VSTS build agent?












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










share|improve this question


















  • 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


















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










share|improve this question


















  • 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
















0












0








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










share|improve this question














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







azure-devops build-agent






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Nov 22 '18 at 9:03









CaiusCaius

534826




534826








  • 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





    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




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







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 Answer
1






active

oldest

votes


















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 park 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 utilise the fullest extent of my CPU rather than the orchestrator that called them.



Hope that helps!






share|improve this answer
























  • 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











Your Answer






StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");

StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53427231%2fhow-to-give-full-cpu-power-to-vsts-build-agent%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









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 park 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 utilise the fullest extent of my CPU rather than the orchestrator that called them.



Hope that helps!






share|improve this answer
























  • 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
















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 park 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 utilise the fullest extent of my CPU rather than the orchestrator that called them.



Hope that helps!






share|improve this answer
























  • 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














1












1








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 park 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 utilise the fullest extent of my CPU rather than the orchestrator that called them.



Hope that helps!






share|improve this answer













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 park 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 utilise the fullest extent of my CPU rather than the orchestrator that called them.



Hope that helps!







share|improve this answer












share|improve this answer



share|improve this answer










answered Nov 22 '18 at 12:40









Colin BColin B

1916




1916













  • 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



















  • 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

















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





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





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





Thank you so much for your time! You helped me a lot!

– Caius
Nov 22 '18 at 13:00


















draft saved

draft discarded




















































Thanks for contributing an answer to Stack Overflow!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53427231%2fhow-to-give-full-cpu-power-to-vsts-build-agent%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

To store a contact into the json file from server.js file using a class in NodeJS

Redirect URL with Chrome Remote Debugging Android Devices

Dieringhausen