All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andy Furniss <andyqos@ukfsn.org>
To: "John A. Sullivan III" <jsullivan@opensourcedevel.com>
Cc: "netfilter@vger.kernel.org" <netfilter@vger.kernel.org>
Subject: Re: prio + policing filter on ingress?
Date: Thu, 15 Dec 2011 22:08:51 +0000	[thread overview]
Message-ID: <4EEA6FF3.4020807@ukfsn.org> (raw)
In-Reply-To: <1323984570.8451.305.camel@denise.theartistscloset.com>

John A. Sullivan III wrote:

>> One thing that I recall from when hfsc first came out is that when
>> testing it wouldn't limit bulk if the class wasn't backlogged.
>>
>> For most people if you have enough bandwidth I doubt this is an issue,
>> but at the time I was limiting for a 256kit dsl line with five users.
> I haven't played around with it enough in the lab yet so I'm going
> strictly on the theory.  I believe the class should backlog as soon as
> there is a packet in queue.  An environment where bandwidth is so
> constrained sounds like an ideal place to have separate rt and ls
> curves.

Yea, I believe I did - but then it was a longtime ago. I think the issue 
was that an empty the class would dequeue instantly but the transmission 
time of that now gone packet didn't seem to affect other empty classes 
also receiving a packet. It would probably have only affected further 
packets to the same class.

I did raise it at the time and IIRC the author said that he would have 
to make hfsc even more non work conserving to deal with this case.

My test was a bit contrived I guess.

> The rt curve would allocate and guarantee a small amount of bandwidth to
> each queue. If some of those classes have time sensitive traffic, you
> could define a dilinear rt curve which would help jump those packets in
> front of the others.  Then, with the ls curves, you could allocate spare
> bandwidth.

I'll have to dig out my old tests - I guess I did try to do this - but 
may have failed :-)

> Of course, with five full queues firing
> full sized packets at 256kbit one can expect almost 250ms latency and
> can only guarantee 50 kbits.

I recall that I did manage to set things up so my rt was not delayed by 
more than one bulk packet in the bulks backlogged test.

> Good luck - John

Thanks - I'll need it :-)

Andy.

  reply	other threads:[~2011-12-15 22:08 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-12-12 15:27 prio + policing filter on ingress? Lloyd Standish
2011-12-13 18:25 ` Andrew Beverley
2011-12-13 20:19   ` Lloyd Standish
2011-12-13 21:51     ` Andrew Beverley
2011-12-13 22:53       ` John A. Sullivan III
2011-12-14 20:13         ` Andrew Beverley
2011-12-15 20:48           ` Andy Furniss
2011-12-15 21:29             ` John A. Sullivan III
2011-12-15 22:08               ` Andy Furniss [this message]
2011-12-19  9:53             ` Andrew Beverley
2011-12-19 11:25               ` LARTC mailing list [was: Re: prio + policing filter on ingress?] Niccolò Belli
2011-12-19 17:07                 ` John A. Sullivan III
2011-12-19 17:11                 ` Andrew Beverley
2011-12-19 19:59                   ` LARTC mailing list David Miller
2011-12-19 20:59                     ` Niccolò Belli
2011-12-20 10:45                     ` Andy Furniss

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4EEA6FF3.4020807@ukfsn.org \
    --to=andyqos@ukfsn.org \
    --cc=jsullivan@opensourcedevel.com \
    --cc=netfilter@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.