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

Eliminate O(n) loops in the TCP/IP stack #101

Open
nuta opened this issue Nov 24, 2021 · 0 comments
Open

Eliminate O(n) loops in the TCP/IP stack #101

nuta opened this issue Nov 24, 2021 · 0 comments

Comments

@nuta
Copy link
Owner

nuta commented Nov 24, 2021

In smoltcp, the Kerla's TCP/IP implementation, there're some O(|# of sockets|) loops and it would lead to a scalability issue in the future:

https://github.com/smoltcp-rs/smoltcp/blob/8e6fc7fec85188a783ed80a25ee2159201aa74e8/src/iface/interface.rs#L2019

The priority is not that high, but it might be a good time to write our own TCP/IP protocol stack. I'd avoid to do so though.

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

No branches or pull requests

1 participant