kernelnewbies.kernelnewbies.org archive mirror
 help / color / mirror / Atom feed
* how to periodically monitor the qdisc size ?
@ 2016-12-28  7:16 Shiyao Ma
  2016-12-29 13:49 ` Anton Danilov
       [not found] ` <175748.1483036132@turing-police.cc.vt.edu>
  0 siblings, 2 replies; 4+ messages in thread
From: Shiyao Ma @ 2016-12-28  7:16 UTC (permalink / raw)
  To: kernelnewbies

Hi,

I am using the RED qdsic.

I want to see how many skbuffs are in the red qdisc, and the total bytes of
the skbuffs, like in every 2 seconds.


Regards
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20161228/2a23305d/attachment.html 

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

* how to periodically monitor the qdisc size ?
  2016-12-28  7:16 how to periodically monitor the qdisc size ? Shiyao Ma
@ 2016-12-29 13:49 ` Anton Danilov
  2016-12-29 15:04   ` Shiyao Ma
       [not found] ` <175748.1483036132@turing-police.cc.vt.edu>
  1 sibling, 1 reply; 4+ messages in thread
From: Anton Danilov @ 2016-12-29 13:49 UTC (permalink / raw)
  To: kernelnewbies

Hi.
You can use 'tc -s qdisc list dev <iface>' and check the 'backlog' line -
it's current queue status.


2016-12-28 10:16 GMT+03:00 Shiyao Ma <i@introo.me>:

> Hi,
>
> I am using the RED qdsic.
>
> I want to see how many skbuffs are in the red qdisc, and the total bytes
> of the skbuffs, like in every 2 seconds.
>
>
> Regards
>
> _______________________________________________
> Kernelnewbies mailing list
> Kernelnewbies at kernelnewbies.org
> https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
>
>


-- 
Anton.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20161229/d711f949/attachment.html 

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

* how to periodically monitor the qdisc size ?
  2016-12-29 13:49 ` Anton Danilov
@ 2016-12-29 15:04   ` Shiyao Ma
  0 siblings, 0 replies; 4+ messages in thread
From: Shiyao Ma @ 2016-12-29 15:04 UTC (permalink / raw)
  To: kernelnewbies

Hi Anton,

Thanks for your reply.  Now problem solved.

A minor question is, is there any official documentation on the entry
meaning, such as `backlog' ?
I checked the related manpage, but found none.
Or indeed, tc is not thoroughly documented, and one has to check unofficial
web blogs?

(BTW, I grepped the iproute2 source, and then found this
file: iproute2-4.9.0/include/linux/gen_stats.h  which helps to explains
what `backlog' is.).




On Thu, Dec 29, 2016 at 9:49 PM, Anton Danilov <littlesmilingcloud@gmail.com
> wrote:

> Hi.
> You can use 'tc -s qdisc list dev <iface>' and check the 'backlog' line -
> it's current queue status.
>
>
> 2016-12-28 10:16 GMT+03:00 Shiyao Ma <i@introo.me>:
>
>> Hi,
>>
>> I am using the RED qdsic.
>>
>> I want to see how many skbuffs are in the red qdisc, and the total bytes
>> of the skbuffs, like in every 2 seconds.
>>
>>
>> Regards
>>
>> _______________________________________________
>> Kernelnewbies mailing list
>> Kernelnewbies at kernelnewbies.org
>> https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
>>
>>
>
>
> --
> Anton.
>



-- 

????????????????https://introo.me <http://introo.me>?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20161229/027ede3a/attachment.html 

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

* how to periodically monitor the qdisc size ?
       [not found] ` <175748.1483036132@turing-police.cc.vt.edu>
@ 2016-12-29 23:27   ` Shiyao Ma
  0 siblings, 0 replies; 4+ messages in thread
From: Shiyao Ma @ 2016-12-29 23:27 UTC (permalink / raw)
  To: kernelnewbies

Hi Valdis,

I am in the process of doing an emulation of a dumbbell topology,  on my
linux box.


> > I am using the RED qdsic.
>
> You have our condolences.  RED is probably not the best choice of
> qdisc, because it requires very careful tuning of multiple parameters.
>

I am using RED for the part of emulating a switch.  Since most switches are
use AQM of RED/ECN.



>
> You might want to investigate using fq_codel, or for very new
> kernels, use the fq qdisc and the bbr congestion control method.
>


Yes. For the sending side,  I am already using fq+bbr.



-- 

????????????????https://introo.me <http://introo.me>?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20161230/fa4c6b3c/attachment.html 

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

end of thread, other threads:[~2016-12-29 23:27 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-12-28  7:16 how to periodically monitor the qdisc size ? Shiyao Ma
2016-12-29 13:49 ` Anton Danilov
2016-12-29 15:04   ` Shiyao Ma
     [not found] ` <175748.1483036132@turing-police.cc.vt.edu>
2016-12-29 23:27   ` Shiyao Ma

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).