-with-docker is very slow compared to host #2699
-
I have a pipeline with a large docker image. When I try to run my nextflow workflow using the docker image, I get very slow--almost 10x slower--performance. For example, the first step uses cutadapt. If I install cutadapt into a python environment on the host machine, then the process finishes in ~35 mins:
On the other hand, if I try to use the cutadapt built into my docker image, it runs in >8.5 hours:
Is there a way to speed up runs that use the |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hard to say but Nextflow is hardly involved since what is doing is just to create a Bash script running the target command into the container. You can troubleshoot the problematic task by running |
Beta Was this translation helpful? Give feedback.
Hard to say but Nextflow is hardly involved since what is doing is just to create a Bash script running the target command into the container.
You can troubleshoot the problematic task by running
bash .command.run
in the task work directory, and figure out what's wrong inspecting the generated docker command.