← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1748916] Re: Glance default workers is total overkill for modern servers

 

Reviewed:  https://review.openstack.org/543549
Committed: https://git.openstack.org/cgit/openstack/glance/commit/?id=6f87c7d567c9006b139b01fd1ab3bb9420fb407d
Submitter: Zuul
Branch:    master

commit 6f87c7d567c9006b139b01fd1ab3bb9420fb407d
Author: Erno Kuvaja <jokke@xxxxxx>
Date:   Mon Feb 12 16:58:03 2018 +0000

    Limit default workers to 8
    
    With modern servers it's not uncommon to see environments that has
    dozens of logical processors. Glance defaults workers to number of
    these logical processors seen by OS and each worker spins up pool
    of 1000 threads. Having dozens of these thread pools consuming
    resources is total overkill for most of the environments.
    
    This change limits the amount of workers used by default to 8 which
    should be plenty for most of the deployments. This limitation does
    not affect if more workers is specifically configured in the config
    file.
    
    Change-Id: I6fcf2f8a416e34c0c719e1abd73f0525e686be5e
    Closes-Bug: #1748916


** Changed in: glance
       Status: In Progress => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Glance.
https://bugs.launchpad.net/bugs/1748916

Title:
  Glance default workers is total overkill for modern servers

Status in Glance:
  Fix Released

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.

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


References