Skip to content

Add profile page for event loop thread#2144

Merged
mrocklin merged 20 commits intodask:masterfrom
mrocklin:profile-loop
Aug 19, 2018
Merged

Add profile page for event loop thread#2144
mrocklin merged 20 commits intodask:masterfrom
mrocklin:profile-loop

Conversation

@mrocklin
Copy link
Member

We have nice statistical profiling for the worker threads of each worker that is visible from the bokeh diagnostic pages. However it would be nice to also get this same kind of information about the main administrative thread within the scheduler and workers themselves. This will help us to understand performance costs generally and tune the scheduler and worker codes.

This PR copies and modifies the profile code to operate on each event loop and provides a new route (currently not advertised) on the dashboard. This helps us to understand the costs of things like asyncio and how they affect our general performance.

image

@mrocklin mrocklin merged commit dbb529b into dask:master Aug 19, 2018
@mrocklin mrocklin deleted the profile-loop branch August 19, 2018 22:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant