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 some totally unscientific benchmarks:
The players: 1) rumprun-xen master, 128M RAM. 2) NetBSD 7.99.10 (XEN3_DOMU.201504230930Z), 256M RAM. 3) Debian Jessie (Linux u2 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt9-2 (2015-04-13)) The benchmark: Using siege from dom0 to domU, IPv4: siege -c10 -b -t20s -i http://<domU>/logo150.png rump-mathopd from https://github.com/mato/rump-mathopd. Other details: dom0 has 8 CPUs, dom0 is not pinned to any CPUs. All domUs have a single VCPU. No special tuning has been done anywhere outside of best practice for a Xen dom0. Current results: 1) rumprun-xen: Transaction rate: 6676.46 trans/sec Transaction rate: 6589.34 trans/sec Transaction rate: 6657.97 trans/sec Transaction rate: 6784.82 trans/sec 2) NetBSD: Transaction rate: 5950.21 trans/sec Transaction rate: 6172.89 trans/sec Transaction rate: 5935.71 trans/sec Transaction rate: 5816.31 trans/sec 3) Debian Linux: Transaction rate: 11010.25 trans/sec Transaction rate: 11078.47 trans/sec Transaction rate: 11031.33 trans/sec Transaction rate: 11009.94 trans/sec 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 :-) -mato
