﻿# Distinguish NIC hardware errors from socket drops

Keep standard interface errors, driver counters and socket overflow separate; compare aligned deltas without summing overlapping populations.

Author: Retrivium editorial team
Updated: 2026-11-04
Canonical URL: https://retrivium.ai/journal/guide-net-link-counters/
Language: en

A monitoring panel adds interface drops, driver errors and socket overflow into one loss total. Those counters describe different boundaries and may overlap. For a slow artifact transfer or request path, preserve each population separately. Hardware reception errors, packets discarded by the network stack and data lost from a socket queue require different evidence and corrective decisions.

## Identify the counter family

Linux documents standardized interface statistics, protocol-specific statistics and driver-defined statistics as separate sources. Save the interface identity, driver and tool output labels with timestamps. A counter called dropped in one view need not mean the same event as a similarly named driver field. Preserve raw definitions before comparing hosts that use different NIC drivers or collection interfaces.

## Separate physical reception failures

Standard receive-error fields describe categories such as CRC or length problems, while missed reception and generic drops have their own definitions. Driver-specific labels can expose additional hardware detail. A rising receive-error category supports investigating the relevant physical or device boundary. It does not by itself identify a cable as the cause or establish which application requests were affected.

## Keep socket overflow local

The Linux socket interface documents receive-queue overflow information where enabled and supported. That observation concerns the socket's queue, not every frame rejected by the NIC. An application that cannot drain its queue may therefore lose data without a matching physical error. Preserve socket type and semantics: reliable stream delivery and datagram loss do not have identical application consequences.

## Compare deltas without adding blindly

Collect aligned intervals and note resets, interface recreation and device changes. Do not sum a broad error total with its component categories as independent losses. Likewise, translating packet counters into failed inference requests requires a supported relationship; one request can span many packets, and a retry can hide an earlier transport event. Keep packet, byte and request populations explicitly distinct.

## Investigate the matching boundary

Use driver statistics for device hypotheses and application queue observations for consumer hypotheses. Repeat a bounded comparable transfer while retaining useful-work outcomes and the relevant counters. A useful diagnosis narrows where progress was lost. It does not promise that reducing one counter improves model computation or prove end-to-end reliability from a quiet NIC while another layer drops or rejects work.

## Primary references

[Linux Interface Statistics Definitions](https://docs.kernel.org/networking/statistics.html).

[ethtool Driver Settings and Statistics](https://man7.org/linux/man-pages/man8/ethtool.8.html).

[Linux Socket Options and Queue Overflow](https://man7.org/linux/man-pages/man7/socket.7.html).

Related reading: [GPU networking and availability: beyond internet speed](/journal/network-and-uptime/); [GPU, NVMe and NIC contention on a shared PCIe path](/journal/gpu-shared-pcie-root-contention/).
