Re: Query in Linux queuing discipline implementation



Shri wrote:
Hi All,

I have implemented a new queuing discipline in Linux kernel (as module
in net/sched) and I want to test that. However, no matter what kind of
network flows I run, the queue size never seems to build up even with
default pfifo implementation. Here are the things that I tried.

There is a buffer to fill before the root qdisc gets backlogged.
For me using real 100mbit it's about 300 packets - if your nic is gig then I guess it will be bigger.
The default linux qdisc is pfifo_fast which is 3 band prio.
Gig nics may also use segmentation offload and their own hw queue which could complicate things.
ethtool can turn off the tso.

Could anyone please provide me with any pointer as to why this
happens? How to test queuing disciplines then?

Make it a child of HTB/TBF/HFSC and use them to ratelimit.

Andy.
.



Relevant Pages

  • Query in Linux queuing discipline implementation
    ... I have implemented a new queuing discipline in Linux kernel (as module ... Queue size never builds up. ... I tried configuring ethernet to run at 10 Mbps with rest of ...
    (comp.os.linux.networking)
  • Kernel module not getting loaded
    ... I am implementing a new queuing discipline in Linux kernel ... net/sched and also modified KConfig and Makefile in the same ... me what I might be missing on? ...
    (comp.os.linux.development.system)