← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1359808] [NEW] extended_volumes slows down the nova instance list by 40..50%

 

Public bug reported:

When listing ~4096 instances, the nova API (n-api) service has high CPU(100%)  usage because it does individual SELECTs,
for every server's block_device_mapping.

Please use more efficient way for getting the block_device_mapping, when
multiple instance queried.

This line initiating the individual select:
https://github.com/openstack/nova/blob/4b414adce745c07fbf2003ec25a5e554e634c8b7/nova/api/openstack/compute/contrib/extended_volumes.py#L32

** Affects: nova
     Importance: Undecided
         Status: New

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

Title:
  extended_volumes slows down the nova instance list by 40..50%

Status in OpenStack Compute (Nova):
  New

Bug description:
  When listing ~4096 instances, the nova API (n-api) service has high CPU(100%)  usage because it does individual SELECTs,
  for every server's block_device_mapping.

  Please use more efficient way for getting the block_device_mapping,
  when multiple instance queried.

  This line initiating the individual select:
  https://github.com/openstack/nova/blob/4b414adce745c07fbf2003ec25a5e554e634c8b7/nova/api/openstack/compute/contrib/extended_volumes.py#L32

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


Follow ups

References