Unable to turn on Receive Packet Steering for Amazon Linux on EC2?

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?


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:

  1. Run the entire command under root prompt


  1. Run

    echo f|sudo tee /sys/class/net/eth0/queues/rx-0/rps_cpus

1 Like

Thanks for pointing out the problem. Your solution works!