Bug 1472587 - Make performance & scale tunings as default
Summary: Make performance & scale tunings as default
Keywords:
Status: CLOSED DUPLICATE of bug 1312098
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Performance
Version: 6.2.10
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: Unspecified
Assignee: satellite6-bugs
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-07-19 05:06 UTC by sbadhwar
Modified: 2017-08-08 11:00 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-08-08 11:00:02 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description sbadhwar 2017-07-19 05:06:31 UTC
Description of problem:
The current defaults in Satellite 6.2 are very conservative for any practical deployment.

We would have to make some of the tunings as mentioned in the Satellite Performance and Scale Brief, default in the upcoming releases for Satellite.

Some of the tunings that can be made to go default include:

1). /etc/httpd/conf.d/05-foreman-ssl.d/katello.conf
KeepAlive On
MaxKeepAliveRequests 0
KeepAliveTimeout 5

2). cat /etc/systemd/system/httpd.service.d/limits.conf
LimitNOFILE=640000

3). /etc/systemd/system/qpidd.service.d/limits.conf
LimitNOFILE=640000

4). /etc/systemd/system/qdrouterd.service.d/limits.conf
LimitNOFILE=640000

5). /var/lib/pgsql/data/postgresql.conf
shared_buffers = 256MB
work_mem=4MB

6). /etc/systemd/system/smart_proxy_dynflow_core.service.d/limits.conf
LimitNOFILE=640000

7) Application level passenger tunings.

/etc/httpd/conf.d/05-foreman-ssl.conf

PassengerAppRoot /usr/share/foreman
PassengerRuby /usr/bin/ruby193-ruby
PassengerMinInstances 6
PassengerStartTimeout 500
PassengerMaxPreloaderIdleTime 0
PassengerMaxRequests 10000
PassengerPreStart https://example.com

  /etc/httpd/conf.d/25-puppet.conf
PassengerMinInstances 6
PassengerStartTimeout 500
PassengerMaxPreloaderIdleTime 0
PassengerMaxRequests 10000
PassengerPreStart https://example.com:8140

Note 1: The PassengerMinInstances has the max limit of equivalent to PassengerMaxPoolSize

Note 2: We are currently evaluating the performance tunings for Satellite 6.3, but except the passenger tunings mentioned here, all other tunings can be made to go default in 6.3 release also.

Comment 2 Brad Buckingham 2017-08-04 14:06:14 UTC
Hello Saurabh,

Thank you for the bugzilla report.  This looks like it may be considered a duplicate of bug 1312098.  That bug is tracking the need to improve the default tuning of Satellite 6.  Any objections to closing this one so that we can track the issue on a single place?

Comment 3 sbadhwar 2017-08-08 04:24:46 UTC
(In reply to Brad Buckingham from comment #2)
> Hello Saurabh,
> 
> Thank you for the bugzilla report.  This looks like it may be considered a
> duplicate of bug 1312098.  That bug is tracking the need to improve the
> default tuning of Satellite 6.  Any objections to closing this one so that
> we can track the issue on a single place?

Hey Brad,

Just took a look at the BZ you mentioned and I think, we can close this bug with the tunings mentioned in the description of this bug copied over to bug 1312098.

Comment 4 Brad Buckingham 2017-08-08 11:00:02 UTC

*** This bug has been marked as a duplicate of bug 1312098 ***


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