[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: issues with --load
From: |
Ole Tange |
Subject: |
Re: issues with --load |
Date: |
Thu, 15 Mar 2012 21:02:33 +0100 |
On Thu, Mar 15, 2012 at 3:52 PM, Thomas Sattler
<sattler@med.uni-frankfurt.de> wrote:
> The idea behind "--load" is great, but I think it's not working that
> good. I'd vote for a mechanism of delayed job-starts when "--load"
> is in use.
I can see a delay mechanism can be useful elsewhere, but it is not
that hard for you to do yourself:
# Delay the first 4 jobs 2, 4, 6, 8 seconds.
seq 10 | parallel '[ {#} -lt 5 ] && sleep $(({#}*2)); echo foo $(({#}*2)) {}'
/Ole