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

Reducing memory usage for 2^16 streams #121

Open
lgrahl opened this issue Dec 22, 2016 · 3 comments
Open

Reducing memory usage for 2^16 streams #121

lgrahl opened this issue Dec 22, 2016 · 3 comments
Assignees

Comments

@lgrahl
Copy link
Contributor

lgrahl commented Dec 22, 2016

Considering that a decision against using RE-CONFIG has been made for the WebRTC Data Channel specification, are there any plans to reduce memory usage when requesting to use 2^16 streams?

@tuexen tuexen self-assigned this Dec 22, 2016
@tuexen
Copy link
Member

tuexen commented Dec 22, 2016

Yes, there is a plan for using a late allocation strategy.

@lgrahl
Copy link
Contributor Author

lgrahl commented May 19, 2017

Ping! Do you have an estimate when this is going to be resolved? You can also give me hints where I need to look at and I'll try to address this myself.

@tuexen
Copy link
Member

tuexen commented May 20, 2017

This is not high priority... It is an optimisation. You would need to look at places where the structures for the incoming and outgoing streams are allocated and add one layer of indirection. The critical part is the place where a delayed memory allocations fails (this can happen in kernel land), then you have to fail the association, I guess.

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

2 participants