microsoft / microsoft/ebpf-for-windows

Implement BPF_F_NO_PREALLOC and default to pre-allocating memory for maps

Open
#1,965 1 comment 0 reactions 0 assignees View on GitHub
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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.