Skip to content

Question about tx/rx buffers #186

Answered by alexforencich
wegul asked this question in Q&A
Discussion options

You must be logged in to vote

This is definitely something that could be improved. Some network device drivers split pages and recycle buffers, but this seems to involve some screwing around with page reference counts and the like, which is TBH outside of my area of expertise. On the RX side, it might be worth experimenting with using multiple 4K pages instead of order 1 or order 2 pages. I'm not sure how much difference it will make though, as with jumbo frames disabled it's going to use 4k pages anyway. Also, there is potentially a concern about XDP, which I think might only work with 4K pages (but I'm also not an expert on XDP).

And I also think split pages is less about saving memory footprint, and more about savi…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@wegul
Comment options

Answer selected by wegul
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants