2 Mar 2004 00:48
Overhead of UML-skas
George Washington Dunlap III <dunlapg <at> umich.edu>
2004-03-01 23:48:21 GMT
2004-03-01 23:48:21 GMT
Hey Jeff (and any other interested parties) -- this is George Dunlap, from the CoVirt group at U of M. I've been testing the overhead of running workloads under UML compared to on the bare host, and we're getting some unexpectedly slow numbers -- for the particular benchmark we're using, about 105% overhead; I was wondering if you could shed any light on the subject: has anyone had similar experiences, and are there any obvious optimizations we're missing. We're using 2.4.20-7um, on a 2.4.18 host with the skas patch. UML has raw access to its own disk (via 'raw /dev/raw/raw1 /dev/hdc'), and is given 256M (out of 1Gig host memory). Asyncronous I/O is enabled via the helper process. COW disk mode is off. The workload we're running is a "kernel build" benchmark, which consists of the following commands: make clean ; make dep ; make bzImage. This benchmark is run four times: once to warm up the cache, and thrice to get "warm cache" numbers. All runs are taken immediately after booting the host kernel and then (if appropriate) the guest kernel. We're comparing this against a 2.4.20 vanilla kernel using a copy of the same disk image, on the same disk. Host 2.4.20 average: 93 seconds UML 2.4.20 average: 192 seconds (105% overhead) All numbers were run on a P4 3GHz processor. Two years ago for our ReVirt paper, we did the same test with UMLinux (now FAUMAchine) (with some optimizations to make it not-dog-slow) on a 1.2GHz(Continue reading)
RSS Feed