From: Martin Devera <devik@cdi.cz>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] Re: More on qdiscs - about dangling backlogs
Date: Tue, 07 May 2002 07:57:57 +0000 [thread overview]
Message-ID: <marc-lartc-102075837410845@msgid-missing> (raw)
In-Reply-To: <marc-lartc-102058802801083@msgid-missing>
> I have an SFQ with max queue size 128 and very low rate, say about
> 1 packet/sec that I use to limit the rate of SYN's.
> Now as part of a test I send a syn flood, say 200 packets in one
> second. In that first second SFQ drops 200-128 but the time limit
> won't drop any more on enqueue. Now we're sending one packet/sec
> and I try to open a tcp connection.
> Suppose the age limit is 5 sec. and we drop on enqueue only.
> If I try to open the tcp connection 3 sec after the flood, none of the
> 124 or so packets in the queue has expired and it's going to take 2
> min. for my syn to get through. Whereas, if dequeue drops expired
> packets then I can get through in 2 sec.
Nice example :)
And it also shown that you want to drop at both enqueue & dequeue.
At enqueue because there is much higher rate of flood enqueues which
will keep your sfq full until next dequeue (which drains all oldies).
OTOH only after some time the packet will be old. So that checking
too often will not allow to drop anything ...
Probably testing is only way to go ..
devik
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
next prev parent reply other threads:[~2002-05-07 7:57 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-05-05 8:39 [LARTC] Re: More on qdiscs - about dangling backlogs Martin Devera
2002-05-06 0:23 ` Don Cohen
2002-05-06 21:31 ` Martin Devera
2002-05-06 23:48 ` Don Cohen
2002-05-07 2:11 ` Patrick McHardy
2002-05-07 5:11 ` Don Cohen
2002-05-07 7:29 ` Martin Devera
2002-05-07 7:50 ` Martin Devera
2002-05-07 7:57 ` Martin Devera [this message]
2002-05-07 18:22 ` Don Cohen
2002-05-07 18:45 ` Patrick McHardy
2002-05-07 19:20 ` Don Cohen
2002-05-09 11:53 ` Martin Devera
2002-05-09 13:46 ` Don Cohen
2002-05-09 14:43 ` Martin Devera
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-102075837410845@msgid-missing \
--to=devik@cdi.cz \
--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.