How do i apply multiple workloads continuously one after another to one cpu thread? In python3 | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How do i apply multiple workloads continuously one after another to one cpu thread? In python3

Consider I've workload files(e.g. 12 files) saved in one folder, if I've to apply core affinity to specific core (e.g Thread-0) or thread to keep running these workload files one after another in continuous loop until few hours e.g. run these workload loads on core-0 or thread -0 one after another for 12 hours?? How to achieve this in python 3???

25th May 2020, 10:03 PM
Sagi
2 Answers
0
There is no way to define which core u run a program, until u either load other cores to force your app to run where you want, or turn off other cores on the system entirely
29th May 2020, 12:14 AM
Max Charlington
Max Charlington - avatar
0
There is import thread where we could specifically have core affinity.. My concern is how to continuously let the workload run based on user input in terms of hours...of stress
29th May 2020, 6:17 PM
Sagi