cpp-filecoin icon indicating copy to clipboard operation
cpp-filecoin copied to clipboard

New Scheduler

Open ortyomka opened this issue 3 years ago • 0 comments

Scheduler should be updated.

Several Problems:

  • Two resources(active and planning) should be union, because we don’t have twice the resources.
  • Current implementation theoretically prone to starvation
  • We cannot disabling workers
  • Unstable selection of workers

Suggestions:

  • [ ] Each Worker should have separate queues
  • [x] We can estimate how much time each worker spends on each task. It can help us processing tasks faster
  • [ ] Disabling workers (blocks by separate queues)
  • [ ] Resources union

ortyomka avatar Mar 24 '22 07:03 ortyomka