BPFTUNE-IP-FRAG(8)

✨ BPFTUNE-IP-FRAG ✨

okay bestie so this is the IP fragmentation plugin for bpftune, living in section 8 of the System Manager's Manual πŸ’… and it's here to babysit your fragment reassembly memory limits. that's the whole vibe. let's get into it 🫢


πŸ’– NAME πŸ’–

BPFTUNE-IP-FRAG β€” the IP fragmentation bpftune plugin that handles fragment reassembly memory limits πŸ‘‘


🌸 DESCRIPTION 🌸

So for IPv[46] fragmentation reassembly, your memory is capped at:

net.ipv[46].ip[6]frag_high_thresh

and like… if that value is set too low, fragmentation reassembly can just fail 😭. so the move is: keep an eye on your fragmentation reassembly, and bump that value up when you need to 🫢.

BUT WAIT β€” do not just start bumping if your assembly failures are correlated with increases in frag_high_thresh. that correlation is lowkey telling you that throwing more memory at the problem does not help πŸ™ˆ. so while that correlation stays high, you should tune the frag_high_thresh value down instead. periodt πŸ’…

πŸŽ€ Tunables πŸŽ€

  • net.ipv4.ipfrag_high_thresh β€” how many bytes get devoted to IPv4 fragmentation reassembly; default is 4MB πŸ’–
  • net.ipv6.ip6frag_high_thresh β€” how many bytes get devoted to IPv6 fragmentation reassembly; default is 4MB πŸ’–

πŸ¦‹ SEE ALSO πŸ¦‹


and that's a wrap bestie πŸŽ€ this iconic lil page comes to you straight from the System Manager's Manual, tagged BPFTUNE-IP-FRAG(8) β€” no cap, go forth and tune your frags responsibly πŸ’œπŸ«Άβœ¨

πŸ“¦ where this page comes from