From: Adrian Schröter Date: Wed, 10 Nov 2010 07:54:11 +0000 (+0100) Subject: XEN: switch from using phy: to tap:aio: to improve block IO performance X-Git-Tag: upstream/20120927~258 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e114578358725bccac5c77e5b0007ed8e2aa105a;p=platform%2Fupstream%2Fbuild.git XEN: switch from using phy: to tap:aio: to improve block IO performance Thanks to Berthold for the hint (test case time was reduced by > 30%) --- diff --git a/build b/build index f647779..42ab92b 100755 --- a/build +++ b/build @@ -1409,12 +1409,12 @@ for SPECFILE in "${SPECFILES[@]}" ; do if [ "$VM_TYPE" = 'xen' ]; then XMROOT="file:$(readlink -f $VM_IMAGE)" - XMROOT=${XMROOT/#file:\/dev/phy:/dev} + XMROOT=${XMROOT/#file:\/dev/tap:aio:/dev} XMROOT="disk=$XMROOT,hda1,w" XMSWAP= if test -n "$VM_SWAP" ; then XMSWAP="file:$(readlink -f $VM_SWAP)" - XMSWAP=${XMSWAP/#file:\/dev/phy:/dev} + XMSWAP=${XMSWAP/#file:\/dev/tap:aio:/dev} XMSWAP="disk=$XMSWAP,hda2,w" fi XENID="${VM_IMAGE%/root}"