|
About
TODO
Blog
RSS
Old blog
Projects
Gallery
Notes
Sat, 10 Feb 2007
Test which shows how broken is thread-like AIO design. tcp_sendmsg: sock: ffff810038e57900, wait: 562. tcp_sendmsg: sock: ffff810038e57340, wait: 563. tcp_sendmsg: sock: ffff810038e56d80, wait: 564. tcp_sendmsg: sock: ffff810038e567c0, wait: 565. tcp_sendmsg: sock: ffff810038e56200, wait: 566. printk: 20458 messages suppressed. tcp_sendmsg: sock: ffff81003363d300, wait: 21025.and the like... That was a simple couple of seconds test run of ab benchmark
against 2.6.20 kernel with lighttpd web server - about 4k connections per second,
80k connections total, trivial index page (got from debian installer) on athlon64 with 1gb of ram
connected over 1gbit link.And during that simple test system would created 21k threads? No way, it is just broken design. It is wrong. So, read my lips - ev-e-ry-thing con-nec-ted to the net-work sle-eps. Linus, if you read this (although I doubt), please, do not make terrible mistake. Do not include kevent, if you do not want, but please think about above test before it is too late. /devel/kevent/aio :: Link / Comments (0) Please solve this captcha to be allowed to post (need to reload in a minute): 57 + 57 Comments are closed for this story. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||