-
Notifications
You must be signed in to change notification settings - Fork 162
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Alignment performance decreases with higher -p
option value
#478
Comments
@LawrenceLiu023 That's not my experience.
|
Thank you for your response. I have carefully observed the CPU usage during my testing and found that when Bismark calls the bowtie2 genome alignment engine for methylation sequencing data alignment, it uses 2 bowtie2 instances simultaneously. When I set the However, in my tests on both a 24-core server and a 32-core server, when the I would like to ask, what I also found a post that mentioned a similar performance issue, where the |
I saw good scalability to -p 16. That said, I see you are using an ancient version of bowtie2 (2.4.4). PS: I will try to run a few benchmarks on my system and post the detailed results. |
Thank you for the additional information. I suspect that hyper-threading could indeed be a factor contributing to the performance plateau. I installed bowtie2 using |
Here are a few data points for my 5M reads run using WoLr1 as the reference database:
My CPU is The scaling does slow down close to the max, but it is almost linear up to -p 12 . For completeness, bowtie2 v 2.5 and the command used is
|
I am using Bismark to conduct alignment of methylation NGS data. The alignment engine used is bowtie2. There are 2 options in Bismark related to multi-core processing:
-parallel
determines how many bowtie2 instances is launched simultaneously and-p
is the same as the-p
option of Bowtie2.I randomly sampled 100,000 and 1,000,000 pairs of reads from my fastq.gz file, and tried different settings of
-parallel
and-p
options. The results seem to suggest that when-p
is higher than 3, the higher-p
is, the more time will be spent on alignment. I wonder if there is an optimal-p
option setting, and whether this is a normal phenomenon. The test results are as follows:CPU: Intel(R) Xeon(R) Silver 4214R CPU @ 2.40GHz 24cores
Memory: 32GB
System: Linux 91d674d7009b 6.5.0-28-generic #29~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Thu Apr 4 14:39:20 UTC 2 x86_64 GNU/Linux
Bowtie2 version: bowtie2-align-s version 2.4.4 64-bit
Bismark version: v0.24.2
The text was updated successfully, but these errors were encountered: