All of lore.kernel.org
 help / color / mirror / Atom feed
From: Patrick McHardy <kaber@trash.net>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] Some questions concerning IPtables (& IMQ/SFQ)
Date: Sat, 04 May 2002 09:09:14 +0000	[thread overview]
Message-ID: <marc-lartc-102050342826809@msgid-missing> (raw)
In-Reply-To: <marc-lartc-102043736815080@msgid-missing>

Hi !
I guess i have to clarify this.

> - From Patricks' IMQ-page:
> ----
> SFQ is very useful as a leaf qdisc. But by default, its internal queue
> length is 128 which is too much for small classes or even for
> not-so-fast links. Changing SFQ_DEPTH in net/sched/ sch_sfq.c to about
> 10-20 results in flows responding much faster to bandwidth changes.
> ----
> 
> Is that ment for SFQ in general or only in conjunction with IMQ?

It was meant in conjunction with IMQ and ingress shaping.
The text is a bit misleading, i'm not sure if it is right.
My thought was:
One connection, 1 mbit rate, avg. pkt size 1480 = ~88pkt/sec.
To fill up entire SFQ_DEPTH of 128 it would take 1.45 seconds.
So if less bandwidth was available for this connection it would take at 
least this long + 1/2 rtt until package drops become noticeable for the 
remote side. This is probably not true as SFQ drops a (not necessary 
the last one!) packet from its longest slot if if queue becomes full.
I had a noticable effect in combination with imq but since then changed
the point at which imq tries to dequeue packets and in the mean time, i'm 
using it without changed SFQ_DEPTH.
I saw the same advice on another page, but like said before, i'm not sure 
if it is true. I'm going to think about it again as soon as my head clears 
up ;)

Bye,
Patrick

_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

      parent reply	other threads:[~2002-05-04  9:09 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-05-03 14:50 [LARTC] Some questions concerning IPtables (& IMQ/SFQ) Nils Lichtenfeld
2002-05-03 15:08 ` Tobias Geiger
2002-05-04  9:09 ` Patrick McHardy [this message]

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=marc-lartc-102050342826809@msgid-missing \
    --to=kaber@trash.net \
    --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.