Category: Computers and Hardware
after installing the driver run this to check that it is the right one being used:
sudo lspci -v
under Realtek controller check Kernel driver in use, it should be r8168. (see attached screenshot)
to avoid problems i suggest to blacklist the r6169 driver completely in grub by adding: modprobe.blacklist=r8169
or, since your pc looks similar to mine you can add the whole my line to /etc/default/grub which through trial and error i found the most stable:
GRUB_CMDLINE_LINUX="irqaffinity=0-1 kthread_cpus=0-1 isolcpus=domain,managed_irq,2-3 rcu_nocb_poll pcie_aspm=off r8168.aspm=0 r8168.eee_enable=0 modprobe.blacklist=r8169,mei_txe"
don't worry it will not kill your pc it just rebalance your cores to do different things.
dont forget to run "sudo update-grub" to update grub configuration otherwise you won't see any changes after restart.
also check sudo dmesg for any errors during boot.
having 1.2ms ping once in a blue moon won't kill you. i suggest to add "grep -v time=0." to see how many actual pings you got over 1ms.
i normally run something like this:
sudo chrt 99 ping -i 0.001 -q 10.10.10.10 -c 1800000 | grep -v time=0.
this will run ping for 30 minutes with 1ms pings and only show you the pings that took longer then 0.999 ms.
if you see only one or two 1.2 ms in 30 minutes it is not a problem, 8ms is super bad though.
have fun!