All of lore.kernel.org
 help / color / mirror / Atom feed
* [LARTC] Determing the pfifo backlog
@ 2005-01-23  5:22 Ioannis C Avramopoulos (iavramop@Princeton.EDU)
  2005-01-23  8:26 ` vincent perrier
  0 siblings, 1 reply; 2+ messages in thread
From: Ioannis C Avramopoulos (iavramop@Princeton.EDU) @ 2005-01-23  5:22 UTC (permalink / raw)
  To: lartc


Greetings --

in the "Linux Advanced Routing & Traffic Control HOWTO"
chapter 14.1 on bfifo/pfifo it says that:
"you can use this qdisc to determine the backlog on your interface".
But it does not say exactly how.

Command [#tc -s qdisc ls] outputs the number of packets sent so far
but it does not output any info about the backlog.

My first question is whether a command exists that provides info
about the backlog.

My second question is whether a system call exists that provides this
info. I would like to be able to query on the backlog at real time
and invoking the shell on each such query sounds like a lot of overhead.

Kind regards,
Yannis

_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [LARTC] Determing the pfifo backlog
  2005-01-23  5:22 [LARTC] Determing the pfifo backlog Ioannis C Avramopoulos (iavramop@Princeton.EDU)
@ 2005-01-23  8:26 ` vincent perrier
  0 siblings, 0 replies; 2+ messages in thread
From: vincent perrier @ 2005-01-23  8:26 UTC (permalink / raw)
  To: lartc


> My first question is whether a command exists that provides info
> about the backlog.
> 
> My second question is whether a system call exists that provides this
> info. I would like to be able to query on the backlog at real time
> and invoking the shell on each such query sounds like a lot of overhead.

If you can compile a modified kernel, you can have real time access
to the red qdisc backlog by using the soft at http://www.rawsoft.org
I also think that real time info on the queues are very important
and should be accessible in an easier way.

_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-01-23  8:26 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-01-23  5:22 [LARTC] Determing the pfifo backlog Ioannis C Avramopoulos (iavramop@Princeton.EDU)
2005-01-23  8:26 ` vincent perrier

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.