← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1221332] Re: xenapi: resize operation could be faster

 

** Changed in: nova
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1221332

Title:
  xenapi: resize operation could be faster

Status in OpenStack Compute (Nova):
  Fix Released

Bug description:
  There are a few small performance issues that can easily be fixed.

  First a regression:
  * on resize down we now call resize2fs twice, once to get the minimum file system size. There is no need to call it twice, just handle the error case correctly

  The other issue:
  * resize_disk uses copy, we could consider using clone (or snapshot) to save time, assuming that does not slow down the other steps
  * consider using zerofree to help reduce the filesystem size further, after shrinking the filesystem, before the sparse copy
  * while the above will take time, it should reduce the amount of data copied over the network

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1221332/+subscriptions