Skip to contentSkip to conversation

Determing the pfifo backlog

LARTC Ioannis C Avramopoulos ([email protected]) 2 participants 2 messages Jan 23, 2005

lore
Share & tools
lore
#0 lore raw

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 / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

#1 lore raw
Quoted 7 lines

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 / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/