Public bug reported:
Too many period db actions in large scale clusters increase the load of
database, especially un-necessary db update or query.
For example, over 1000 nodes, it will be 2 * 1000=2000 db update for
compute_node table in 60s in _update_available_resource, but this two db
update is not necessary if resource usage not changed.
Delete the first and second _update() in _init_compute_node can reduce
two db update for one node in 60s, if resource usage not changed for
this compute_node.
Then the funtion self._resource_change(compute_node) in _update() make
sense
** 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/1704179
Title:
Too many period db actions in large scale clusters increase the load
of database
Status in OpenStack Compute (nova):
New
Bug description:
Too many period db actions in large scale clusters increase the load
of database, especially un-necessary db update or query.
For example, over 1000 nodes, it will be 2 * 1000=2000 db update for
compute_node table in 60s in _update_available_resource, but this two
db update is not necessary if resource usage not changed.
Delete the first and second _update() in _init_compute_node can
reduce two db update for one node in 60s, if resource usage not
changed for this compute_node.
Then the funtion self._resource_change(compute_node) in _update() make
sense
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1704179/+subscriptions
--
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to : [email protected]
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help : https://help.launchpad.net/ListHelp