← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1361357] Re: metadata service performance regression ~100x

 

** No longer affects: nova (Ubuntu)

** No longer affects: nova

** Also affects: neutron
   Importance: Undecided
       Status: New

** Also affects: neutron (Ubuntu)
   Importance: Undecided
       Status: New

** No longer affects: nova (Ubuntu Trusty)

** No longer affects: nova (Ubuntu Utopic)

** Changed in: neutron
       Status: New => Confirmed

** Changed in: neutron (Ubuntu Trusty)
       Status: New => Confirmed

** Changed in: neutron (Ubuntu Utopic)
       Status: New => Confirmed

-- 
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/1361357

Title:
  metadata service performance regression ~100x

Status in Ubuntu Cloud Archive:
  Confirmed
Status in ubuntu-cloud-archive icehouse series:
  Confirmed
Status in ubuntu-cloud-archive juno series:
  Confirmed
Status in OpenStack Neutron (virtual network service):
  Confirmed
Status in “neutron” package in Ubuntu:
  Confirmed
Status in “neutron” source package in Trusty:
  Confirmed
Status in “neutron” source package in Utopic:
  Confirmed

Bug description:
  The fix for bug 1325128 [1] included changes to the metadata service
  seen at:
     trunk    [2]: 4a60c6a655006b2882331844664fac5cf67c5f34
     icehouse [3]: 9f59ca751f1a392ef24d8ab73a7bf5ce9655017e

  The new code is around 100x slower.  That slow down causes
  excessive load on the metadata server if an instance crawls the metadata
  service (which generates dozens of http requests).

  Both cloud-init and cirros's boot code crawl that meta-data service.  The
  end result is linux instances boot time is dramatically affected.  A
  typical Ubuntu boot time will be < 10 seconds to executing user code, but
  after this regression, I'm seeing boots in the range of 30 to 45 seconds.

  While the fix is exactly intended to slow things down to improve
  security, the performance regression seems significant enough to
  address.

  --
  [1] http://pad.lv/1325128
  [2] https://git.openstack.org/cgit/openstack/nova/commit/?id=4a60c6a655006b2882331844664fac5cf67c5f34
  [3] https://git.openstack.org/cgit/openstack/nova/commit/?id=4a60c6a655006b2882331844664fac5cf67c5f34

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-archive/+bug/1361357/+subscriptions


References