Skip to content

Dask doc review: [6] Schedulers #1596

Closed

Description

@pitrou

Scheduler Overview

Configuring the schedulers
''''''''''''''''''''''''''

It would be nice to show the import line necessary to get set_options.
I'm assuming::

>>> from dask import set_options

Choosing between schedulers
'''''''''''''''''''''''''''

It seems the term "GIL" is not explained in the docs. CPython has a
useful glossary entry that you could point to:
https://docs.python.org/3/glossary.html#term-gil

Shared Memory Performance
'''''''''''''''''''''''''

I'm not sure in which conditions the numbers were obtained, they seem
a bit off compared to what I'm getting (Python 3.5, Linux x86-64).
Especially the thread pool spin up overhead::

>>> xx = da.ones(1000, chunks=(1000,)).sum()
>>> len(xx.dask)
3
>>> %timeit xx.compute()
1000 loops, best of 3: 867 µs per loop

Far from the alleged 100 ms!

Diagnostics

Scheduler Callbacks
'''''''''''''''''''

"Schedulers [...] accept four callbacks": five are actually listed.

"These are internally represented as tuples of length 4": ditto.

Activity

  1. added a commit that references this issue on Oct 3, 2016
    14ed2f4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions