RK3399: Tune ethernet irq affinity

Handle interrupts of ethernet device on high performance cpus.

/etc/systemd/system/irq-eth0.service

[Unit]
Description=IRQ SMP Affinity
After=network.target

[Service]
Type=oneshot
ExecStart=/usr/bin/bash -c 'echo 4-5 > /proc/irq/31/smp_affinity_list'

[Install]
WantedBy=multi-user.target

Leave a Reply

Your email address will not be published. Required fields are marked *