Skip to content

Latest commit

 

History

History
53 lines (39 loc) · 721 Bytes

README.tmplt.md

File metadata and controls

53 lines (39 loc) · 721 Bytes

CPU (lscpu)

lscpu
lscpu -p

Network devices (ethtool)

devices=( eth1 eth2 eth3 )
for dev in "${devices[@]}"; do
  echo "## $dev"
  ethtool -i $dev
  ethtool -g $dev
  ethtool -l $dev
done

Before and after

Before tuning

network-top --no-clear -n 1

Commands

Replace this example with command you've run on your server and delete this line.

# eth0 just receiving traffic
rss-ladder eth0
rx-buffers-increase eth0

# eth1 and eth2 have only single queue, but they are doing forwarding
for dev in eth1 eth2; do
  for tune in autorps autoxps; do
    $tune --cpu-mask=fc0 $dev
  done
done

After tuning

network-top --no-clear -n 1