Bug 2062910 - Modify sched policy and priority of ice-ptp threads
Summary: Modify sched policy and priority of ice-ptp threads
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Telco Edge
Version: 4.9
Hardware: x86_64
OS: Linux
urgent
high
Target Milestone: ---
: 4.10.z
Assignee: Joseph Richard
QA Contact: yliu1
URL:
Whiteboard:
Depends On: 2058997
Blocks: 2063298
TreeView+ depends on / blocked
 
Reported: 2022-03-10 21:43 UTC by OpenShift BugZilla Robot
Modified: 2022-04-18 23:26 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 2063298 (view as bug list)
Environment:
Last Closed: 2022-03-21 12:40:36 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift-kni cnf-features-deploy pull 1008 0 None Merged [release-4.10] Bug 2062910: Set ice-ptp threads to FIFO 10 2022-03-11 19:28:13 UTC
Red Hat Product Errata RHBA-2022:0928 0 None None None 2022-03-21 12:40:51 UTC

Comment 2 yliu1 2022-03-11 19:14:29 UTC
Verified on cnfocto2 with 4.10 build. 

[core@cnfocto2 ~]$ ps -ef | grep "ice-ptp"
root        1117       2  0 Mar10 ?        00:08:01 [ice-ptp-0000:b5]
root        1125       2  0 Mar10 ?        00:00:00 [ice-ptp-0000:b5]
root        1162       2  0 Mar10 ?        00:00:00 [ice-ptp-0000:b5]
root        1167       2  0 Mar10 ?        00:00:00 [ice-ptp-0000:b5]
core     2606457 2588944  0 19:10 pts/2    00:00:00 grep --color=auto ice-ptp
[core@cnfocto2 ~]$ chrt -p
chrt: invalid PID argument: '-p'
[core@cnfocto2 ~]$ chrt -p 1117
pid 1117's current scheduling policy: SCHED_FIFO
pid 1117's current scheduling priority: 10
[core@cnfocto2 ~]$ chrt -p 1125
pid 1125's current scheduling policy: SCHED_FIFO
pid 1125's current scheduling priority: 10
[core@cnfocto2 ~]$ chrt -p 1162
pid 1162's current scheduling policy: SCHED_FIFO
pid 1162's current scheduling priority: 10
[core@cnfocto2 ~]$ chrt -p 1167
pid 1167's current scheduling policy: SCHED_FIFO
pid 1167's current scheduling priority: 10


[yliu1@yliu1 ~]$ podman run $ztp_image cat source-crs/TunedPerformancePatch.yaml
Trying to pull registry-proxy.engineering.redhat.com/rh-osbs/openshift4-ztp-site-generate:v4.10.0...
Getting image source signatures
Copying blob 1d273cf0c199 skipped: already exists  
Copying blob 759b69d3a3dd skipped: already exists  
Copying blob 0c0193d5bbed done  
Copying config 95a5b87fb4 done  
Writing manifest to image destination
Storing signatures
apiVersion: tuned.openshift.io/v1
kind: Tuned
metadata:
  name: performance-patch
  namespace: openshift-cluster-node-tuning-operator
  annotations:
    ran.openshift.io/ztp-deploy-wave: "10"
spec:
  profile:
    - name: performance-patch
      # The 'include' line must match the associated PerformanceProfile name
      # And the cmdline_crash CPU set must match the 'isolated' set in the associated PerformanceProfile
      data: |
        [main]
        summary=Configuration changes profile inherited from performance created tuned
        include=openshift-node-performance-${performance-profile-name}
        [bootloader]
        cmdline_crash=nohz_full=${isolated_cores}
        [sysctl]
        kernel.timer_migration=1
        [scheduler]
        group.ice-ptp=0:f:10:*:ice-ptp.*
        [service]
        service.stalld=start,enable
  recommend:
    - machineConfigLabels:
        machineconfiguration.openshift.io/role: "$mcp"
      priority: 19
      profile: performance-patch

Comment 5 errata-xmlrpc 2022-03-21 12:40:36 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 (OpenShift Container Platform 4.10.5 bug fix update), 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/RHBA-2022:0928


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