By using AWS re:Post, you agree to the AWS re:Post Terms of Use

ethtool not giving conntrack_allowance_available metric

0

I am using a r6a.large EC2 with Ubuntu as OS. my 'ethtool' command does not produce the 'conntrack_allowance_availale' metric output , as I checked the documentation it says the metric is supported by any instance type that runs on Nitro. the below is the ethtool commend output, it has all the 'exceeded' metrics but not the 'available' one. Am I missing something here?

ethtool -i ens5 driver: ena version: 6.8.0-1015-aws firmware-version: expansion-rom-version: bus-info: 0000:00:05.0 supports-statistics: yes supports-test: no supports-eeprom-access: no supports-register-dump: no supports-priv-flags: no

ethtool --version ethtool version 5.16

Ubuntu version - 22

ethtool -S ens5 | head -30 NIC statistics: tx_timeout: 0 suspend: 0 resume: 0 wd_expired: 0 interface_up: 2 interface_down: 1 admin_q_pause: 0 bw_in_allowance_exceeded: 0 bw_out_allowance_exceeded: 0 pps_allowance_exceeded: 0 conntrack_allowance_exceeded: 0 linklocal_allowance_exceeded: 0

1 Answer
-1

Based on the information provided, it appears that you are indeed missing the 'conntrack_allowance_available' metric in your ethtool output. This could be due to a few reasons:

  1. ENA Driver Version: The 'conntrack_allowance_available' metric is supported in ENA driver version 2.8.1 or later. While your instance is using the ENA driver, the version shown (6.8.0-1015-aws) is actually the kernel version, not the ENA driver version. You may need to update your ENA driver to a more recent version to see this metric.

  2. Instance Type: Although you're using an r6a.large instance which is a Nitro-based instance type, some metrics may not be available on all Nitro instances.

  3. Operating System: The availability of certain metrics can also depend on the specific Ubuntu version you're using.

To troubleshoot this issue:

  1. Check your actual ENA driver version using the command: ethtool -i ens5 | grep version

  2. If the ENA driver version is below 2.8.1, consider updating it to the latest version.

  3. Ensure that you have the latest version of ethtool installed.

  4. After updating, reboot your instance and check again.

If after these steps you still don't see the 'conntrack_allowance_available' metric, it's possible that this specific metric may not be supported on your particular instance type or OS configuration. In that case, you may need to contact AWS support for further clarification on the availability of this metric for your specific setup.
Sources
Monitor network performance for ENA settings on your EC2 instance - Amazon Elastic Compute Cloud
Troubleshoot EC2 Linux instance metadata retrieval | AWS re:Post

profile picture
answered 2 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions