Speed on Raspberry Pi 4

Roman Mamedov rm at romanrm.net
Thu Jul 18 08:56:14 CEST 2019

On Thu, 18 Jul 2019 08:38:54 +0200
Janne Johansson <icepic.dz at gmail.com> wrote:

> With taskset you should be able to:
> https://www.howtoforge.com/linux-taskset-command/

It appears "taskset" only works on regular programs, not kernel threads:

# taskset -p -c 1 2128
pid 2128's current affinity list: 0
taskset: failed to set pid 2128's affinity: Invalid argument

# taskset -p -c 1 2129
pid 2129's current affinity list: 1
taskset: failed to set pid 2129's affinity: Invalid argument

As the above shows, WG threads are already bound to a particular CPU and this
can't be changed.

With respect,

More information about the WireGuard mailing list