-
Notifications
You must be signed in to change notification settings - Fork 510
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Pin simulator runs on CPU 0 via thread affinity
Summary: In order for subsequent runs of simulator to hit the same per-CPU BPF maps, we need to execute them on the same CPU. Thus moving execution of `bpf_prog_test_run_opts` to dedicated thread that is affinitized to CPU #0. Context https://fb.workplace.com/groups/meta.bpf/posts/2272088983164632 Reviewed By: frankfeir Differential Revision: D68784116 fbshipit-source-id: a793b84d242dfeadcd26be31b86e2a336c5faece
- Loading branch information
1 parent
8fa534e
commit 04a636d
Showing
4 changed files
with
60 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters