Skip to content

Job submisison workflow #195

Description

@arabnejad

The current multi-threading implementation for job submission is not thread safe when we use high number of threads. The main issue is : some global variables modified by different threads are not protected by mutex lock, therefore the output values of those variables are not predicable and not set as they should be

the possible solutions for this issue are:

  • adding those variable blocks in a mutex lock to be protected
  • working on a different approach which may requires some changes in the workflow of how we submit a job to remote machine

the main disadvantage of first approach is : due to have more mutex lock area, the total job submission will be increased,
so, I believe the second option is the best one to investigate

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions