WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-users] Sparse or non sparse

To: Nick Couchman <Nick.Couchman@xxxxxxxxx>
Subject: Re: [Xen-users] Sparse or non sparse
From: Paras pradhan <pradhanparas@xxxxxxxxx>
Date: Wed, 2 Jun 2010 15:09:07 -0500
Cc: Xen Users <xen-users@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Wed, 02 Jun 2010 13:30:48 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=QyohIsBQY5Wo0mP2x9KYcDxdwh8EEIPQjcZxjGpKK70=; b=fCe6m0fx/Ky6VfBXQzAqZoQ2tJrWyq4YTrYzOeR1Artr7TPCVsOuggbmuK2Kp2fUkY bpEJ5CkJuu9prSg35GjHIHFkaarI0uiM0llt901CxQZG4l6zhlgj5EFNBA1crNLHRT2U IjTNOdhE8+trkYGgWfdAy3yYFIxAv+WODVcKc=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=XJio5/0i/dhDU58diAqHmy6UyIb2dYVxJBn8C9IkSziviGhXpXLcTXS31VMRTseimg GUAFblwbocL1Tnzi39XHj0tvyBb9bSFKMcG8swHZk0mH+wBcjPRyGxFtf5JaI+E9Jhd3 /GYRVPoIv8UyK08lQfhk5rw900e002DJZ5qbM=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4C066145020000990005D9EA@xxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <4C0654AB020000990005D910@xxxxxxxxxxxxxxxxxxxxx> <AANLkTilQ_zZCKMQjgMB_prXwJsjvpiTpKd8-yHOw44nc@xxxxxxxxxxxxxx> <AANLkTilmUci2FgpKjW28KnWGJwIK1PkvO8J0p3DjbyYy@xxxxxxxxxxxxxx> <4C066145020000990005D9EA@xxxxxxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
I am expecting.. it would be a slow growth and writing would be 1GB (max) at a time. So I think i would stick with sparse file. If I see any performance issue later on, how hard is to convert sparse to non sparse?


Thanks!
Paras.


On Wed, Jun 2, 2010 at 2:48 PM, Nick Couchman <Nick.Couchman@xxxxxxxxx> wrote:
How quickly do you expect to be filling it up, or how much data do you expect to write at one time?  If it's slow growth, performance won't be an issue.  If you expect to write several hundred GB at a time, it might be better to pre-allocate, as you'll see less I/O wait.

-Nick

>>> On 2010/06/02 at 13:46, Paras pradhan <pradhanparas@xxxxxxxxx> wrote:
> Sorry, I meant to say sparse does not perform better than non sparse.
>
> Paras.
>
>
> On Wed, Jun 2, 2010 at 2:45 PM, Paras pradhan <pradhanparas@xxxxxxxxx>wrote:
>
>> I am not worried about the space at this moment but worried about the
>> performance. I know non sparse does not perform better than spasre images
>> but don't know how much. Any rough numbers ?
>>
>> Thanks,
>> Paras.
>>
>>
>> On Wed, Jun 2, 2010 at 1:55 PM, Nick Couchman <Nick.Couchman@xxxxxxxxx>wrote:
>>
>>> That depends on how much space is available on the volume/disks that are
>>> storing this file, and how many other domUs are running there.  If there are
>>> many other domUs, or if this comes close to filling up your entire physical
>>> disk/array, this may not be a good idea, because you may overallocate your
>>> disk space and end up filling up the disk.
>>>
>>> -Nick
>>>
>>> >>> On 2010/06/02 at 09:34, Paras pradhan <pradhanparas@xxxxxxxxx> wrote:
>>> > Hi,
>>> >
>>> > Normally I use tap:aio with sparse img files to create a domUs.  I need
>>> to
>>> > add a 1TB image to one domU and expecting that it would be almost 100%
>>> full
>>> > before I extend it to 1.5TB. In this case is it safe to use sparse
>>> files?
>>> >
>>> > Thanks!
>>> > Paras.
>>>
>>>
>>>
>>>
>>> --------
>>> This e-mail may contain confidential and privileged material for the sole
>>> use of the intended recipient.  If this email is not intended for you, or
>>> you are not responsible for the delivery of this message to the intended
>>> recipient, please note that this message may contain SEAKR Engineering
>>> (SEAKR) Privileged/Proprietary Information.  In such a case, you are
>>> strictly prohibited from downloading, photocopying, distributing or
>>> otherwise using this message, its contents or attachments in any way.  If
>>> you have received this message in error, please notify us immediately by
>>> replying to this e-mail and delete the message from your mailbox.
>>>  Information contained in this message that does not relate to the business
>>> of SEAKR is neither endorsed by nor attributable to SEAKR.
>>>
>>
>>




--------
This e-mail may contain confidential and privileged material for the sole use of the intended recipient.  If this email is not intended for you, or you are not responsible for the delivery of this message to the intended recipient, please note that this message may contain SEAKR Engineering (SEAKR) Privileged/Proprietary Information.  In such a case, you are strictly prohibited from downloading, photocopying, distributing or otherwise using this message, its contents or attachments in any way.  If you have received this message in error, please notify us immediately by replying to this e-mail and delete the message from your mailbox.  Information contained in this message that does not relate to the business of SEAKR is neither endorsed by nor attributable to SEAKR.

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>