Bwa: Number Of Threads
1
3
Entering edit mode
13.9 years ago

OK, I'm really not a hardware-guy: I want to run bwa and here is a snapshot of my /proc/cpuinfo

#grep "physical id" /proc/cpuinfo | sort | uniq | wc -l
4
#grep ^processor /proc/cpuinfo | wc -l
16
#grep 'cpu cores' /proc/cpuinfo | sort | uniq
cpu cores    : 4

what would you suggest as a good value for the number of threads to be used by bwa (option -t ) ?

Thank you ! :-)

bwa next-gen sequencing parallel hardware • 5.5k views
ADD COMMENT
5
Entering edit mode
13.9 years ago
Aaron Statham ★ 1.1k

Looks to me like you have 4xquad core CPUs - I would use 15 threads, that way you still have one core free to do other things in the meantime

ADD COMMENT
2
Entering edit mode

Agreed. You could also use nice and use all processors:

nice -19 bwa -t 16 ...
ADD REPLY

Login before adding your answer.

Traffic: 2753 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