• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

openconfig / kne / 34278303073
44%

Build:
DEFAULT BRANCH: main
Ran 08 Sep 2026 09:04PM UTC
Jobs 1
Files 62
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

08 Sep 2026 09:02PM UTC coverage: 43.703%. Remained the same
34278303073

push

github

web-flow
[meshnet] Manage system-level kernel and link tunables for packet performance (#734)

* [meshnet] Add system-level kernel and link tunables for packet performance

    Implement kernel sysctl tuning, gRPC stream multiplexing, and persistent TAP device
    packet I/O in meshnetd for high-density, high-throughput network meshes.

    Reason for Change:
    - Default Linux link queue lengths, netdev backlogs, multicast membership limits, and
      strict rp_filter settings cause packet drops during netdev creation bursts and multi-link tests.
    - IPv6 DAD (Duplicate Address Detection) and Router Solicitations introduce 1-2s readiness
      delays per netdev when launching virtual topologies.

    Key Changes:
    - System & Kernel Tuning (`utils/wireutil/sys_tune.go`):
      - Sets `RLIMIT_NOFILE` to 1,048,576 open file descriptors.
      - Sets `netdev_max_backlog` to 10,000 for device queue bursts.
      - Sets OS send/recv max & default buffers (`rmem_max`, `wmem_max`, `rmem_default`, `wmem_default`) to 16 MB.
      - Sets ARP/neighbor GC thresholds (`gc_thresh1`=1024, `gc_thresh2`=4096, `gc_thresh3`=8192).
      - Sets `igmp_max_memberships` to 10,000 and `mld_max_msf` to 4,096 to prevent multicast group netdev drops.
      - Sets `rp_filter` to 2 (Loose mode) to allow asymmetric routing across multi-link meshes.
      - Disables IPv6 DAD (`accept_dad`=0) and RS floods (`router_solicitations`=0) for instant link readiness.
      - Sets `ipv6/route/max_size` to 1,048,576 for large routing tables.
      - Configured link `txqueuelen` (default 10,000) across TAP, vEth, and vxLAN interface creation.
      - All tunables are overridable via environment variables without recompilation.

   Environment Variable          │ Default Value                 │ Configures
  ───────────────────────────────┼───────────────────────────────┼─────────────────────────────────────────────────────
   LINK_TXQUEUELEN               │ 10000                         │ Interfa... (continued)

5809 of 13292 relevant lines covered (43.7%)

0.5 hits per line

Subprojects
ID Flag name Job ID Ran Files Coverage
1 /jobs/187570044 34278303073.1 08 Sep 2026 09:04PM UTC 62
43.7
GitHub Action Run
Source Files on build 34278303073
  • Tree
  • List 62
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 5c858dcc on github
  • Prev Build on main (#34270796944)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc