In libc_r, I don't think the code in uthread_kern.c's _thread_kern_select() scales at all.
As the number of network connections (TCP) to my application grows, I believe this routine takes longer and longer and my CPU goes to 100% user space. Something makes me believe that this routine has an n^2 (or worse) problem. Seems to relate to the number of fd's to select() on. At about 300-400, even a P2 400Mhz gets max'd out and gets nothing done. Anybody have a feeling as to what is wrong here? -Rob To Unsubscribe: send mail to [email protected] with "unsubscribe freebsd-current" in the body of the message
