Skip to content

Arena#427

Merged
thiagoftsm merged 11 commits intonetdata:masterfrom
thiagoftsm:arena
May 4, 2026
Merged

Arena#427
thiagoftsm merged 11 commits intonetdata:masterfrom
thiagoftsm:arena

Conversation

@thiagoftsm
Copy link
Copy Markdown
Contributor

@thiagoftsm thiagoftsm commented Apr 30, 2026

Summary

Bring zero copy using arena for kernels newer than 6.9.

Test Plan
  1. Get binaries according to your C library from [this](ADD ACTIONS LINK HERE) link and extract them inside a directory, for example: ../artifacts.
    You can also get everything for glibc [here](UPLOAD FILE WITH ALL BINARIES TO SIMPLIFY REVIEWERS).

  2. Extract them running:

    $ for i in `ls *.zip`; do unzip $i; rm .gitkeep ; rm $i; done
    $ for i in `ls *.tar`; do tar -xf $i; rm $i* ; done
  3. Compile branch an run the following tests:

    # make clean; make tester
    # for i in `seq 0 3`; do ./tests/legacy_test --netdata-path ../artifacts --arena --content --iteration 1 --pid $i --log-path file_c_pid$i.txt; done
    # for i in `seq 0 3`; do ./gotests/go_tester --netdata-path ../artifacts --arena --content --iteration 1 --pid $i --log-path file_go_pid$i.txt; done
  4. Every test should ends with Success, unless you do not have a specific target (function) available.

Additional information

This PR was tested on:

Linux Distribution Environment Kernel Version
Slackware current Bare metal 6.18.25
Arch Linux VM 7.0.3-arch1-1
Debian 12 VM 6.12.74+deb13
Ubuntu 24.04 VM 6.8.0-110
Slackware current VM 5.15.203
Alma 9 VM 5.14.0-611
Slackware current VM 5.10.253
Slackware current VM 5.4.302
Alma 8 VM 4.18

@thiagoftsm thiagoftsm marked this pull request as ready for review May 3, 2026 01:27
@thiagoftsm thiagoftsm requested a review from Ferroin as a code owner May 3, 2026 01:27
@thiagoftsm thiagoftsm merged commit 507519b into netdata:master May 4, 2026
40 checks passed
@thiagoftsm thiagoftsm deleted the arena branch May 4, 2026 12:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant