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

increase performance of bmv2 / simple_switch #109

Open
antoninbas opened this issue Apr 20, 2016 · 1 comment
Open

increase performance of bmv2 / simple_switch #109

antoninbas opened this issue Apr 20, 2016 · 1 comment
Assignees

Comments

@antoninbas
Copy link
Member

antoninbas commented Apr 20, 2016

Even though this is not the primary design goal of bmv2, the following ideas can be investigated:

  1. use a stack allocator in appropriate cases for class ByteContainer
  2. use a custom allocator for libgmp, could also speed up the phv::reset() operation used by simple_switch
  3. investigate replacement for libpcap to speed up I/O
  4. cache header and field ids in simple_switch instead of always looking up fields by name
  5. exact match cache for ternary match lookup
@antoninbas antoninbas self-assigned this Apr 20, 2016
@antoninbas
Copy link
Member Author

#112 implements 1.

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