Need fix performance issue during spawn with powervm driver
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
High
|
ChangBo Guo(gcb) |
Bug Description
nova-compute is single threaded , and powervm driver will caculate image file's checksum ,then ftp the image to the IVM, maybe need compress and decompress the image file . In this situation , nova-compute can't process any other work .
The following is suggestion from libvirt developer :
"We have code similar to this in libvirt, and people complain about it all the time. The big problem is that if an image is large, nova-compute is going to lock up calculating this checksum. Because nova-compute is single threaded, you wont process any other work while performing this calculation.
I wonder if you should add some time.sleep(0) calls? This would act as a yield of the thread for eventlet."
summary: |
- Need fix performance issue during spwan with powervm driver + Need fix performance issue during spawn with powervm driver |
Changed in nova: | |
status: | New → Confirmed |
importance: | Undecided → High |
Changed in nova: | |
assignee: | ChangBo Guo (guochbo) → Matt Riedemann (mriedem) |
Changed in nova: | |
assignee: | Matt Riedemann (mriedem) → ChangBo Guo (guochbo) |
Changed in nova: | |
milestone: | none → havana-3 |
status: | Fix Committed → Fix Released |
Changed in nova: | |
milestone: | havana-3 → 2013.2 |
I open this bug for tracking the performence issue mentioned in code review https:/ /review. openstack. org/#/c/ 27534/