On 24/04/15 09:23, Martin Lucina wrote:
Hi,
following up on the "web servers" thread with a better subject so that
other people can see how we're doing with rump kernel powered web server
performance on Xen, I present:
[snip]
Current results:
1) rumprun-xen:
Transaction rate: 6676.46 trans/sec
2) NetBSD:
Transaction rate: 5950.21 trans/sec
3) Debian Linux:
Transaction rate: 11010.25 trans/sec
[picked the first result for each]
So, the results are interesting. rumprun-xen is consistently faster than a
full NetBSD VM, but still about 40% slower than Linux.
Thanks to Andrew and Antti for prompting me to do these tests. I'll add
"write some reproducible benchmarking scripts" to my growing TODO list, it
will be useful to track these results over time. And of course, we want to
get to *at least* 100% of Linux performance :-)
Well, you don't say. That's actually *a lot* better than what I
thought, with the NIC driver being totally unoptimized, the thread
scheduler essentially being O(not running threads), application side
malloc() being utter rubbish, etcetc.
I don't think beating Linux will be hard with some weeks of solid
effort. The surprising thing is that we already beat regular NetBSD by
10% *by accident*(!)
Wonder if there are some Linux-specific optimizations somewhere. It's
hard to believe that a httpd running on Linux would be twice as fast as
when running on NetBSD.
Indeed, thanks to Andrew for acting as the catalyst for this
experimentation.