<div dir="ltr"><div><p>Per the Openstack documentation, it's implied that both vCPUs and
memory are to be released when an instance is successfully suspended.
However, when I suspend an instance, neither resources are reclaimed. </p> <p> Documentation: <a href="http://docs.openstack.org/user-guide/content/suspend_resume.html" target="_blank">http://docs.openstack.org/user-guide/content/suspend_resume.html</a><br>
</p> <blockquote> <p>Administrative
users might want to suspend an instance if it is infrequently used or
to perform system maintenance. When you suspend an instance, its VM
state is stored on disk, all memory is written to disk, and the virtual
machine is stopped. <strong>Suspending an instance is similar to placing
a device in hibernation; memory and vCPUs become available to create
other instances.</strong></p> </blockquote> <p>Releasing resources would
be extremely helpful for my situation, which is I have users who have
their own instances that they use on demand for a short period of time
(basically a lab). The majority of an instance's life is wasted CPU
cycles. The only workaround is to create a snapshot, destroy the
instance and then re-deploy from the snapshot, but this is both tedious
and time consuming...also, in our environment, the services running on
the machine will not handle a sudden IP change very gracefully.</p>(cross-post from <a href="https://ask.openstack.org/en/question/32826/why-doesnt-suspend-release-vcpusmemory/" target="_blank">https://ask.openstack.org/en/question/32826/why-doesnt-suspend-release-vcpusmemory/</a>) <br>
<br></div>Cheers,<br clear="all"><br>-- <br><div>Ricky Saltzer</div><br clear="all"><br>-- <br><div dir="ltr"><div>Ricky Saltzer</div><div><a href="http://www.cloudera.com" target="_blank">http://www.cloudera.com</a><br>
</div><div><br></div></div>
</div>