Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Limit on kevent entries?



On Thu, 12 Oct 2006, maurits wrote:
OK, I'd highly appreciate any input. Portability is not an issue for me. But
I have the feeling that kevents doesn't really scale too well, and I agree with you that I'm probably abusing the mechanism...

In general kqueues do scale well, and that's part of the purpose of them. We use them to multiplex I/O over many thousands of sockets. I haven't pushed them terribly hard on Darwin (just enough to hit some bugs in older versions) but I have no reason to believe they shouldn't scale well there too, relative to Darwin's level of low level performance in general.


Cheers,

Ian

P.S. if you continue to use kqueue, make sure you open the files with O_EVTONLY, if you aren't already.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/darwin-dev/email@hidden


This email sent to email@hidden
References: 
 >Limit on kevent entries? (From: maurits <email@hidden>)
 >Re: Limit on kevent entries? (From: Ian Lister <email@hidden>)
 >Re: Limit on kevent entries? (From: maurits <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.