<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">Another option is to merge both Glance
and Nova datadirs on GlusterFS in distributed/replicated array.<br>
That way, all _base images and glance images are on the same
"filesystem" but with distributed I/O.<br>
<br>
-Sylvain<br>
<br>
Le 05/03/2013 13:10, Staicu Gabriel a écrit :<br>
</div>
<blockquote
cite="mid:1362485422.38949.YahooMailNeo@web122603.mail.ne1.yahoo.com"
type="cite">
<div style="color:#000; background-color:#fff; font-family:times
new roman, new york, times, serif;font-size:12pt">
<div>Hi,<br>
<br>
As a rule of thumb how I worked <span id="misspell-0"
class="">around</span> this issue was to add a new hdd. I
allocated this new hdd only to /var/lib/nova/instances/_base
and the other hdd to /var/lib/nova/instances/ so in this
manner to the first time a instance is spawn on server the
process use the full capacity of a hdd.</div>
<div><br>
</div>
<div style="color: rgb(0, 0, 0); font-size: 16px; font-family:
times new roman,new york,times,serif; background-color:
transparent; font-style: normal;">Regards,</div>
<div style="color: rgb(0, 0, 0); font-size: 16px; font-family:
times new roman,new york,times,serif; background-color:
transparent; font-style: normal;">Gabriel<br>
</div>
<div style="color: rgb(0, 0, 0); font-size: 16px; font-family:
times new roman,new york,times,serif; background-color:
transparent; font-style: normal;"><span><br>
</span></div>
<div><br>
</div>
<div style="font-family: times new roman, new york, times,
serif; font-size: 12pt;">
<div style="font-family: times new roman, new york, times,
serif; font-size: 12pt;">
<div dir="ltr"> <font face="Arial" size="2">
<hr size="1"> <b><span style="font-weight:bold;">From:</span></b>
Pádraig Brady <a class="moz-txt-link-rfc2396E" href="mailto:P@draigBrady.com"><P@draigBrady.com></a><br>
<b><span style="font-weight: bold;">To:</span></b>
Balamurugan V G <a class="moz-txt-link-rfc2396E" href="mailto:balamuruganvg@gmail.com"><balamuruganvg@gmail.com></a> <br>
<b><span style="font-weight: bold;">Cc:</span></b>
<a class="moz-txt-link-abbreviated" href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a> <br>
<b><span style="font-weight: bold;">Sent:</span></b>
Tuesday, March 5, 2013 1:20 PM<br>
<b><span style="font-weight: bold;">Subject:</span></b>
Re: [Openstack] [OpenStack] How to speed up the instance
launch time?<br>
</font> </div>
<br>
On 03/05/2013 11:03 AM, Balamurugan V G wrote:<br>
> Hi,<br>
> <br>
> I have a Folsom 2012.2 3 nodes setup like the one
specified at <a moz-do-not-send="true"
href="https://github.com/mseknibilel/OpenStack-Folsom-Install-guide/blob/master/OpenStack_Folsom_Install_Guide_WebVersion.rst"
target="_blank">https://github.com/mseknibilel/OpenStack-Folsom-Install-guide/blob/master/OpenStack_Folsom_Install_Guide_WebVersion.rst</a>.
Each node has a 1Tb hard disk with no raid.<br>
> <br>
> Be it the image creation or the Instance creation,
takes a long time(factor of the disk size of the image),
about 15mins for a 20gb image. I can understand the slow
image creation due to the http transfer of the file from a
seperate web server hosting my images to the controller
node. But even the instance creation takes that much or even
a bit longer. I see that the image is copied from the
Controller to Compute node and multiple copies are make in
the compute node. So all this takes long an dis proportional
to the image size. Is there any way to speed up this
process? Is a SAN based backend the only way to go?<br>
<br>
It sounds like you're using raw images throughout?<br>
You might consider using qcow2 images in glance.<br>
Then you can avoid the conversion to raw in the libvirt base<br>
directory by setting force_raw_images=False in nova.conf<br>
That will avoid some of the initial caching penalty.<br>
<br>
Ensuring that you have use_cow_images=True set,<br>
with use CoW images for the instances and improve<br>
instance startup latency.<br>
<br>
Details of the operations and tradeoffs involved are at:<br>
<a class="moz-txt-link-freetext" href="http://www.pixelbeat.org/docs/openstack_libvirt_images/">http://www.pixelbeat.org/docs/openstack_libvirt_images/</a><br>
<br>
thanks,<br>
Pádraig.<br>
<br>
<br>
_______________________________________________<br>
Mailing list: <a moz-do-not-send="true"
href="https://launchpad.net/%7Eopenstack" target="_blank">https://launchpad.net/~openstack</a><br>
Post to : <a moz-do-not-send="true"
ymailto="mailto:openstack@lists.launchpad.net"
href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a><br>
Unsubscribe : <a moz-do-not-send="true"
href="https://launchpad.net/%7Eopenstack" target="_blank">https://launchpad.net/~openstack</a><br>
More help : <a moz-do-not-send="true"
href="https://help.launchpad.net/ListHelp" target="_blank">https://help.launchpad.net/ListHelp</a><br>
<br>
<br>
</div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Mailing list: <a class="moz-txt-link-freetext" href="https://launchpad.net/~openstack">https://launchpad.net/~openstack</a>
Post to : <a class="moz-txt-link-abbreviated" href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a>
Unsubscribe : <a class="moz-txt-link-freetext" href="https://launchpad.net/~openstack">https://launchpad.net/~openstack</a>
More help : <a class="moz-txt-link-freetext" href="https://help.launchpad.net/ListHelp">https://help.launchpad.net/ListHelp</a>
</pre>
</blockquote>
<br>
</body>
</html>