metagenome-atlas / atlas

ATLAS - Three commands to start analyzing your metagenome data
https://metagenome-atlas.github.io/
BSD 3-Clause "New" or "Revised" License
376 stars 98 forks source link

Postprocess memory and thread usage report #488

Closed CedricMidoux closed 1 year ago

CedricMidoux commented 2 years ago

Hi Silas,

Is there a simple way to get a report on memory usage, thread, computation time, ... of different rules? These metrics could be used for optimization for future analysis. There is something like that in snakemake but I'm not too satisfied with it.

Thanks.

SilasK commented 2 years ago

You mean there is the snakemake --report which gathers much of the data. You are not satisfied which the output? Do you think if you would have access to the raw data used for the report you could do something better?

For rules, that I estimated to be critical I made benchmark files that save the memory, io usage and time. This could be an other way to check it.

CedricMidoux commented 2 years ago

I use snakemake --report (note : I had to install pygraphviz, can we add it to atlasenv.yml ?)

atlas run all --report snakemake-report.html

We can see the rulesgraph, it's great (but not very readable). However statistics are only based on "runtime" (although the runtime considers the waiting time not the effective running time) and "creation date". Beyond time, cpu and threads usage can be useful. I don't know how to represent this easily. maybe with an areaplot or a waffle-chart ? I'll see what I can do with benchmark files ...

SilasK commented 2 years ago

Ok, then the benchmark files should have the actual running time, and mem usage. But I'm not shur if threads is there.

github-actions[bot] commented 1 year ago

There was no activity since some time. I hope your issue is solved in the mean time. This issue will automatically close soon if no further activity occurs.

Thank you for your contributions.