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] Windows guest, swap space, separate disk?

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] Windows guest, swap space, separate disk?
From: Brandon Lamb <brandonlamb@xxxxxxxxx>
Date: Thu, 18 Mar 2010 11:18:39 -0700
Delivery-date: Thu, 18 Mar 2010 11:24:52 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=KwM+fkx4ajWcCZo+YrKBV2cZghSy2txV3alKqy3b1zI=; b=hVCVqxtpanHCN/HyIXjg4B/Ki8TZKWUejZISk1gCDcbfd0LAdwwpoAwDGPga3jiPi2 gQZVWi0sRdY0lt9r8Et0+SbOt4m9dfBhqhoLVB0Kl7rIgqqsJQdPOXnQZyGpak40WyrS YKH6WDWRAnYH9Q89wl472pGdL22nMikRnOo7k=
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 :content-type:content-transfer-encoding; b=UV/pXX7LU12kW8q6wCgXIiiLfdkF/j9T2Xb7/O8np1hGB9fLVzKEF89OnNFMz88mKJ CAeWAf8Nz+MrmGAYFZoggCQbMa7QIXvroEt7vCXctjR6pBrWVGOJJj2lNno3EnfwnO65 oeutjQRXzVLSSw8hOal5FmikXYTJZ7yXp1KuI=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <-1628226927718353520@unknownmsgid>
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: <f25c44611003171505i5f180454xcc96c65361f5aa63@xxxxxxxxxxxxxx> <-1628226927718353520@unknownmsgid>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
On Thu, Mar 18, 2010 at 6:10 AM, Dustin Henning
<Dustin.Henning@xxxxxxxxxxx> wrote:
>        Actually, in addition to (a), (b), and (c) below, I suppose it might 
> be possible that there would be a notable performance difference due to the 
> performance loss caused by using loop vs phy (perhaps the two separate loops 
> can be used at the same time where to negate the lost performance to some 
> degree).  In that case, having multiple files might be helpful, but one image 
> would be acceptable where the procedure I previously mentioned is used for 
> setting up swap.  That having been said, again, this would still mean the 5 
> GiB of swap has to be backed up as well if it wouldn't have been otherwise.
>        Dustin
>
> -----Original Message-----
> From: xen-users-bounces@xxxxxxxxxxxxxxxxxxx 
> [mailto:xen-users-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Dustin Henning
> Sent: Thursday, March 18, 2010 08:59
> To: 'Brandon Lamb'; xen-users@xxxxxxxxxxxxxxxxxxx
> Subject: RE: [Xen-users] Windows guest, swap space, separate disk?
>
>        If swap is disable, a drive is defragmented, and swap is created (say 
> 5000-5000 as you suggest), it should be one contiguous file.  If it is 
> created 3500-5000 and eventually expands, then the swap will have fragments, 
> the number would depend on the fragmentation of the drive.  That having been 
> said, I would argue that it is silly to make swap on a different virtual 
> drive where the two drives are the same physical drive.  Any OS performance 
> difference he saw was a) due to his practices b) coincidental due to the 
> location of the files in question, or c) pure placebo effect.  That having 
> been said, if the user only wants to back up the drive images and isn't 
> worried about the swap images, having a separate swap image suddenly means an 
> extra 5 GiB that doesn't need copied every time there is a backup performed, 
> that could certainly constitute a performance difference (all things being 
> equal, copying a 20 GiB file will take twice as long as copying a 10GiB file).
>        Dustin
>
> -----Original Message-----
> From: xen-users-bounces@xxxxxxxxxxxxxxxxxxx 
> [mailto:xen-users-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Brandon Lamb
> Sent: Wednesday, March 17, 2010 18:06
> To: xen-users@xxxxxxxxxxxxxxxxxxx
> Subject: [Xen-users] Windows guest, swap space, separate disk?
>
> Hi hopefully someone can give me a tip or a better google search query to run.
>
> Talking to a guy that has a vmware server setup with 20 guests, all
> xp. He set them up with a 10gig os drive (c) and a separate 5gig disk
> image (d) that he configured a 3500-5000 swap.
>        a
> Now my take on this is that since all the disks are on the same
> physical disk anyway, should we just configured a single 15gig disk
> image, configure a 5000-5000 (min/max in windows) swap file for
> windows and be the same?
>
> He was saying he thought it was better for performance because
> otherwise the swap fragments the C:\ drive. He *claims* to have tried
> this and saw a difference.
>
> We plan on moving him from this vmware box with a single physical disk
> to xen with a 4 drive raid. I really dont want to screw with 2 or 3 or
> x disk images per virtual machine, management, backups etc. I told him
> i would like to just give him a single 10+swap+extra = say 20gig
> single disk image file to use.
>
> Comments, input please?

Wow very nice reply thank you, gives me more to think about and very
good point on not having to backup an extra 5 gigs, hmmm

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

<Prev in Thread] Current Thread [Next in Thread>