public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Alexey Kuznetsov <kuznet@ms2.inr.ac.ru>
To: samudrala@us.ibm.COM (Sridhar Samudrala)
Cc: thiemo@sics.se, dmfreim@us.ibm.COM, alan@lxorguk.ukuu.org.uk,
	linux-kernel@vger.kernel.org, linux-net@vger.kernel.org,
	lartc@mailman.ds9a.nl, diffserv-general@lists.sourceforge.net,
	rusty@rustcorp.com.au
Subject: Re: [PATCH] Inbound Connection Control mechanism: Prioritized Accept
Date: Wed, 1 Aug 2001 03:22:45 -2000 (MSD)	[thread overview]
Message-ID: <200107312322.DAA00541@mops.inr.ac.ru> (raw)
In-Reply-To: <Pine.LNX.4.21.0107300035490.22748-100000@w-sridhar2.des.sequent.com> from "Sridhar Samudrala" at Jul 30, 1 00:40:43 am

Hello!

> I am not sure how much overhead is involved in maintaining the the no. of
> slots left for each priority class. Also what should be the ratio of slots 
> that need to reserved for each class? 

It is an experimental value like total size of accept queue,
which is also unknown apriori. No differences.


> Do you think that the existing PAQ patch with SYN policing is a reasonable
> way for prioritizing incoming connection requests?

I still did not look at this patch, I have just got some url from netdev.
(that blamed by Jamal. :-) Guys, tell your managers they should reserve
a bit of money for admins to replace bogus firewalls. ibm site is really
not accessible, it is not a joke. :-)). I will look at it tonight.


> Preempting existing low priority connections in acceptq with high priority 
> ones may not be good idea as we need to abort them by sending a RST.

Of course. It is _very_ bad idea. :-)

Actually, true preemption can be relaized here with moving socket
back to SYN-RECV state, converting it to open_request. We just pretend
that we did not receive ACK, it is fully legal. 

But in this case we also have room for effective preemption,
stopping process SYN_RECV->ESTABLISHED for low priorities.
I.e. exactly, which SYN policing makes.

Alexey

  reply	other threads:[~2001-08-01 16:54 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-07-27 17:10 [PATCH] Inbound Connection Control mechanism: Prioritized Accept Queue Sridhar Samudrala
2001-07-27 17:25 ` [PATCH] Inbound Connection Control mechanism: Prioritized Accept Alan Cox
2001-07-27 18:01   ` Sridhar Samudrala
2001-07-27 18:07     ` Alan Cox
2001-07-27 18:04   ` kuznet
2001-07-27 19:55     ` Sridhar Samudrala
2001-07-28 19:12       ` kuznet
2001-07-28 20:01         ` Thiemo Voigt
2001-07-29 16:25           ` kuznet
2001-07-30  7:40             ` Sridhar Samudrala
2001-08-01 23:22               ` Alexey Kuznetsov [this message]
2001-08-02 17:17                 ` Sridhar Samudrala
2001-08-02 22:31                   ` Alexey Kuznetsov

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=200107312322.DAA00541@mops.inr.ac.ru \
    --to=kuznet@ms2.inr.ac.ru \
    --cc=alan@lxorguk.ukuu.org.uk \
    --cc=diffserv-general@lists.sourceforge.net \
    --cc=dmfreim@us.ibm.COM \
    --cc=lartc@mailman.ds9a.nl \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-net@vger.kernel.org \
    --cc=rusty@rustcorp.com.au \
    --cc=samudrala@us.ibm.COM \
    --cc=thiemo@sics.se \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox