Making changes to VMware pvscsi driver parameters aligned with SAP recomendations

This document (000019614) is provided subject to the disclaimer at the end of this document.

Environment

SUSE Linux Enterprise Server for SAP Applications 12 Service Pack 3
SUSE Linux Enterprise Server for SAP Applications 12 Service Pack 4
SUSE Linux Enterprise Server for SAP Applications 12 Service Pack 5
SUSE Linux Enterprise Server for SAP Applications 15
SUSE Linux Enterprise Server for SAP Applications 15 Service Pack 1

Situation

Best practice tuning recommendations, advise the following changes are made to the standard pvscsi parameters:
 
vmw_pvscsi.cmd_per_lun=1024
vmw_pvscsi.ring_pages=32

 
but does not explain exactly how to make the changes and if these changes can be made in some dynamic way without the need for a reboot.

Resolution

These changes can not be made dynamically as the pvscsi driver does not allow driver module unload/load/reload, once the virtual machine is active.

The only way to make these changes is to add the parameters to the appropriate grub boot entry and reboot.

Edit /etc/default/grub and change the line GRUB_CMDLINE_LINUX_DEFAULT=   e.g.:
GRUB_CMDLINE_LINUX_DEFAULT="resume=/dev/sda2 mitigations=auto splash=silent vmw_pvscsi.cmd_per_lun=1024 vmw_pvscsi.ring_pages=32 quiet showopts crashkernel=183M,high crashkernel=72M,low"

Then run:  grub2-mkconfig -o /boot/grub2/grub.cfg    e.g.:
 
# grub2-mkconfig -o /boot/grub2/grub.cfg
Generating grub configuration file ...
Found theme: /boot/grub2/themes/SLE/theme.txt
Found linux image: /boot/vmlinuz-<version>-default
Found initrd image: /boot/initrd-<version>-default
done

This will generate a new /boot/grub2/grub.cfg file and the changes made will survive updates to the system which cause the regeneration of grub.cfg
 

Cause

In order to increase the queue depth of the pvSCSI driver inside the Linux-based guest on which SAP HANA runs, add the Linux kernel boot options below :
 
vmw_pvscsi.cmd_per_lun=1024
vmw_pvscsi.ring_pages=32

Additional Information

These recommendations can be found in several documents including:

Best Practices and Recommendations for Scale-up Deployments of SAP® HANA® on VMware vSphere®
DEPLOYMENT AND TECHNICAL CONSIDERATIONS GUIDE

https://www.suse.com/media/guide/sap_hana_on_vmware_vsphere_best_practices_guide-white-paper.pdf

Disclaimer

This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.

  • Document ID:000019614
  • Creation Date: 28-Apr-2020
  • Modified Date:28-Apr-2020
    • SUSE Linux Enterprise Server for SAP Applications

< Back to Support Search

For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback@suse.com

SUSE Support Forums

Get your questions answered by experienced Sys Ops or interact with other SUSE community experts.

Join Our Community

Support Resources

Learn how to get the most from the technical support you receive with your SUSE Subscription, Premium Support, Academic Program, or Partner Program.


SUSE Customer Support Quick Reference Guide SUSE Technical Support Handbook Update Advisories
Support FAQ

Open an Incident

Open an incident with SUSE Technical Support, manage your subscriptions, download patches, or manage user access.

Go to Customer Center