netdev
[Top] [All Lists]

Re: RFC: per-socket statistics on received/dropped packets

To: "David S. Miller" <davem@xxxxxxxxxx>
Subject: Re: RFC: per-socket statistics on received/dropped packets
From: jamal <hadi@xxxxxxxxxx>
Date: Mon, 10 Jun 2002 08:24:44 -0400 (EDT)
Cc: <ltd@xxxxxxxxx>, <greearb@xxxxxxxxxxxxxxx>, <mark@xxxxxxxxxxxxxx>, <cfriesen@xxxxxxxxxxxxxxxxxx>, <linux-kernel@xxxxxxxxxxxxxxx>, <netdev@xxxxxxxxxxx>
In-reply-to: <20020610.051857.97850707.davem@xxxxxxxxxx>
Sender: owner-netdev@xxxxxxxxxxx

On Mon, 10 Jun 2002, David S. Miller wrote:

>    From: Lincoln Dale <ltd@xxxxxxxxx>
>    Date: Mon, 10 Jun 2002 22:03:25 +1000
>
>    would you be willing to accept a patch that enables per-socket
>    accounting with a CONFIG_ option?
>
> What is the point?
>
> If all the dists will enable it then everybody eats the overhead.
> If the dists don't enable it, how useful is it and what's so wrong
> with it being an external patch people just apply when they need to
> diagnose something like this?
>

I think i would agree with Dave for it to be an external patch. You
really only need this during debugging. I had a similar patch when
debugging NAPI about a year ago. I didnt find it that useful after
a while because i could deduce the losses from SNMP/netstat output.

cheers,
jamal



<Prev in Thread] Current Thread [Next in Thread>