Re: [PATCH] Inbound Connection Control mechanism: Prioritized Accept

From: Alan Cox (alan@lxorguk.ukuu.org.uk)
Date: Fri Jul 27 2001 - 13:07:40 EST


> There are couple of reasons why prioritization in kernel works better than at
> user level.
> * The kernel mechanisms are more efficient and scalable than the user space
> mechanism. Non compliant connection requests are discarded earlier reducing the
> queuing time of the compliant requests, in particular less CPU is consumed and
> the context switch to userspace is avoided.

Im not sure this is that true. I just added a user space implementation to
thttpd to favour one network range and close under load on others to keep
capacity there. Its a ten minute hack, and Im still seeing the same 1400
hits per second or so I was before.

Alan
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue Jul 31 2001 - 21:00:34 EST