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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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. 
* Doing it in user space requires changes to existing applications which is not
  always possible.

Thanks
Sridhar

On Fri, 27 Jul 2001, Alan Cox wrote:

> > The documentation on HOWTO use this patch and the test results which show an
> > improvement in connection rate for higher priority classes can be found at our
> > project website.
> >         http://oss.software.ibm.com/qos
> > 
> > We would appreciate any comments or suggestions.
> 
> Simple question.
> 
> How is this different from having a single userspace thread in your
> application which accepts connections as they come in and then hands them
> out in an order it chooses, if need be erorring and closing some ?
> 
> Alan
> 

-
: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.kernel.org


[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux