Re: [PATCH v2 bpf-next 3/3] selftest/bpf: add BPF triggering benchmark

2020-05-09 Thread Yonghong Song
On 5/8/20 4:20 PM, Andrii Nakryiko wrote: It is sometimes desirable to be able to trigger BPF program from user-space with minimal overhead. sys_enter would seem to be a good candidate, yet in Probably "with minimal external noise"? Typically, overhead means the overhead from test infrastru

[PATCH v2 bpf-next 3/3] selftest/bpf: add BPF triggering benchmark

2020-05-08 Thread Andrii Nakryiko
It is sometimes desirable to be able to trigger BPF program from user-space with minimal overhead. sys_enter would seem to be a good candidate, yet in a lot of cases there will be a lot of noise from syscalls triggered by other processes on the system. So while searching for low-overhead alternativ