From: Daniel Stodden Subject: Re: tapdisk2 segfaults with xen-unstable+linux-2.6-pvops Date: Fri, 12 Feb 2010 14:30:54 -0800 Message-ID: <1266013854.15135.2788.camel@agari.van.xensource.com> References: <1265875013.16559.1339.camel@agari.van.xensource.com> <414492355.20100211121837@eikelenboom.it> <1265887353.14118.300.camel@ramone.somacoma.net> <18310262766.20100211151719@eikelenboom.it> <1265922182.9385.18.camel@agari.van.xensource.com> <156392046.20100212142119@eikelenboom.it> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <156392046.20100212142119@eikelenboom.it> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Sander Eikelenboom Cc: "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org On Fri, 2010-02-12 at 08:21 -0500, Sander Eikelenboom wrote: > Hello Daniel, > > Done some benchmarking with bonnie++ and it seems blktap2 at present performs slightly better than loopback with raw image files, didn't see crashes or other problems so far. Good to hear. Thanks for the feedback and keep me cc'd if you can. > Will the disabling of shared mem for blktap2 give a big performance hit ? Memshr is mainly a h/v extension, only driven by tapdisk. I didn't catch up on the implementation yet. But the idea is to establish cow mappings on clean buffers read from shared disk images. Provided the mappings are shadowed in one way or the other. Think OS-level pagecache. It's a really good idea. But unless you're actually running a significant number of clones from a shared master image it will be generating nothing but overhead. I think any non-manual decision on whether to turn it on or off should reside in the hands of a host agent overseeing the potential benefit. Which is beyond tapdisk, and certainly beyond a hardcoded Makefile macro. Whether crashing or not, the medium term update should turn it into a proper block driver layer. Cheers, Daniel