Skip to content

Commit f5e1baa

Browse files
committed
netstacklat: experiment with disabling nth-filter
name netstacklat_tcp_recv_timestamp - run_time_ns 24383044912 run_cnt 121125888 = 201.30 ns Compared to - nth-2 : 186 ns -> +15 ns - nth-4 : 173 ns -> +28 ns - nth-32 : 157 ns -> +44 ns Signed-off-by: Jesper Dangaard Brouer <hawk@kernel.org>
1 parent 2e7b39f commit f5e1baa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/netstacklat.bpf.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ const __s64 TAI_OFFSET = (37LL * NS_PER_S);
2929
const struct netstacklat_bpf_config user_config = {
3030
.network_ns = 0,
3131
.filter_min_queue_len = 0, /* zero means filter is inactive */
32-
.filter_nth_packet = 4, /* reduce recorded event to every nth packet, use power-of-2 */
32+
.filter_nth_packet = 0, /* reduce recorded event to every nth packet, use power-of-2 */
3333
.filter_pid = false,
3434
.filter_ifindex = true,
3535
.filter_cgroup = true,

0 commit comments

Comments
 (0)