Bug 1251360 - Update RHGS tuned profiles for RHEL-6
Summary: Update RHGS tuned profiles for RHEL-6
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat Storage
Component: redhat-storage-server
Version: unspecified
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: RHGS 3.1.1
Assignee: Bala.FA
QA Contact: SATHEESARAN
URL:
Whiteboard:
Depends On:
Blocks: 1249979
TreeView+ depends on / blocked
 
Reported: 2015-08-07 06:03 UTC by Manoj Pillai
Modified: 2015-11-23 02:59 UTC (History)
12 users (show)

Fixed In Version: redhat-storage-server-3.1.1.0-2.el6rhs
Doc Type: Enhancement
Doc Text:
In this release, two new tuned profiles, that is, rhgs-sequential-io and rhgs-random-io for RHEL-6 has been added to Red Hat Gluster Storage.
Clone Of:
Environment:
Last Closed: 2015-10-05 07:22:32 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1256025 0 unspecified CLOSED Document new RHEL-6 tuned profiles 2021-02-22 00:41:40 UTC
Red Hat Product Errata RHSA-2015:1845 0 normal SHIPPED_LIVE Moderate: Red Hat Gluster Storage 3.1 update 2015-10-05 11:06:22 UTC

Internal Links: 1256025

Description Manoj Pillai 2015-08-07 06:03:27 UTC
Description of problem:
There are 2 RHGS tuned profiles for RHEL-6, rhs-high-throughput and rhs-virtualization. Suggested updates:

1. Have tuned profiles with the same names across RHEL-6 and RHEL-7. On RHEL-7 there are two profiles rhgs-sequential-io and rhgs-random-io.
2. set vm.dirty* parameters explicitly in the profiles

We also need to decide if we need any additional tuning/tuned_profiles to cover virtualization/containerization use cases.

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 4 Ben England 2015-08-18 04:04:09 UTC
about rhgs-random-io tuned profile, shouldn't readahead get lowered?  It's at 4096 now.  So it doesn't matter for small files since readahead can't go past the end of the file.  But for random reads on large files, a large readahead value can cause a lot of excess data transfer, unfortunately.  Perhaps we should lower readahead to 512 KB, which probably won't interfere too much with random I/O (5 millisec at 100 MB/s disk transfer speed.  Furthermore, this readahead level fits within 1 or 2 stripe elements in a RAID6 LUN so that we don't hit all the disks while doing readahead of data that no one wanted.  Experiment with this on a single file and monitor with iostat, watch the average I/O request size in sectors.

I see you kept the sysctl.ktune tunings from rhs-virtualization, thanks.

Comment 8 Manoj Pillai 2015-08-19 04:46:23 UTC
(In reply to Ben England from comment #4)
> about rhgs-random-io tuned profile, shouldn't readahead get lowered?  

Yes, it should. I have set it to 512KB.

Comment 9 Bala.FA 2015-08-22 15:35:54 UTC
Patch is under review at https://code.engineering.redhat.com/gerrit/55955

Comment 11 Manoj Pillai 2015-08-26 06:24:23 UTC
Summary of the tuned profiles:

rhgs-sequential-io: same as existing profile rhs-virtualization, except that it sets vm.dirty_ratio to 20 and vm.dirty_background_ratio to 10. read-ahead unchanged at 4MB.

rhgs-random-io: same as rhs-virtualization, except that vm.dirty_ratio is 5, vm.dirty_background_ratio is 2, and read-ahead is lowered to 512KB.

Comment 12 SATHEESARAN 2015-09-03 09:20:43 UTC
The tuned profiles rhgs-random-io and rhgs-sequential-io are present with the latest build - redhat-storage-server-3.1.1.0-1.el6rhs

But while setting these tuned profiles doesn't reflect the changes wrt read-ahead that is set on brick devices.

Thanks Manoj for finding out the issue that ktune.sh doesn't have execute permissions.

Bala, 

Could you make configurations such a way, ktune.sh get execute permission under all profiles ( rhs-high-throughput, rhs-virtualization, rhgs-random-io, rhgs-sequential-io ) ?

Comment 13 Bala.FA 2015-09-03 11:57:59 UTC
Fix is available at https://code.engineering.redhat.com/gerrit/#/c/56979/

Comment 14 SATHEESARAN 2015-09-14 08:19:08 UTC
Verified with redhat-storage-server-3.1.1.0-2.el6rhs
Read-ahead setting are set on the brick device and also the new tuned profiles ( rhgs-random-io and rhgs-sequential-io ) are available in addition to other rhs tuned profiles namely rhs-high-throughput and rhs-virtualization

Comment 15 Divya 2015-09-29 05:49:52 UTC
Bala,

Please review and sign-off the edited doc text.

Comment 16 Bala.FA 2015-09-29 07:01:06 UTC
Looks good to me.

Comment 18 errata-xmlrpc 2015-10-05 07:22:32 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://rhn.redhat.com/errata/RHSA-2015-1845.html


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