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.

  • 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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.