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

Alan Cox (alan@lxorguk.ukuu.org.uk)
Fri, 27 Jul 2001 19:07:40 +0100 (BST)


> 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/