看板 FB_hackers 關於我們 聯絡資訊
Hi, What is the best practice (performance-wise) for dispatching new TCP connections to different threads in order to make use of multiple cores? Is there any better way than doing the accept() call in one thread and then dispatch it to a thread on another core with any user space method? Conceivably one should be able to perform the accept() call from several threads but using the same socket and let the kernel distribute the incoming connections using some kind of hash or round robin. Regards, Daniel _______________________________________________ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"