Skip to content

Wrong traffic totals reported by driver to kernel? #9

Description

@ricab

Using this driver for a netgear WDNA 4100, I get an inconsistency between total reported traffic for the interface and the sum of individual packets. I have confirmed the two results with several tools:

  1. the totals of Rx traffic are around a few Kb/s (~6kb)
    • confirmed with /proc/net/dev, dstat, bmw-ng, cbm, iptraf, ifstat, gnome-system-monitor
  2. connection/packet streams don't get anywhere close to that
    • confirmed with netstat, tcpdump, iftop, nethogs, iptraf

For instance, "watch -n 1 'cat /proc/net/dev'" shows the totals constantly increasing (~6Kb/s), while tcpdump shows periods of several seconds without any packet (the few packets that come through being mostly <100kb)

I am therefore let to suspect the driver reports wrong totals to the kernel. Would that make sense to you? Thanks!

(I made a post regarding this on http://unix.stackexchange.com/questions/114803/accounting-for-proc-net-dev-reported-traffic)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions