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

openconfig / kne / 30672412409
42%
main: 42%

Build:
Build:
LAST BUILD BRANCH: meshnet-tunables
DEFAULT BRANCH: main
Ran 31 Jul 2026 11:18PM 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

31 Jul 2026 10:54PM UTC coverage: 42.141%. Remained the same
30672412409

Pull #734

github

kraney
[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                         │ Interface txqueuelen for TAP, vEth, and vxLAN links
   RLIMIT_NOFILE                 │ 1048576 ... (continued)
Pull Request #734: [meshnet] Manage system-level kernel and link tunables for packet performance

5402 of 12819 relevant lines covered (42.14%)

0.48 hits per line

Subprojects
ID Flag name Job ID Ran Files Coverage
1 /jobs/185508026 30672412409.1 31 Jul 2026 11:18PM UTC 62
42.14
GitHub Action Run
Source Files on build 30672412409
  • Tree
  • List 62
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #734
  • PR Base - main (#30644592375)
  • 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