Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
[dupe] Mio: A High-Performance Multicore IO Manager for GHC (yale.edu)
49 points by m0nastic on Aug 12, 2013 | hide | past | favorite | 6 comments


The choice quote being:

Our evaluations show that the new Mio manager improves realistic web server throughput by 6.5x and reduces expected web server response time by 5.7x. We also show that with Mio, McNettle (an SDN controller written in Haskell) can scale effectively to 40+ cores, reach a throughput of over 20 million new requests per second on a single machine, and hence become the fastest of all existing SDN controllers.


I like this one too:

After removing various bottlenecks in our system, SimpleServer scaled to 20 cores and serves nearly 700,000 requests per second. This workload places an unusual burden on the Linux kernel and triggers a bug in Linux; Under such a heavy load, the epoll subsystem occasionally does not return read events for a socket, even though the socket has data ready, causing worker threads in SimpleServer to wait for data indefinitely.

[...]

This long-standing bug affects all Linux kernels since 2.4 and a patch fixing the issue has been accepted into the Linux kernel

In short their "simple server" with the Mio manager was so fast that it broke epoll :)


They didn't break epoll, epoll was straight-up broken. They just managed to supply enough pressure to reliably trigger the bug, which is even more impressive if you think about it.


Another discussion regarding this

https://news.ycombinator.com/item?id=6198068


Extremely impressive. But I'm surprised by the number of Haskell threads on the front page. Is this Haskell day?


> surprised by the number of Haskell threads

I see what you did there!




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: