Commit c0b367a
authored
Make
# Description
The python `PriorityQueue` prioritizes items with smaller priority
values, which leads us to our current `MPITaskScheduler` prioritizing
MPI tasks with fewer nodes requested since the nodes requested is used
as the priority. This PR changes the ordering to prefer larger jobs.
# Changed Behaviour
MPI Tasks with larger node requests are prioritized by the manager.
Please note that as @WardLT pointed out in the comments on #3783, the
greedy scheduling that we use can lead to larger tasks getting delayed
in favor of smaller tasks that can get scheduled immediately.
These are change split from #3783 to
keep the PR concise.
This is split 3 of 3.
## Type of change
Choose which options apply, and delete the ones which do not apply.
- Update to human readable text: Documentation/error messages/commentsMPITaskScheduler prioritize large tasks (#3805)1 parent 27ad9df commit c0b367a
File tree
2 files changed
+38
-1
lines changed- parsl
- executors/high_throughput
- tests/test_mpi_apps
2 files changed
+38
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
196 | 196 | | |
197 | 197 | | |
198 | 198 | | |
199 | | - | |
| 199 | + | |
| 200 | + | |
200 | 201 | | |
201 | 202 | | |
202 | 203 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
4 | 5 | | |
5 | 6 | | |
6 | 7 | | |
| |||
218 | 219 | | |
219 | 220 | | |
220 | 221 | | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
0 commit comments