Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-2599

[RT] "/sys/devices/system/cpu/isolated" is empty in ocp when config the isolcpus

    • Icon: Bug Bug
    • Resolution: Not a Bug
    • Icon: Undefined Undefined
    • None
    • rhel-9.2.0
    • kernel-rt / Other
    • None
    • None
    • Low
    • rhel-sst-kernel-rts
    • ssg_core_kernel
    • None
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • x86_64
    • None

      Please provide the package NVR for which bug is seen:

      $ oc version
      Client Version: 4.13.9
      Kustomize Version: v4.5.7
      Server Version: 4.13.9
      Kubernetes Version: v1.26.6+6bf3f75 
      $ oc get node -owide
      NAME                                      STATUS   ROLES                         AGE     VERSION           INTERNAL-IP    EXTERNAL-IP   OS-IMAGE                                                       KERNEL-VERSION                          CONTAINER-RUNTIME
      hp-dl380g10-06.rhts.eng.pek2.redhat.com   Ready    control-plane,master,worker   6d16h   v1.26.6+6bf3f75   10.73.116.28   <none>        Red Hat Enterprise Linux CoreOS 413.92.202308091852-0 (Plow)   5.14.0-284.25.1.rt14.310.el9_2.x86_64   cri-o://1.26.4-3.rhaos4.13.git615a02c.el9

      kernel-rt-5.14.0-284.25.1.rt14.310.el9_2.x86_64

      How reproducible:

      Steps to reproduce

      1.  
      2.  
      3.  

      Expected results

      Can read the isolated cpu from '/sys/devices/system/cpu/isolated'

      Actual results

      In ocp hosts:

      # cat /proc/cmdline 
      BOOT_IMAGE=(hd0,gpt3)/ostree/rhcos-73c3b16bec5c7779c38176ad561a895424b65a3b6f65a06017d6027bb2582b1e/vmlinuz-5.14.0-284.25.1.rt14.310.el9_2.x86_64 ignition.platform.id=metal ostree=/ostree/boot.1/rhcos/73c3b16bec5c7779c38176ad561a895424b65a3b6f65a06017d6027bb2582b1e/0 ip=eno1:dhcp root=UUID=c2e875e1-504b-41fd-a5af-65449caa9c5d rw rootflags=prjquota boot=UUID=1f5001d2-1fb8-448e-9321-46a91ae8fab3 systemd.unified_cgroup_hierarchy=0 systemd.legacy_systemd_cgroup_controller=1 skew_tick=1 nohz=on rcu_nocbs=1-9,20-28,11-19,30-38 tuned.non_isolcpus=00000080,20000401 systemd.cpu_affinity=0,10,29,39 intel_iommu=on iommu=pt isolcpus=managed_irq,1-9,20-28,11-19,30-38 nohz_full=1-9,20-28,11-19,30-38 tsc=nowatchdog nosoftlockup nmi_watchdog=0 mce=off rcutree.kthread_prio=11 default_hugepagesz=1G audit=0 processor.max_cstate=1 intel_idle.max_cstate=0 idle=poll intel_pstate=disable 
      $ cat /sys/devices/system/cpu/isolated
      
      

       

      In RHEL, the "/sys/devices/system/cpu/isolated" will show the isolated cpus when config:

      $ cat /sys/devices/system/cpu/isolated
      2-13 

       

      Not sure if this is intentional or a problem?

              jlelli@redhat.com Juri Lelli
              rhn-support-qzhao Qiao Zhao
              Juri Lelli Juri Lelli
              Qiao Zhao Qiao Zhao
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: