Bug 1523617 - [RFE] Provide flexibility to set CPUQuota for slice
Summary: [RFE] Provide flexibility to set CPUQuota for slice
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat Storage
Component: rhhi
Version: rhgs-3.2
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
: RHHI-V 1.5
Assignee: Sahina Bose
QA Contact: SATHEESARAN
URL:
Whiteboard:
Depends On: 1411902
Blocks: 1520833 1548985
TreeView+ depends on / blocked
 
Reported: 2017-12-08 11:55 UTC by Sahina Bose
Modified: 2018-11-08 05:38 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Limits are now set on Red Hat Gluster Storage resource usage as part of the deployment process, to ensure that Red Hat Gluster Storage processes do not consume too many resources. The allocated resources are based on the number of cores available on the hyperconverged host.
Clone Of: 1411902
Environment:
Last Closed: 2018-11-08 05:37:25 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2018:3523 0 None None None 2018-11-08 05:38:50 UTC

Description Sahina Bose 2017-12-08 11:55:24 UTC
+++ This bug was initially created as a clone of Bug #1411902 +++

Description of problem:
-----------------------
To create glusterfs slice, slice_setup=yes option could be used 'service' section with 'glusterd' service. But this sets the CPUQuota to the default value of 400%

Version-Release number of selected component (if applicable):
-------------------------------------------------------------
gdeploy-2.0.1-8.el7rhgs

How reproducible:
-----------------
Not Applicable for RFE

Steps to Reproduce:
-------------------
Not Applicable for RFE

Actual results:
----------------
Sets the CPUQuota to the default value of 400% (ie) 4 cores

Expected results:
-----------------
Provide a way to change the CPUQuota and don't hardcode the value of 400%

Comment 3 SATHEESARAN 2018-04-04 11:44:52 UTC
Tested with gdeploy-2.0.2-24.

By default 1/3 of the CPU is allocated for gluster process.

After running gdeploy with slice setup on the machine with 2 cores.

# cat /etc/systemd/system/glusterfs.slice
[Slice]
CPUQuota=66

Comment 6 errata-xmlrpc 2018-11-08 05:37:25 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHEA-2018:3523


Note You need to log in before you can comment on or make changes to this bug.