Skip to content

How to run parallel on dual socket machines ? #150

Answered by grobalt
grobalt asked this question in Q&A
Discussion options

You must be logged in to vote

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

Replies: 4 comments 6 replies

Comment options

You must be logged in to vote
1 reply
@grobalt
Comment options

Answer selected by harold-b
Comment options

You must be logged in to vote
2 replies
@grobalt
Comment options

@tigana0210
Comment options

Comment options

You must be logged in to vote
1 reply
@grobalt
Comment options

Comment options

You must be logged in to vote
2 replies
@grobalt
Comment options

@Unnameless
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
5 participants