Hi Andrew, Yes, I'm intending to send the VPP patches upstream.
Thanks for the tips on performance testing. Thanks, Rob On Fri, 14 Nov 2025 at 11:33, Andrew Yourtchenko via lists.fd.io <[email protected]> wrote: > > Hi Rob, > > This is very cool! The patches to VPP you intend to upstream ? > > Btw, seeing that the ambition is in the direction of tests, I did some > homework on another dimension of that: https://github.com/ayourtch/oside - > the focus was to balance the developer ergonomics with the performance, so it > is not the fastest thing out there, but hopefully nice to work with. I get > about 1mpps or so on an M1 Mac. > > I would second the idea about performance comparison testing - and especially > framing it “A versus B side by side” can give very interesting use cases - eg > compare the same C plugin before and after optimizations. > > This talk from rustweek this year was very interesting in that regards: > https://youtu.be/6ICvPUc12ck > > --a > > On 14 Nov 2025, at 09:35, Robert Shearman via lists.fd.io > <[email protected]> wrote: > > Hi Damjan, > > I haven't done that yet, but I'll give it a go! > > Thanks, > Rob > > On Thu, 13 Nov 2025 at 12:49, Damjan Marion via lists.fd.io > <[email protected]> wrote: > > > > Hi, > > > have you tried to implement something already existing in C and compare > > performance? > > > I would really like to se apple-to-apple comparison of same functionality in > > C and rust when it comes to high-performance datapath code. > > > Thanks, > > > — > > Damjan > > > > On 12.11.2025., at 13:21, Robert Shearman via lists.fd.io > <[email protected]> wrote: > > > Hi folks, > > > I believe there could be benefits in having the option of writing VPP > > plugins in Rust, so to that end I've created a set of Rust > > crates/packages to make it easier to write plugins, make use of the > > underlying VPP C APIs, and an example feature plugin all of which can > > be found here: > > > https://github.com/rshearman/vpp-plugin-rs/ > > > The goal is to have performance parity with VPP plugins written in C > > (compiling with support for different instruction sets similar to C > > code is already supported, for example), but whilst still feeling like > > Rust code. > > > I'd be interested in feedback from the VPP development community. > > > Thanks, > > -- > > Rob Shearman > > > > > > > > > > > -- > Rob Shearman > > > > > > -- Rob Shearman
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#26522): https://lists.fd.io/g/vpp-dev/message/26522 Mute This Topic: https://lists.fd.io/mt/116254824/21656 Group Owner: [email protected] Unsubscribe: https://lists.fd.io/g/vpp-dev/leave/14379924/21656/631435203/xyzzy [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
