-
Notifications
You must be signed in to change notification settings - Fork 2k
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
ng_sixlowpan: make lookup in reassembly buffer more efficient #3006
Comments
Alhough, I have no idea about the code right now, but just want to give some hints: Regarding the bloom filter: There are quite some bytes involved ( |
Hi, I'm new to RIOT and i think that this issue would be a great way to start. |
Hi @Osblouf, cool to hear that you'll like to take a look into this. Implementing different solutions and comparing the timings sounds like a good plan. |
Hi @Osblouf! Did you already give it a try? |
@miri64 afaik sixlowpan has change quite a bit since |
The lookup of the reassembly buffer is still the same. The RFC says the ( |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. If you want me to ignore this issue, please mark it with the "State: don't stale" label. Thank you for your contributions. |
This is not true after all (see #11000)... |
And back again: #12300 |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. If you want me to ignore this issue, please mark it with the "State: don't stale" label. Thank you for your contributions. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. If you want me to ignore this issue, please mark it with the "State: don't stale" label. Thank you for your contributions. |
We did basically that in an early version of the Virtual Ressembling End-point for our ICN ACM 2020 paper. The result was a much higher packet buffer usage, we needed to set the packet buffer to 12KiB to have good results in the first place. Given that this is because each packet snip takes up 20 bytes in the packet buffer, so an extra ~1/5 of a fragment's data, I expect a similar result for the actual reassembly buffer, so I don't think this is a viable option. |
As discussed in #2781 (comment) the current implementation of the lookup for fragments in the reassembly buffer is quite expensive, because up to seven comparisons have to be made for each fragment reception. This might be improved by using a bloomfilter that checks first if the fragment may be in the buffer, before the full check is performed.
The text was updated successfully, but these errors were encountered: