Roary parameters optimization (Noob question: CPUs X Threads)
1
0
Entering edit mode
4.4 years ago
hugo.avila ▴ 530

I want to do pangenome analisys with raory, but i have a big dataset (~10k genomes) so i want to apply the maximum resources available in my server. In the roary manual it says that the flag -p set the number of threads to use.

The lscpu command provides the following output:

CPU(s): 64

Thread(s) per core: 2

Should I run roary with the flag -p (threads) "-p 128"?

enter image description here

genome bacteria • 1.2k views
ADD COMMENT
1
Entering edit mode
4.4 years ago

It's complicated. The only way to know for sure is to try various settings and measure the time they take. But for a shortcut, you're right that 128 is the absolute maximum. Usually something else begins bottlenecking and you'll get slower after some number down by 4 or 12. Try 8 and have a cup of tea.

ADD COMMENT
0
Entering edit mode

Tks ! i will try it.

ADD REPLY

Login before adding your answer.

Traffic: 2072 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6