Skip to content
This repository has been archived by the owner on Jun 20, 2024. It is now read-only.

ResourceSet bug when subsetting resources and some performance optimizations #374

Merged
merged 4 commits into from
Mar 25, 2020

Conversation

nh13
Copy link
Member

@nh13 nh13 commented Mar 23, 2020

No description provided.

@nh13 nh13 requested a review from tfenne March 23, 2020 08:25
nh13 added 2 commits March 23, 2020 02:01
If the minimum to subset to is fractional, with a different fractional
value than the maximum, it could be missed.

Also added a small performance optimization.
@nh13 nh13 force-pushed the nh_task_manager_speedups_v2 branch from df74f6b to 1eee774 Compare March 23, 2020 09:01
@tfenne tfenne assigned nh13 and unassigned tfenne Mar 23, 2020
@nh13 nh13 merged commit e0a268c into nh_task_manager_speedups Mar 25, 2020
@nh13 nh13 deleted the nh_task_manager_speedups_v2 branch March 25, 2020 18:50
@nh13 nh13 restored the nh_task_manager_speedups_v2 branch March 25, 2020 18:50
@nh13 nh13 deleted the nh_task_manager_speedups_v2 branch March 25, 2020 18:50
nh13 added a commit that referenced this pull request Mar 25, 2020
* Pipeline: do not add children of tasks already added

* Pipeline: solve stack overflow in addChildren

* Task: find cycles in a collection of tasks all at once.

When a task returns a list of tasks via getTasks, we currently check for
cyclical dependencies on each task independently.  If they are all
connected in the DAG, then this is really slow!  This avoids that
by finding the strongly connected components jointly across the new *to
be added* tasks.

* Small performance optimizations on dense dags

* TaskManager: exponential reduction in sleep time if we can do anything,
otherwise linear increase

* No need to check for cycles before executing a task, as it was checked
when added.

* Warn if a single step in execution takes longer than 30 seconds

* Optimize GraphNode

* update based on review

* ResourceSet bug when subsetting resources and some performance optimizations (#374)

* ResourceSet bug fix

If the minimum to subset to is fractional, with a different fractional
value than the maximum, it could be missed.

* Task Manager optimizations

* A few NaiveScheduler simplifications
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants