bugGNU Parallel - Bugs: bug #58911, --delay Xauto

 
 

bug #58911: --delay Xauto

Submitter:  Ole Tange <tange>
Submitted:  Fri 07 Aug 2020 03:05:51 PM UTC
   
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  Fixed
Privacy:  Public Assigned to:  tange
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Sat 12 Dec 2020 05:14:09 PM UTC, comment #2: 

Fixed in [e58cf1d].

Ole Tange <tange>
Group administrator
Fri 11 Dec 2020 12:59:50 AM UTC, comment #1: 

doit() { perl -e 'exit(0.00003 > -M shift)' $1; echo $?; }

Ole Tange <tange>
Group administrator
Fri 07 Aug 2020 03:05:51 PM UTC, original submission:  

Assume you are running jobs that fail, if they are spawned too fast (e.g. against a rate limited server), but you want GNU Parallel to figure out the delay by itself.

So GNU Parallel should automatically guess the correct value and use that. GNU Parallel should be also be able to handle if the value changes.

If --delay ends in 'auto': Use X as starting value and adjust.


delta=d=X

Try --delay d

if success:
  # Adjust slowly downwards
  delta /= 1.1
else
  # Adjust fast upwards
  delta*=2
d=0.9*d+0.1*delta


Ole Tange <tange>
Group administrator

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by tange (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2020-12-12 tange StatusNone Fixed
        Assigned toNone tange
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code