Comments (5)
PS: I should add that the issue may depend on available RAM and other processes running on the same machine. On a just rebooted machine or on a machine with lots of free RAM, the issue may be alleviated.
from wtdbg2.
PSS: I have updated the precompiled binaries in the release page. wtdbg2
, wtdbg-cns
and wtpoa-cns
in the binary tar-ball are now statically linked to TCMalloc. They are faster on my machine. Not sure if you can see the difference on your side.
from wtdbg2.
Dear Heng,
wtpoa-cns
and wtdbg-cns
used the same schema in paralleling. They take one contig and break the task into mutiple parallel parts naturally according to edges in wtdbg
, then merge the consensus edge sequences into the contig sequence.
If paralleling in contigs instead of edges within contig, the CPU usage will be expected as -t 16
. But my concern was the various contig lengths might leave some threads run much much longer than others.
Another way might be seprating the 'edge consensus sequence' and 'merging edges'. For all contigs, we first build consensus edge sequences and write a prefix.ctg.lay.edges.fa
file, it will take full CPU usage. Then, merging, it also will take full CPU usage. Let me try it.
from wtdbg2.
On my machine, the problem is not caused by some threads running longer. Using tcmalloc wouldn't help in that case. I believe the slowdown is due to frequent malloc calls. I have seen similar behaviors a few times before.
from wtdbg2.
Hi Heng,
You are right, the frequent malloc calls slowed down multi-threads. I have located the causal codes.
Thanks very much!
Jue
from wtdbg2.
Related Issues (20)
- wtdbg2对杂合度以及重复序列敏感度的问题 HOT 1
- Parameters for assembling short sequences (generating small assemblies) HOT 2
- I dont find wtpoa-cns script
- Enquiry about the parameter "-m" HOT 3
- Wtdbg2: Parameter -g setting problem HOT 2
- Runtime Issue with warnings HOT 5
- wtpoa-cns polishing details HOT 9
- Different contig numbers and contig length generated! HOT 1
- Died at /home/synbiolab/SoftWares/wtdbg2/wtdbg2.pl line 25. HOT 2
- No such file: assembly.events HOT 4
- No Consensus ctg.fa file created HOT 5
- Ambiguous bases HOT 1
- adjustable parameters with --load-alignments HOT 3
- Only one sample or multiple samples can be used in wtdbg2? HOT 1
- C++/ Python library HOT 1
- ".cns.fa" output HOT 1
- contigN50 too small HOT 13
- CCS data assemble far too small HOT 4
- Recomendation for AT-high and very repetitive genome
- the estimate of running time HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wtdbg2.