-
I have several dual socket epyc nodes and some single socket. All same CPU, multiple TB of memory. How can i assign 2 parallel threads, one to each socket on the 2 socket nodes ? |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 6 replies
-
i think i figured it out how it works on ubuntu LTS 20.04 example to run on CPU 2 (64 physical cores) previously one process using all ressources between 5 and 7 minutes. |
Beta Was this translation helpful? Give feedback.
-
Looks like you managed it on your own 🙂. Great timings, BTW |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
@grobalt I wonder if for your use case wouldn't it be better to run 4 threads assigned evenly per each CPU with half t count ofc |
Beta Was this translation helpful? Give feedback.
i think i figured it out how it works on ubuntu LTS 20.04
example to run on CPU 1 (64 physical cores)
numactl -C +0-63,128-191 --membind=0 /home/*/bladebit/build/bladebit -m -n 1 -t 120 -f * -w -c * --no-cpu-affinity /media/storage
example to run on CPU 2 (64 physical cores)
numactl -C +64-127,192-255 --membind=1/home/*/bladebit/build/bladebit -m -n 1 -t 120 -f * -w -c * --no-cpu-affinity /media/storage
previously one process using all ressources between 5 and 7 minutes.
with numactl assignment each job finished under 5, so more than doubling the performance, 2 plots finished every 5 minutes