Best practice for accepting TCP connections on multicore?

看板FB_hackers作者時間11年前 (2014/06/07 07:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/18 (看更多)
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"
文章代碼(AID): #1JaaWkky (FB_hackers)
討論串 (同標題文章)
完整討論串 (本文為第 1 之 18 篇):
文章代碼(AID): #1JaaWkky (FB_hackers)