Skip to content

Commit

Permalink
Usage is very close to the trend line. Smaller bins work fine
Browse files Browse the repository at this point in the history
  • Loading branch information
muffato committed Dec 5, 2023
1 parent d215aa7 commit 9ded53a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion conf/base.config
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ process {

withName: 'SAMTOOLS_SORMADUP' {
cpus = { log_increase_cpus(2, 6*task.attempt, 1, 2) }
memory = { check_max( 10.GB + 6.GB * Math.ceil( meta.read_count / 1000000000 ) * task.attempt, 'memory' ) }
memory = { check_max( 10.GB + 0.6.GB * Math.ceil( meta.read_count / 100000000 ) * task.attempt, 'memory' ) }
time = { check_max( 2.h * Math.ceil( meta.read_count / 100000000 ) * task.attempt / log_increase_cpus(2, 6*task.attempt, 1, 2), 'time' ) }
}

Expand Down

0 comments on commit 9ded53a

Please sign in to comment.