perfsonar / toolkit

perfSONAR Toolkit distribution environment scripts and GUI
Apache License 2.0
30 stars 6 forks source link

Review NIC settings for VMWare VM #435

Open laeti-tia opened 1 year ago

laeti-tia commented 1 year ago

Following up on #432, it seems like we need to review the system settings we use to tune the system to see if they should apply to VM as well.

One of the proposals is to remove the coalescing parameters depending on the driver:

if [ "${RX_FRAMES-unset}" = "unset" ]; then
    DRIVER=$(ethtool -i $1 | sed -n 's/^driver: //p')
    case $DRIVER in
        igb) RX_FRAMES=;  RX_USECS=1;;
        tg3) RX_FRAMES=1; RX_USECS=1;;
          *) RX_FRAMES=1; RX_USECS=0;;
    esac
fi

and add the following case:

        vmxnet3) RX_FRAMES=; RX_USECS=;;
igarny commented 1 year ago

So I can confirm that running the ethtool command to configure "frame"-related driver queue settings for a vmxnet3 driver FAILS both on Ubuntu20 and CentOS7 In the end it is the driver that doesn't support such operations