microsoft / microsoft/ebpf-for-windows
Implement BPF_F_NO_PREALLOC and default to pre-allocating memory for maps
Open
help wanted
optimization
triaged
- Dominant language
- C
- Stars
- 3.6k
- Forks
- 311
- Avg merge
- 6d 10h
- Merged PRs (30d)
- 21
Description
https://learn.microsoft.com/en-us/windows-hardware/drivers/kernel/using-lookaside-lists
Profiling indicates that pool allocation / free represents a high percentage of our CPU time for some scenarios. It might make sense to then maintain a look aside list to speed up allocations / frees.
Contributor guide
Research direction
Start with the linked Microsoft lookaside-list guidance, then locate the map allocation and free paths in the repository; the issue names no files or tests. Done means implementing BPF_F_NO_PREALLOC and default map pre-allocation, with the reported pool allocation and free overhead addressed.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c
- Domain
- operating-systems
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100