* [Codel] How to make a bufferbloat fairqueue with tc qdisc
@ 2013-12-05 19:52 Dong Mo
2013-12-05 20:36 ` Anirudh Sivaraman
0 siblings, 1 reply; 3+ messages in thread
From: Dong Mo @ 2013-12-05 19:52 UTC (permalink / raw)
To: codel
[-- Attachment #1: Type: text/plain, Size: 777 bytes --]
Dear List,
I am trying to make a bufferbloat fairqueue with qdisc and compare that
with fq_codel.
However, I am now having some hard time doing it.
The commands I am using are:
tc qdisc add dev $IFACE root handle 1: htb default 1
tc class add dev $IFACE parent 1: classid 1:1 htb rate 40mbit
tc qdisc del dev eth4 parent 1:1 handle 10: sfq perturb 10
And sending packet from the sender, where sfq qdisc is set, to the
receiver, the queuing delay is quite small and is approximately the same as
when fq_codel enabled.
However, if I am not using sfq (only htb set), and send only one flow over
this link, the delay will explode again.
So is sfq here cut off the queue length somehow? How should I make a
bufferbloat fair queue on linux box using tc qdisc?
Thanks
-Mo Dong
[-- Attachment #2: Type: text/html, Size: 2207 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Codel] How to make a bufferbloat fairqueue with tc qdisc
2013-12-05 19:52 [Codel] How to make a bufferbloat fairqueue with tc qdisc Dong Mo
@ 2013-12-05 20:36 ` Anirudh Sivaraman
2013-12-05 20:45 ` Dong Mo
0 siblings, 1 reply; 3+ messages in thread
From: Anirudh Sivaraman @ 2013-12-05 20:36 UTC (permalink / raw)
To: Dong Mo; +Cc: codel
On Thu, Dec 5, 2013 at 2:52 PM, Dong Mo <montedong@gmail.com> wrote:
> Dear List,
> I am trying to make a bufferbloat fairqueue with qdisc and compare that with
> fq_codel.
> However, I am now having some hard time doing it.
>
> The commands I am using are:
>
> tc qdisc add dev $IFACE root handle 1: htb default 1
> tc class add dev $IFACE parent 1: classid 1:1 htb rate 40mbit
> tc qdisc del dev eth4 parent 1:1 handle 10: sfq perturb 10
>
> And sending packet from the sender, where sfq qdisc is set, to the receiver,
> the queuing delay is quite small and is approximately the same as when
> fq_codel enabled.
>
> However, if I am not using sfq (only htb set), and send only one flow over
> this link, the delay will explode again.
>
> So is sfq here cut off the queue length somehow? How should I make a
> bufferbloat fair queue on linux box using tc qdisc?
>
You could start with the fq_codel qdisc and set the codel interval and
target parameters to absurdly large values (say 1000 seconds each) to
simulate a qdisc that has fair queuing but almost never drops a
packet.
Anirudh
> Thanks
>
> -Mo Dong
>
> _______________________________________________
> Codel mailing list
> Codel@lists.bufferbloat.net
> https://lists.bufferbloat.net/listinfo/codel
>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Codel] How to make a bufferbloat fairqueue with tc qdisc
2013-12-05 20:36 ` Anirudh Sivaraman
@ 2013-12-05 20:45 ` Dong Mo
0 siblings, 0 replies; 3+ messages in thread
From: Dong Mo @ 2013-12-05 20:45 UTC (permalink / raw)
To: Anirudh Sivaraman; +Cc: codel
[-- Attachment #1: Type: text/plain, Size: 1656 bytes --]
Thanks. I made a wrong observation for the last email that I used ping to
measure the latency of TCP and was expecting to see a latency explode.
So do you know a way to measure the running TCP's packet latency
experienced at the qdisc?
Thanks a lot
-Mo
2013/12/5 Anirudh Sivaraman <sk.anirudh@gmail.com>
> On Thu, Dec 5, 2013 at 2:52 PM, Dong Mo <montedong@gmail.com> wrote:
> > Dear List,
> > I am trying to make a bufferbloat fairqueue with qdisc and compare that
> with
> > fq_codel.
> > However, I am now having some hard time doing it.
> >
> > The commands I am using are:
> >
> > tc qdisc add dev $IFACE root handle 1: htb default 1
> > tc class add dev $IFACE parent 1: classid 1:1 htb rate 40mbit
> > tc qdisc del dev eth4 parent 1:1 handle 10: sfq perturb 10
> >
> > And sending packet from the sender, where sfq qdisc is set, to the
> receiver,
> > the queuing delay is quite small and is approximately the same as when
> > fq_codel enabled.
> >
> > However, if I am not using sfq (only htb set), and send only one flow
> over
> > this link, the delay will explode again.
> >
> > So is sfq here cut off the queue length somehow? How should I make a
> > bufferbloat fair queue on linux box using tc qdisc?
> >
>
> You could start with the fq_codel qdisc and set the codel interval and
> target parameters to absurdly large values (say 1000 seconds each) to
> simulate a qdisc that has fair queuing but almost never drops a
> packet.
>
> Anirudh
>
> > Thanks
> >
> > -Mo Dong
> >
> > _______________________________________________
> > Codel mailing list
> > Codel@lists.bufferbloat.net
> > https://lists.bufferbloat.net/listinfo/codel
> >
>
[-- Attachment #2: Type: text/html, Size: 2457 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2013-12-05 20:45 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-12-05 19:52 [Codel] How to make a bufferbloat fairqueue with tc qdisc Dong Mo
2013-12-05 20:36 ` Anirudh Sivaraman
2013-12-05 20:45 ` Dong Mo
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox