Re: Change select(2) to kevent(2) on script(1)...

From: Maxim Sobolev <sobomax_at_FreeBSD.org>
Date: Mon, 22 Dec 2008 12:57:38 -0800
Norikatsu Shigemura wrote:
> Hi sobomax!
> 
> On Mon, 22 Dec 2008 03:03:42 -0800
> Maxim Sobolev <sobomax_at_freebsd.org> wrote:
>> Roman Divacky wrote:
>>> I believe other OSes should be able to do the porting effort when they
>>> want to use FreeBSD software.
>>> if kqueue-in-script makes any improvement go for it.
>> I really doubt there would be any. It's just 2 descriptors, and if 
>> select(2) can't handle 2 descriptors efficiently them perhaps it is 
>> broken and has to be fixed instead.
> 
> 	I think that performance improvement is significant(I don't
> 	think performance improved by my patch).  But my patch is the

And can you explain where that "significant improvement" comes from? Are 
you saying that tty layer / pseudo-terminal driver is somehow much more 
efficient with kqeue(2) compared to select(2)/poll(2)? There is 
something broken about it if so.

In any case without any numbers this discussion is pretty much pointless.

-Maxim
Received on Mon Dec 22 2008 - 19:58:14 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:39 UTC