Topics

why bpf output wakeup_events and sample_period is 1?

Hayden Livingston
 

wakeup_events and sample_period is set to 1. what is the reason for this?

Isn't it better if this number is higher so the polling doesn't happen
all the time?

what is "sample_period" if wakeup_events tells kernel to wake up.