All of lore.kernel.org
 help / color / mirror / Atom feed
From: Wang Jian <lark@linux.net.cn>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] new perflow rate control queue
Date: Wed, 06 Apr 2005 04:17:28 +0000	[thread overview]
Message-ID: <20050406120925.025E.LARK@linux.net.cn> (raw)
In-Reply-To: <20050404152117.6d90635d.lark@linux.net.cn>

Hi Andy Furniss,



On Tue, 05 Apr 2005 23:40:54 +0100, Andy Furniss <andy.furniss@dsl.pipex.com> wrote:

> > 
> > Looking forward to your feedback :)
> 
> It works OK for me - though I would really need it to be variable rate 
> to use really - but as you say it's designed for your needs.
> 
> I noticed that it drops icmp so you need to be careful about what you 
> send to it.

I plan to optionally reclassify unhandled traffic to another class if specified.
So a default class may handle it.

> 
> If you limit connections and use them all up then alive but not always 
> active connections will get locked out - there is a netfilter connection 
> limit already.
> 
> As you say above it's not always fair - I didn't test that much it 
> seemed OK apart from if htb limited it ie.
> 
> htb rate higher than sum of rates but less than sum of ceils made it 
> unfair to a flow with smaller packet size.

Yes. I also think that low rate or small packet size stream will have problem.
I didn't test that case yet. 

I read back your post and I think the best solution for you is use HTB +
PRIO.

Let interactive but low rate traffic have highest priority, and let bulk
transfer have lowest priority and constrain them using HTB.

TCP itself has some fairness: slower stream get faster, and faster
stream get slower. The sliding window is for this.



-- 
  lark

_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

  parent reply	other threads:[~2005-04-06  4:17 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-04-04  7:21 [LARTC] new perflow rate control queue Wang Jian
2005-04-04  8:51 ` Patrick McHardy
2005-04-04  9:10 ` Wang Jian
2005-04-04 11:42 ` Andy Furniss
2005-04-04 13:53 ` Wang Jian
2005-04-04 14:39 ` Wang Jian
2005-04-04 15:10 ` Andy Furniss
2005-04-04 15:23 ` Andy Furniss
2005-04-04 15:57 ` Wang Jian
2005-04-05 22:40 ` Andy Furniss
2005-04-06  4:17 ` Wang Jian [this message]
2005-04-06 12:29 ` Andy Furniss
2005-04-06 12:48 ` Wang Jian

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=20050406120925.025E.LARK@linux.net.cn \
    --to=lark@linux.net.cn \
    --cc=lartc@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.