cloning virtual machines - how to speed up?

152 views
Skip to first unread message

Bharath Kumar

unread,
May 19, 2011, 1:06:37 AM5/19/11
to cloud-c...@googlegroups.com
Hi,
 I am on a job to speed up cloning of virtual machines.
 have tried using template cloning ec on Redhat linux using libvirt . ( virt-clone).
 
my observations show that the best time I have is about 6 mins to clone an image.
 
I need help / suggestions to improve.
 
any idea using LVM instead of Flat file image helps? Pros and cons ?
any other proven methods?
 
Thanks in advance
Bharath

AJ Duncan

unread,
May 20, 2011, 6:05:16 AM5/20/11
to Cloud Computing
Hi,
I did a quick search and found this article.
http://virtualfuture.info/2010/10/xenserver-fast-clone-a-vm-120-times-in-90-seconds/
The author suggests better than a clone a second for 120 clones. I
didn't see any comment
on the size of the clone though, but if its even a small image (s)he
was cloning, that's still
better than 6 mins :)

Hope this helps
Adrian

Bharath

unread,
May 24, 2011, 10:34:01 PM5/24/11
to Cloud Computing
I had this link before , the information posted is helpful. somehow it
does not work for me.

when I clone vm using flat file disk to use lvm, the driver gets
changed to phy and needs manual editing to start the cloned vm.
however I dont see much improvement in speed either.
any idea / epxeriment outputs on virt-clone usages or virt-install
with --import options?

Thanks
Bharath

On May 20, 3:05 pm, AJ Duncan <adrianjdun...@gmail.com> wrote:
> Hi,
> I did a quick search and found this article.http://virtualfuture.info/2010/10/xenserver-fast-clone-a-vm-120-times...
> The author suggests better than a clone a second for 120 clones.  I
> didn't see any comment
> on the size of the clone though, but if its even a small image (s)he
> was cloning, that's still
> better than 6 mins :)
>
> Hope this helps
> Adrian
>
> On May 19, 6:06 am, Bharath Kumar <bhava...@gmail.com> wrote:
>
>
>
> > Hi,
> >  I am on a job to speed up cloning of virtual machines.
> >  have tried using template cloning ec on Redhat linux using libvirt . (
> > virt-clone).
>
> > my observations show that the best time I have is about 6 mins to clone an
> > image.
>
> > I need help / suggestions to improve.
>
> > any idea using LVM instead of Flat file image helps? Pros and cons ?
> > any other proven methods?
>
> > Thanks in advance
> > Bharath- Hide quoted text -
>
> - Show quoted text -

F. Feldmann

unread,
May 25, 2011, 2:01:55 AM5/25/11
to cloud-c...@googlegroups.com
have you tried posting such questions to the libvirt mailing lists of the upstream project? presumably that's where the experts are who can comment from the code directly I think.

--
~~~~~
3rd Annual Cloud Slam 2011 Conference * April 18-22, 2011 * Mountain View, CA * http://cloudslam.org
UP 2010 Conference: http://www.up-con.com
Posting guidelines: http://bit.ly/bL3u3v
Follow us on Twitter @cloudcomp_group
Post Job/Resume at http://cloudjobs.net
Get hundreds of conference sessions and panels on cloud computing on DVD at
http://www.amazon.com/gp/product/B002H07SEC, http://www.amazon.com/gp/product/B004L1755W, http://www.amazon.com/gp/product/B002H0IW1U or GET instant access to downloadable versions at
- http://www.up-con.com/register
- http://cloudslam09.com/content/registration-5.html
- http://cloudslam10.com/content/registration

~~~~~
You received this message because you are subscribed to the Google Groups "Cloud Computing" group.
To post to this group, send email to cloud-c...@googlegroups.com
To unsubscribe from this group, send email to cloud-computi...@googlegroups.com



--
F. Feldmann
Reply all
Reply to author
Forward
0 new messages