linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Qdisc drops not being reported to user space
@ 2002-10-17 10:29 Ravikiran G Thirumalai
  0 siblings, 0 replies; only message in thread
From: Ravikiran G Thirumalai @ 2002-10-17 10:29 UTC (permalink / raw)
  To: netdev; +Cc: linux-kernel

Sometime back, I had posted a patch to report Qdisc drops under /proc/net/dev.
I'd noticed that Qdisc.drops was not being reported for the default queuing
discipline (pfifo_fast).  I was told that my approach mucked SNMP data.
I was also told that prio will be made the default queuing discipline and
pfifo_fast will be done away with. Is this the case even now? will prio
be made the default queuing disc in the 2.5 time frame? If not, any
solution in sight to report Qdisc drops to userland? (I think there is
a kernel patch and a patch for tc from Jamal). I have noticed Qdisc
drops under webserver loads, and heavy tx loads (I used my  proc reporting
patch .. it did not break ifconfig atleast..).  IMO It'd not be right if
packets are being dropped by the kernel (default queuing discipline) and the
unsuspecting admin has no means to find that out.  IMHO It'd also not be fair 
to expect users to use CONFIG_NET_SCH_PRIO and add the prio qdisc before 
using a n/w interface just to be able to make out Qdisc drops.
 
One more thing...IMHO, there must be some documentation somewhere ....
tc man page (which doesn't exist as of now?) or atleast the readme
which should indicate to the user that drops seen from ifconfig
(packets dropped by the adapter) are different from packets dropped from
the qdisc as shown by tc. 
 
Thanks,
Kiran

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-10-17 10:19 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-10-17 10:29 Qdisc drops not being reported to user space Ravikiran G Thirumalai

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).