mwan3: reimplement rpcd plugin using ucode
authorEtienne Champetier <[email protected]>
Fri, 27 Jun 2025 23:18:55 +0000 (19:18 -0400)
committerFlorian Eckert <[email protected]>
Fri, 1 Aug 2025 11:03:01 +0000 (13:03 +0200)
commit6423781254b9f3e52c6102fb2cbcd9f99f2445a3
treea3e7077d3996efc03a9e52c080a6546da047c4c5
parentbfdbacca5688a2704341f572a9677236c8ebffec
mwan3: reimplement rpcd plugin using ucode

On my "test" router (5 wans, 2 tracking ips per wan), before any rework,
prometheus-node-exporter-lua mwan3 average scraping time was 1230ms
(scraping only the interfaces), after optimizing the shell version,
average time was down to 485ms, with ucode we are now at 41ms.

Signed-off-by: Etienne Champetier <[email protected]>
net/mwan3/Makefile
net/mwan3/files/usr/libexec/rpcd/mwan3 [deleted file]
net/mwan3/files/usr/share/rpcd/ucode/mwan3 [new file with mode: 0644]