[systemd-devel] Configure netdev RPS using systemd-networkd
Lennart Poettering
lennart at poettering.net
Mon Dec 4 09:25:05 UTC 2023
On Mo, 04.12.23 14:59, Renjaya Raga Zenta (ragazenta at gmail.com) wrote:
> Hi,
>
> We want to implement our networking using systemd-networkd. We think
> systemd is stable enough right now, so we want to try more "systemd-only"
> solution.
>
> In our environment, we use RPS (Receive Packet Steering) for load balancing
> and scaling. It's a kernel feature implemented a long time ago. You could
> visit the documentation at
> https://www.kernel.org/doc/html/latest/networking/scaling.html.
>
> Currently, we manually do this after network interface is configured:
>
> echo f > /sys/class/net/eth0/queues/rx-0/rps_cpus
>
> where f is bitmap mask 1111, it means to utilize 4 cpus.
>
> Will this use case be implemented in systemd-networkd? Or should we use a
> third party solution such as networkd-broker or networkd-dispatcher?
I see no reason why we wouldn't add a high-level option for this to
.link files.
We are happy to review/merge a patch. Please submit via GitHub.
Lennart
--
Lennart Poettering, Berlin
More information about the systemd-devel
mailing list