Ioannis C Avramopoulos (iavramop@Princeton.EDU)
2005-Jan-23 05:22 UTC
Determing the pfifo backlog
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/
> 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/