taskGNU Astronomy Utilities - Tasks: task #14882, Optional weights for distributing...


You are not allowed to post comments on this tracker with your current authentication level.

task #14882: Optional weights for distributing jobs in threads

Submitted by:  Mohammad Akhlaghi <makhlaghi>
Submitted on:  Mon 05 Mar 2018 11:38:01 PM UTC  
Should Start On:  Mon 05 Mar 2018 11:00:00 PM UTC Should be Finished on:  Mon 05 Mar 2018 11:00:00 PM UTC
Category:  Libraries Priority:  5 - Normal
Item Group:  Enhancement Status:  Postponed
Privacy:  Public Percent Complete:  0%
Assigned to:  None Open/Closed:  Open
Effort:  0.00

Mon 05 Mar 2018 11:38:01 PM UTC, original submission:  

The function gal_threads_dist_in_threads is in charge of distributing the input jobs between different threads in Gnuastro's programs which benefit from threads.

Currently this function just takes the total number of jobs and divides them into the given number of threads evenly. However, in many cases, the "weight" of each job (for example area of region to be sorted) is clear before the distribution in threads.

We can use this information to make a non-even distribution, such that if too many large "weight" jobs are given to a thread, the smaller "weight" jobs are given to other threads and the processing can be done faster.

Mohammad Akhlaghi <makhlaghi>
Project Administrator


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 makhlaghi (Submitted the item)

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.




    No changes have been made to this item

    Back to the top

    Powered by Savane 3.5