Reusable BPF math routines #5026
janet-campbell
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
For some time I've been doing more math than is common in kernel space, with good results. High precision logarithms allow for the creation of high precision histograms. Bitwise floating point routines allow for easy manipulation of float and double based data. Clustering, FFT, cardinality analysis and so on can be a big benefit over hauling as much as possible into userland. Provided you respect the rules of the medium, things can be very fast and processing can be done inline with heavily-hit tracing points.
Plus, you get pretty pictures:
I am trying to gauge the interest in this subject, where to "place" it as a project, and learn more about the best ways to provide language-agnostic BPF functional blocks.
Beta Was this translation helpful? Give feedback.
All reactions