As described in this doc
I tries to turn on RPS, however I got permission denied error:
sudo echo “f” > /sys/class/net/eth0/queues/rx-0/rps_cpus
-bash: /sys/class/net/eth0/queues/rx-0/rps_cpus: Permission denied
Anything I missed here?
Thanks.
As described in this doc
I tries to turn on RPS, however I got permission denied error:
sudo echo “f” > /sys/class/net/eth0/queues/rx-0/rps_cpus
-bash: /sys/class/net/eth0/queues/rx-0/rps_cpus: Permission denied
Anything I missed here?
Thanks.
Hi Iming,
The sudo of your command goes only to the echo part, not to the redirection part, hence the error.
The two ways to solve the problem are:
or
Run
echo f|sudo tee /sys/class/net/eth0/queues/rx-0/rps_cpus
Thanks for pointing out the problem. Your solution works!