Bug 878511

Summary: [RFE] Apply profile within dynamic system
Product: Red Hat Enterprise Linux 6 Reporter: Noam Slomianko <nslomian>
Component: tunedAssignee: Jaroslav Škarvada <jskarvad>
Status: CLOSED CURRENTRELEASE QA Contact: qe-baseos-daemons
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.5CC: alonbl, dfediuck, iheim
Target Milestone: rcKeywords: FutureFeature
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-04-24 20:33:47 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 754334, 870159, 881614    

Description Noam Slomianko 2012-11-20 15:29:56 UTC
For better integration with VDSM tuned should add a rule to udev or periodically poll it for new devices and change their I/O scheduler according to the current profile.

currently to achieve this we need to change the scheduler in our own code (what happens) or ask tuned to reconfigure (creating unwanted awareness of the tuned package in code)

Comment 1 Alon Bar-Lev 2012-11-20 15:47:41 UTC
Hello,

I would phrase that differently.

Operating system is dynamic by nature. Performing tuning at specific point in time can be true for this point in time but this point only.

Doing so at one point in time does not require any daemon to run, as it can do any required tuning and exit.

What I expect is to see a daemon tuning the system when changed based on selected profile, this by [at least] listening to udev events.

I recommend avoiding a [simple] poll loop (even once per minute) as it consume unneeded power and does not meet with the "tune" task.

Thank you,
Alon Bar-Lev.

Comment 3 RHEL Program Management 2012-12-14 08:27:43 UTC
This request was not resolved in time for the current release.
Red Hat invites you to ask your support representative to
propose this request, if still desired, for consideration in
the next release of Red Hat Enterprise Linux.

Comment 4 Jaroslav Škarvada 2013-04-24 20:33:47 UTC
AFAIK this is fixed in RHEL-6.4 (tuned-0.2.19-11.el6_4.1 and up) - ktune is restarted by the udev rule when the new block device is added to the system.

Feel free to reopen this bug / comment here if it doesn't resolve the problem for you.