Commit 41eead64 authored by Morris Jette's avatar Morris Jette
Browse files

update job/script file synchronization

When slurmctld is reconfigured, it makes sure that every pending
batch job has a script and if not mark the job as failed. If the
script is present with no job, then purge the file/directory.

This re-write of the logic takes advantage of hash tables to
improve the performance of the algorithm and is an improvement
on the logic in commit 862f3c8e
and will work with the version 15.08 code base as well
Time for for slurmctld reconfig with 110,000 jobs/files
37.8 sec with original code
2.2  sec with commit 862f3c8e
0.8  sec with latest code
bug 2220
parent 4d977cd8
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment