Bug 1846070 - [OPS16.1][RFE] Expected Tripleo Hiera data for tuning parameter “cpu_mode” and “cpu_model_extra_flags”
Summary: [OPS16.1][RFE] Expected Tripleo Hiera data for tuning parameter “cpu_mode” an...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-tripleo-heat-templates
Version: 16.1 (Train)
Hardware: x86_64
OS: Linux
high
high
Target Milestone: z3
: 16.1 (Train on RHEL 8.2)
Assignee: RHOS Maint
QA Contact: James Parker
URL:
Whiteboard:
Depends On:
Blocks: 1906343
TreeView+ depends on / blocked
 
Reported: 2020-06-10 17:18 UTC by Pradipta Kumar Sahoo
Modified: 2022-08-23 18:31 UTC (History)
10 users (show)

Fixed In Version: openstack-tripleo-heat-templates-11.3.2-1.20200914170164.el8ost
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-12-15 18:35:45 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
OpenStack gerrit 755994 0 None MERGED Expose new THT params for cpu model flags 2021-02-09 03:06:56 UTC
OpenStack gerrit 758936 0 None MERGED Expose new THT params for cpu model flags 2021-02-09 03:06:56 UTC
Red Hat Issue Tracker OSP-3259 0 None None None 2022-08-23 18:31:44 UTC
Red Hat Product Errata RHEA-2020:5413 0 None None None 2020-12-15 18:36:19 UTC

Description Pradipta Kumar Sahoo 2020-06-10 17:18:06 UTC
Description of problem:
In NFV-RT-based deployment, the nova-compute configuration needs a further tunning with below parameters.

# grep ^[^#] /var/lib/config-data/puppet-generated/nova_libvirt/etc/nova/nova.conf | grep -E "mem_stats_period_seconds|cpu_mode|cpu_model_extra_flags"
cpu_mode=host-passthrough
cpu_model_extra_flags=tsc-deadline
mem_stats_period_seconds=0

We have tripleo hiredata "NovaLibvirtMemStatsPeriodSeconds: 0" to set nova.conf file with the following parameter "mem_stats_period_seconds=0"

Hence we need similar options for other to parameters:
cpu_mode=host-passthrough
cpu_model_extra_flags=tsc-deadline

Version-Release number of selected component (if applicable):
Red Hat Enterprise Linux release 8.2 (Ootpa)
Red Hat OpenStack Platform release 16.1 (Train)

How reproducible: 100% reproduced in NFV perf lab.


Steps to Reproduce:
We have tried with following tripleo environment options but didn't help.
    NovaLibvirtCpuMode: host-passthrough
    NovaLibvirtCpuModelExtraFlags: tsc-deadline

Comment 23 Martin Schuppert 2020-11-25 10:25:03 UTC
This introduced https://bugzilla.redhat.com/show_bug.cgi?id=1901004

Comment 31 errata-xmlrpc 2020-12-15 18:35:45 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 (Red Hat OpenStack Platform 16.1.3 bug fix and enhancement 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://access.redhat.com/errata/RHEA-2020:5413


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