Skip to content

Add constrained scheduler benchmarks#737

Closed
aaronlehmann wants to merge 1 commit into
moby:masterfrom
aaronlehmann:add-constrained-scheduling-benchmarks
Closed

Add constrained scheduler benchmarks#737
aaronlehmann wants to merge 1 commit into
moby:masterfrom
aaronlehmann:add-constrained-scheduling-benchmarks

Conversation

@aaronlehmann
Copy link
Copy Markdown
Collaborator

This benchmarks scheduling with constraints, where only 1% of the nodes
are eligible to run the tasks.

Under the current implementation, this converges towards the worst-case
linear behavior, because the few nodes that meet the constraints end up
at the end of the heap, and findMin has to scan nearly the whole heap to
find them.

cc @runshenzhu

Depends on docker/go-events#11

@aaronlehmann aaronlehmann force-pushed the add-constrained-scheduling-benchmarks branch from 20ab8b6 to 37ddaaa Compare June 2, 2016 00:07
This benchmarks scheduling with constraints, where only 1% of the nodes
are eligible to run the tasks.

Under the current implementation, this converges towards the worst-case
linear behavior, because the few nodes that meet the constraints end up
at the end of the heap, and findMin has to scan nearly the whole heap to
find them.

Signed-off-by: Aaron Lehmann <aaron.lehmann@docker.com>
@aaronlehmann aaronlehmann force-pushed the add-constrained-scheduling-benchmarks branch from 37ddaaa to f02d936 Compare June 2, 2016 16:54
@docker-codecov-bot
Copy link
Copy Markdown

Current coverage is 54.50%

Merging #737 into master will decrease coverage by <.01%

  1. 2 files (not in diff) in ca were modified. more
    • Partials +1
    • Hits -1
  2. File agent/session.go (not in diff) was modified. more
    • Misses +17
    • Partials -2
    • Hits -15
  3. File .../allocator/volume.go (not in diff) was modified. more
    • Misses +1
    • Partials +1
    • Hits -2
  4. File .../test/deepcopy.pb.go (not in diff) was modified. more
    • Misses -9
    • Partials -4
    • Hits +13
@@             master       #737   diff @@
==========================================
  Files            78         78          
  Lines         11156      11158     +2   
  Methods           0          0          
  Messages          0          0          
  Branches          0          0          
==========================================
- Hits           6084       6081     -3   
- Misses         4233       4242     +9   
+ Partials        839        835     -4   

Sunburst

Powered by Codecov. Last updated by 8d8207f...f02d936

@aaronlehmann
Copy link
Copy Markdown
Collaborator Author

Replaced by #1028.

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants