increase default setting of workers to n-cpu

Bug #1371154 reported by Morgan Fainberg
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Identity (keystone)
Fix Released
Medium
Morgan Fainberg

Bug Description

Eventlet workers should default to n-cpu not 1 for both main and admin APIs. The default of 1 with UUID tokens causes eventlet to perform extremely poorly under a default installation.

It is possible the minimum default should always be 2 workers. (Open for discussion)

description: updated
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to keystone (master)

Related fix proposed to branch: master
Review: https://review.openstack.org/122484

Changed in keystone:
assignee: nobody → Morgan Fainberg (mdrnstm)
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to keystone (master)

Fix proposed to branch: master
Review: https://review.openstack.org/122485

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to keystone (master)

Reviewed: https://review.openstack.org/122484
Committed: https://git.openstack.org/cgit/openstack/keystone/commit/?id=2521962e395b1325f80b532efc51c1d6d6fb4162
Submitter: Jenkins
Branch: master

commit 2521962e395b1325f80b532efc51c1d6d6fb4162
Author: Morgan Fainberg <email address hidden>
Date: Thu Sep 18 10:51:00 2014 -0700

    Add the processutils from oslo-incubator.

    This is a module specific add rather than a full sync. The processutils
    module will be used to determine the default number of workers for keystone
    running under eventlet.

    Processutils sync'd from oslo commit hash 6a60f84258

    Change-Id: I6cbca7d54ca97cce962d3cc1131388840ddf9a7c
    Related-Bug: #1371154

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to keystone (master)

Reviewed: https://review.openstack.org/122485
Committed: https://git.openstack.org/cgit/openstack/keystone/commit/?id=09b717c04bb9d0a91da91352d5903daed5c75b36
Submitter: Jenkins
Branch: master

commit 09b717c04bb9d0a91da91352d5903daed5c75b36
Author: Morgan Fainberg <email address hidden>
Date: Thu Sep 18 11:02:31 2014 -0700

    Set the default number of workers when running under eventlet

    Keystone now defaults to n-cpu as the number of workers under eventlet with
    a minimum number of workers when auto-calculating the number of 2.

    This behavior can be overridded by changing the `admin_workers` and
    `public_workers` configuration values in the Keystone config file.

    Change-Id: I482cfef7ee14e995c6fb206bcef412957c54f491
    Closes-Bug: #1371154

Changed in keystone:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in keystone:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in keystone:
milestone: juno-rc1 → 2014.2
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.