Bug 737233

Summary: Detect if it's a VM install and enable/ask the user to enable VM-specific optimizations
Product: Red Hat Enterprise Linux 7 Reporter: Amit Shah <amit.shah>
Component: anacondaAssignee: Anaconda Maintenance Team <anaconda-maint-list>
Status: CLOSED DUPLICATE QA Contact: Release Test Team <release-test-team>
Severity: low Docs Contact:
Priority: low    
Version: 7.0CC: amit.shah, mmatsuya
Target Milestone: rc   
Target Release: 7.2   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-08-28 18:21:23 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Amit Shah 2011-09-10 08:00:41 UTC
Description of problem:
Anaconda can detect whether the installation is being made in a VM.  If it is a VM, some hypervisor-specific and hypervisor-agnostic optimizations can be made for the guest OS, like:
 - Use the 'deadline' IO scheduler instead of the default CFQ
 - Disable suspend-to-ram for the system, as it doesn't result in much benefit in a virt environment

These options could be presented to the user to enable them if they wish.  The installer could then modify the grub parameters or ktune according to the settings chosen.

These options could be exposed for non-virt usage as well, so that admins can tune their systems at install-time or set the parameters in the kickstart file itself.

Comment 4 Brian Lane 2015-08-12 00:48:19 UTC
This is handled automatically by the fix for bug 884385, it detect virtualization and installs packages from a group named "platform-" + the output from systemd-detect-virt

Comment 5 David Cantrell 2015-08-28 18:21:23 UTC

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