Too many period db actions in large scale clusters increase the load of database
Bug #1704179 reported by
zhang zhenzhong
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
In Progress
|
Undecided
|
Chris Dent |
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_
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_
description: | updated |
Changed in nova: | |
assignee: | zhang zhenzhong (zzzhang0118) → Stephen Finucane (stephenfinucane) |
Changed in nova: | |
assignee: | Stephen Finucane (stephenfinucane) → Chris Dent (cdent) |
To post a comment you must log in.
Fix proposed to branch: master /review. openstack. org/483506
Review: https:/