after killing or crash jobs the restarts all run on 1 core












0















I am running ubuntu 18.04 on an AMD Ryzen



When I first boot the machine and run multiple big jobs they each run on their processor and top shows about 100% cpu for both jobs. This is generally 2-3 jobs which use about 2.3BG each.



vendor_id : AuthenticAMD
cpu family : 23
model : 8
model name : AMD Ryzen 7 2700X Eight-Core Processor
stepping : 2
microcode : 0x8008206
cpu MHz : 4244.445
cache size : 512 KB



When I Restart a job I now notice (this may be new behavior) that the restarted job only runs on the same core as the old so that top reports about 50% cpu usage for each job. top 1 shows that only one core is very active (almost 100% resting for the other cores). Any ideas what is going on? Thanks.










share|improve this question

























  • there is a command called taskset which can be used to change the affinity of a job for a particular processor. That seems to do the job for me.

    – dave fournier
    Feb 2 at 1:32
















0















I am running ubuntu 18.04 on an AMD Ryzen



When I first boot the machine and run multiple big jobs they each run on their processor and top shows about 100% cpu for both jobs. This is generally 2-3 jobs which use about 2.3BG each.



vendor_id : AuthenticAMD
cpu family : 23
model : 8
model name : AMD Ryzen 7 2700X Eight-Core Processor
stepping : 2
microcode : 0x8008206
cpu MHz : 4244.445
cache size : 512 KB



When I Restart a job I now notice (this may be new behavior) that the restarted job only runs on the same core as the old so that top reports about 50% cpu usage for each job. top 1 shows that only one core is very active (almost 100% resting for the other cores). Any ideas what is going on? Thanks.










share|improve this question

























  • there is a command called taskset which can be used to change the affinity of a job for a particular processor. That seems to do the job for me.

    – dave fournier
    Feb 2 at 1:32














0












0








0








I am running ubuntu 18.04 on an AMD Ryzen



When I first boot the machine and run multiple big jobs they each run on their processor and top shows about 100% cpu for both jobs. This is generally 2-3 jobs which use about 2.3BG each.



vendor_id : AuthenticAMD
cpu family : 23
model : 8
model name : AMD Ryzen 7 2700X Eight-Core Processor
stepping : 2
microcode : 0x8008206
cpu MHz : 4244.445
cache size : 512 KB



When I Restart a job I now notice (this may be new behavior) that the restarted job only runs on the same core as the old so that top reports about 50% cpu usage for each job. top 1 shows that only one core is very active (almost 100% resting for the other cores). Any ideas what is going on? Thanks.










share|improve this question
















I am running ubuntu 18.04 on an AMD Ryzen



When I first boot the machine and run multiple big jobs they each run on their processor and top shows about 100% cpu for both jobs. This is generally 2-3 jobs which use about 2.3BG each.



vendor_id : AuthenticAMD
cpu family : 23
model : 8
model name : AMD Ryzen 7 2700X Eight-Core Processor
stepping : 2
microcode : 0x8008206
cpu MHz : 4244.445
cache size : 512 KB



When I Restart a job I now notice (this may be new behavior) that the restarted job only runs on the same core as the old so that top reports about 50% cpu usage for each job. top 1 shows that only one core is very active (almost 100% resting for the other cores). Any ideas what is going on? Thanks.







cpu






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Jan 29 at 19:59







dave fournier

















asked Jan 29 at 19:49









dave fournierdave fournier

1062




1062













  • there is a command called taskset which can be used to change the affinity of a job for a particular processor. That seems to do the job for me.

    – dave fournier
    Feb 2 at 1:32



















  • there is a command called taskset which can be used to change the affinity of a job for a particular processor. That seems to do the job for me.

    – dave fournier
    Feb 2 at 1:32

















there is a command called taskset which can be used to change the affinity of a job for a particular processor. That seems to do the job for me.

– dave fournier
Feb 2 at 1:32





there is a command called taskset which can be used to change the affinity of a job for a particular processor. That seems to do the job for me.

– dave fournier
Feb 2 at 1:32










0






active

oldest

votes











Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
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%2faskubuntu.com%2fquestions%2f1113920%2fafter-killing-or-crash-jobs-the-restarts-all-run-on-1-core%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes
















draft saved

draft discarded




















































Thanks for contributing an answer to Ask Ubuntu!


  • 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%2faskubuntu.com%2fquestions%2f1113920%2fafter-killing-or-crash-jobs-the-restarts-all-run-on-1-core%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

How to make a Squid Proxy server?

Is this a new Fibonacci Identity?

19世紀