RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1020743 - Update tuned to v2.3
Summary: Update tuned to v2.3
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: tuned
Version: 7.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: beta
: ---
Assignee: Jaroslav Škarvada
QA Contact: Branislav Blaškovič
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-10-18 08:43 UTC by Jaroslav Škarvada
Modified: 2014-06-18 07:34 UTC (History)
6 users (show)

Fixed In Version: tuned-2.3.0-1.el7
Doc Type: Rebase: Bug Fixes and Enhancements
Doc Text:
Rebase package(s) to version: 2.3.0 Highlights, important fixes, or notable enhancements: - various plugins fixes and enhancements, especially regarding performance - documentation updated to be up-to-date with the code - switched to lightweighted pygobject3-base - lowered usage of system resources - fixed several bugs that could lead to the crash
Clone Of:
Environment:
Last Closed: 2014-06-13 11:17:27 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Jaroslav Škarvada 2013-10-18 08:43:12 UTC
Description of problem:
Tuned v2.3 includes various fixes and improvements which are worth to have in RHEL-7 (e.g. fixes for crashes, additional tunings for performance improvements, etc.). Some of the patches are already back-ported and we can back-port the rest, but having the upstream code there would simplify the future maintenance.

The risk of the update is very low, because I am also tuned upstream and I have full control on the content of the update.

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

How reproducible:
Always

Steps to Reproduce:
1. rpm -qv

Actual results:
tuned-2.2.2-4


Expected results:
tuned-2.3.0-1


Additional info:

Comment 10 Branislav Blaškovič 2013-11-07 13:04:35 UTC
I've modified the script to track the times..

#!/bin/bash

PROFILES=(balanced desktop latency-performance powersave sap throughput-performance virtual-guest virtual-host)

