Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Newsched TCP #6313

Closed
wants to merge 32 commits into from
Closed

Newsched TCP #6313

wants to merge 32 commits into from

Conversation

brson
Copy link
Contributor

@brson brson commented May 7, 2013

This series mostly focused on implementing the TcpStream and TcpListener types (usage example). It isn't done, but several tests are working. The error handling strategy employed here is still the one I described a few weeks ago. It has received strong critique and will be changing.

There's also a lot of interspersed cleanup and docs.

Note that coretest on incoming is experiencing intermittent segfaults (#6258) for unknown reasons. I don't think this branch makes the situation worse, but it may by virtue of adding more scheduler tests.

@brson
Copy link
Contributor Author

brson commented May 7, 2013

I don't have benchmark numbers yet, but I've started writing some. My preliminary test of pure write throughput has us slightly faster than node. This is essentially a test of scheduling and allocation overhead - how well we get out of the way and let the kernel move bytes around. In my test we spend 83% of our time in the kernel. I think that's encouraging.

@brson
Copy link
Contributor Author

brson commented May 12, 2013

FYI I'm trying to resolve #6258 before landing this.

brson and others added 24 commits May 13, 2013 14:24
We will just use RAII for now.
This ended up touching a lot of code related to error handling.
Make names that better match rt::io. Return error types.
Put all uv code under rt::uv, as if it were in its own crate.
Pull local_sched out of rt::sched.
`position` and `rposition` belonged to `ImmutableCopyableVector`, but they don't need the value is copyable.
…ween Scheduler and Task

Called 'Tube' for lack of anything better.
@brson
Copy link
Contributor Author

brson commented May 15, 2013

Closing this to open a new one with my most recent branch which contains a fix for a mac deadlock.

@brson brson closed this May 15, 2013
flip1995 pushed a commit to flip1995/rust that referenced this pull request Dec 6, 2020
…broto

Fix FP in indirect `needless_collect` when used multiple times

Fix rust-lang/rust-clippy#5991
Fix rust-lang/rust-clippy#6297

changelog: Fix FP in indirect `needless_collect` when used multiple times
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.

None yet

3 participants