Skip to content

Data may be lost during transfer in eBpf #291

Answered by cfc4n
WhatDaniel asked this question in Q&A
Discussion options

You must be logged in to vote
  1. Filter and reduce the amount of data written from kernel space.
  2. Increase the buffer size of ebpf map. like rd, err := perf.NewReader(em, os.Getpagesize()*64) via
    rd, err := perf.NewReader(em, os.Getpagesize()*64)
  3. Speed up the consumption rate in user space.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by cfc4n
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants