Glance default workers is total overkill for modern servers
Bug #1748916 reported by
Erno Kuvaja
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Glance |
Fix Released
|
High
|
Erno Kuvaja |
Bug Description
On modern servers we do see dozens of cores which is total overkill of Glance workers while each of them has eventlet pool size of 1000 threads. Maybe we should consider limiting the total number of workers unless sepcifically configured by deployer.
Changed in glance: | |
importance: | Undecided → High |
assignee: | nobody → Erno Kuvaja (jokke) |
Changed in glance: | |
milestone: | none → queens-rc2 |
To post a comment you must log in.
All 1000 green threads in an eventlet pool will run on the same CPU. You only get true concurrency when you increase the number of workers.
For example if you use a single worker and have 1000 green threads performing SSL encryption/ decryption (eg talking SSL to Swift) that single CPU will be a bottleneck.
It would be useful to be clearer about the pros/cons (ideally backed up with testing/data) of changing the default.