for (( i=0; i < 100; i++ ))
do
  p=${PROFILES[$(( RANDOM % ${#PROFILES[@]} ))]}
  echo `date` ": iter: $i, profile: $p"
  tuned-adm profile $p
  echo `date` ": profile switched"
  sleep $(( ( RANDOM % 10 )  + 1 ))
done

# ./tuned-stress 
Thu Nov 7 13:54:28 CET 2013 : iter: 0, profile: virtual-host
Thu Nov 7 13:54:29 CET 2013 : profile switched
Thu Nov 7 13:54:30 CET 2013 : iter: 1, profile: virtual-guest
Thu Nov 7 13:54:39 CET 2013 : profile switched
Thu Nov 7 13:54:49 CET 2013 : iter: 2, profile: sap
Thu Nov 7 13:54:59 CET 2013 : profile switched
Thu Nov 7 13:55:01 CET 2013 : iter: 3, profile: balanced
Thu Nov 7 13:55:09 CET 2013 : profile switched
Thu Nov 7 13:55:18 CET 2013 : iter: 4, profile: virtual-guest
Thu Nov 7 13:55:19 CET 2013 : profile switched
Thu Nov 7 13:55:20 CET 2013 : iter: 5, profile: virtual-host
Thu Nov 7 13:55:29 CET 2013 : profile switched
Thu Nov 7 13:55:34 CET 2013 : iter: 6, profile: balanced
Thu Nov 7 13:55:39 CET 2013 : profile switched
Thu Nov 7 13:55:41 CET 2013 : iter: 7, profile: virtual-host
Thu Nov 7 13:55:49 CET 2013 : profile switched
Thu Nov 7 13:55:50 CET 2013 : iter: 8, profile: sap
Thu Nov 7 13:55:59 CET 2013 : profile switched
Thu Nov 7 13:56:06 CET 2013 : iter: 9, profile: sap
Thu Nov 7 13:56:09 CET 2013 : profile switched
Thu Nov 7 13:56:18 CET 2013 : iter: 10, profile: balanced
Thu Nov 7 13:56:20 CET 2013 : profile switched
Thu Nov 7 13:56:26 CET 2013 : iter: 11, profile: desktop
Thu Nov 7 13:56:30 CET 2013 : profile switched
Thu Nov 7 13:56:34 CET 2013 : iter: 12, profile: virtual-guest
Thu Nov 7 13:56:40 CET 2013 : profile switched
Thu Nov 7 13:56:42 CET 2013 : iter: 13, profile: balanced
Thu Nov 7 13:56:50 CET 2013 : profile switched
Thu Nov 7 13:56:59 CET 2013 : iter: 14, profile: virtual-guest
Thu Nov 7 13:57:00 CET 2013 : profile switched
Thu Nov 7 13:57:10 CET 2013 : iter: 15, profile: desktop
Thu Nov 7 13:57:20 CET 2013 : profile switched
Thu Nov 7 13:57:30 CET 2013 : iter: 16, profile: sap
Thu Nov 7 13:57:40 CET 2013 : profile switched
Thu Nov 7 13:57:49 CET 2013 : iter: 17, profile: powersave
Thu Nov 7 13:57:50 CET 2013 : profile switched
Thu Nov 7 13:57:53 CET 2013 : iter: 18, profile: sap
Thu Nov 7 13:58:00 CET 2013 : profile switched
Thu Nov 7 13:58:03 CET 2013 : iter: 19, profile: virtual-guest
Thu Nov 7 13:58:10 CET 2013 : profile switched
Thu Nov 7 13:58:17 CET 2013 : iter: 20, profile: latency-performance
Thu Nov 7 13:58:21 CET 2013 : profile switched
Thu Nov 7 13:58:23 CET 2013 : iter: 21, profile: powersave
Thu Nov 7 13:58:31 CET 2013 : profile switched
Thu Nov 7 13:58:38 CET 2013 : iter: 22, profile: throughput-performance
Thu Nov 7 13:58:41 CET 2013 : profile switched
Thu Nov 7 13:58:51 CET 2013 : iter: 23, profile: virtual-guest
Thu Nov 7 13:59:01 CET 2013 : profile switched
Thu Nov 7 13:59:05 CET 2013 : iter: 24, profile: sap
Thu Nov 7 13:59:11 CET 2013 : profile switched
Thu Nov 7 13:59:13 CET 2013 : iter: 25, profile: virtual-host
Thu Nov 7 13:59:21 CET 2013 : profile switched
Thu Nov 7 13:59:23 CET 2013 : iter: 26, profile: virtual-host
Thu Nov 7 13:59:31 CET 2013 : profile switched
Thu Nov 7 13:59:32 CET 2013 : iter: 27, profile: sap
Thu Nov 7 13:59:41 CET 2013 : profile switched
Thu Nov 7 13:59:50 CET 2013 : iter: 28, profile: virtual-host
Thu Nov 7 13:59:51 CET 2013 : profile switched
Thu Nov 7 13:59:54 CET 2013 : iter: 29, profile: latency-performance
Thu Nov 7 14:00:02 CET 2013 : profile switched
Thu Nov 7 14:00:07 CET 2013 : iter: 30, profile: sap
Thu Nov 7 14:00:12 CET 2013 : profile switched

It looks ok on my machine. 10 sec time hang was described in comment #7.

Comment 12 Jaroslav Škarvada 2013-11-07 16:31:34 UTC
I am able to reproduce it now, this is the reproducer:

PROFILES=(balanced desktop latency-performance powersave sap throughput-performance virtual-guest virtual-host)

for (( i=0; i < 100; i++ ))
do
  p=${PROFILES[$(( RANDOM % ${#PROFILES[@]} ))]}
  echo "iter: $i, profile: $p"
  tuned-adm profile $p
done

Comment 13 Jaroslav Škarvada 2013-11-07 17:19:32 UTC
This doesn't seem to be regression. I am able to reproduce this with tuned-2.2.2-3 as well.

Comment 14 Jaroslav Škarvada 2013-11-07 17:33:17 UTC
I filled the following bugs:

1) bug 1028122
This is probably not blocker

2) bug 1028119
The source of this problem is currently unclear to me. I am working on it

Comment 15 Jaroslav Škarvada 2013-11-07 22:53:37 UTC
(In reply to Jaroslav Škarvada from comment #14)
> 2) bug 1028119
> The source of this problem is currently unclear to me. I am working on it
Patch with the proposed fix attached.

Comment 16 Branislav Blaškovič 2013-11-19 10:29:43 UTC
Bug 1028122 and bug 1028119 are verified. No other issues found. 
Marking this update bug as verified.

Comment 17 Ludek Smid 2014-06-13 11:17:27 UTC
This request was resolved in Red Hat Enterprise Linux 7.0.

Contact your manager or support representative in case you have further questions about the request.


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