An optimization of idle callbacks such that there is now a single toggleable idle callback per scheduler.#8566
Closed
toddaaro wants to merge 6 commits intorust-lang:masterfrom
Closed
An optimization of idle callbacks such that there is now a single toggleable idle callback per scheduler.#8566toddaaro wants to merge 6 commits intorust-lang:masterfrom
toddaaro wants to merge 6 commits intorust-lang:masterfrom
Conversation
…suffers from nondeterministic deadlock and also pending scheduler messages on scheduler shutdown.
Full description in comments.
…leIdleCallback and placed the appropriate signatures in rtio and implementation into uvio.
…e been updated, a minor amount of support type restructing has happened, methods have been reordered, and some duplicate code has been purged.
bors
added a commit
that referenced
this pull request
Aug 20, 2013
…,brson Instead of a furious storm of idle callbacks we just have one. This is a major performance gain - around 40% on my machine for the ping pong bench. Also in this PR is a cleanup commit for the scheduler code. Was previously up as a separate PR, but bors load + imminent merge hell led me to roll them together. Was #8549.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Instead of a furious storm of idle callbacks we just have one. This is a major performance gain - around 40% on my machine for the ping pong bench.
Also in this PR is a cleanup commit for the scheduler code. Was previously up as a separate PR, but bors load + imminent merge hell led me to roll them together. Was #8549.