linux-azure Enable CONFIG_RT_GROUP_SCHED

Bug #1939024 reported by Tim Gardner
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux-azure (Ubuntu)
In Progress
Undecided
Tim Gardner
Focal
Fix Released
Undecided
Tim Gardner
Hirsute
Fix Released
Undecided
Tim Gardner
Impish
In Progress
Undecided
Tim Gardner

Bug Description

SRU Justification

[Impact]

Microsoft has requested that CONFIG_RT_GROUP_SCHED be enabled. This option has no discernible runtime impact in the default case. As quoted from research performed by Colin King, "I ran some synthetic stress-ng throughput and latency tests with and without CONFIG_RT_GROUP_SCHED on CONFIG_RT_GROUP_SCHED. I don't see enough variation in the throughput or latency to warrant any concern about enabling this option. We have quite a bit of small jitter on the results, but overall the kernel results are similar enough to make me feel OK to enable this option for Focal."

[Test Case]

Microsoft has tested this option using kernels at https://kernel.ubuntu.com/~rtg/azure-rt-group-sched-sf00314473/. The customer requesting this config option verified that it satisfied their requirements. Microsft also determined that there were no performance regressions for the default case, i.e., when no RT priority threads were created.

[Where things could go awry]

Adding options to the scheduler could impact work loads that we have yet to observe.

[Other Info]

SF: 00314473

CVE References

Tim Gardner (timg-tpi)
Changed in linux-azure (Ubuntu Focal):
assignee: nobody → Tim Gardner (timg-tpi)
Changed in linux-azure (Ubuntu Hirsute):
assignee: nobody → Tim Gardner (timg-tpi)
Changed in linux-azure (Ubuntu Impish):
assignee: nobody → Tim Gardner (timg-tpi)
Tim Gardner (timg-tpi)
Changed in linux-azure (Ubuntu Focal):
status: New → Fix Committed
Changed in linux-azure (Ubuntu Hirsute):
status: New → Fix Committed
Tim Gardner (timg-tpi)
Changed in linux-azure (Ubuntu Impish):
status: New → In Progress
Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote :

This bug is awaiting verification that the kernel in -proposed solves the problem. Please test the kernel and update this bug with the results. If the problem is solved, change the tag 'verification-needed-hirsute' to 'verification-done-hirsute'. If the problem still exists, change the tag 'verification-needed-hirsute' to 'verification-failed-hirsute'.

If verification is not done by 5 working days from today, this fix will be dropped from the source code, and this bug will be closed.

See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you!

tags: added: verification-needed-hirsute
Revision history for this message
Tim Gardner (timg-tpi) wrote :

pull-pkg linux-azure hirsute --pull=debs --distro=ubuntud
pkg --extract linux-buildinfo-5.11.0-1014-azure_5.11.0-1014.15_amd64.deb .
grep CONFIG_RT_GROUP_SCHED usr/lib/linux/5.11.0-1014-azure/config
CONFIG_RT_GROUP_SCHED=y

Tagging verification-done-hirsute

tags: added: verification-done-hirsute
removed: verification-needed-hirsute
Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote :

This bug is awaiting verification that the kernel in -proposed solves the problem. Please test the kernel and update this bug with the results. If the problem is solved, change the tag 'verification-needed-focal' to 'verification-done-focal'. If the problem still exists, change the tag 'verification-needed-focal' to 'verification-failed-focal'.

If verification is not done by 5 working days from today, this fix will be dropped from the source code, and this bug will be closed.

See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you!

tags: added: verification-needed-focal
Marcelo Cerri (mhcerri)
Changed in linux-azure (Ubuntu Focal):
status: Fix Committed → In Progress
Changed in linux-azure (Ubuntu Hirsute):
status: Fix Committed → In Progress
Revision history for this message
Launchpad Janitor (janitor) wrote :
Download full text (37.7 KiB)

This bug was fixed in the package linux-azure - 5.4.0-1058.60

---------------
linux-azure (5.4.0-1058.60) focal; urgency=medium

  * focal/linux-azure: 5.4.0-1058.60 -proposed tracker (LP: #1942117)

  * linux-azure: main(): sched_setscheduler(): Operation not permitted
    (LP: #1942092)
    - Revert "UBUNTU: [Config] azure: CONFIG_RT_GROUP_SCHED=y"

  [ Ubuntu: 5.4.0-84.94 ]

  * focal/linux: 5.4.0-84.94 -proposed tracker (LP: #1941767)
  * Server boot failure after adding checks for ACPI IRQ override (LP: #1941657)
    - Revert "ACPI: resources: Add checks for ACPI IRQ override"

linux-azure (5.4.0-1057.59) focal; urgency=medium

  * focal/linux-azure: 5.4.0-1057.59 -proposed tracker (LP: #1939775)

  * Focal update: v5.4.129 upstream stable release (LP: #1936242)
    - [Config] enable CONFIG_SYSTEM_REVOCATION_LIST

  * linux-azure Enable CONFIG_RT_GROUP_SCHED (LP: #1939024)
    - [Config] azure: CONFIG_RT_GROUP_SCHED=y

  * Sync to SGX 1.33.2 (LP: #1936240)
    - SAUCE: ubuntu/sgx: backport fixes to 1.33
    - SAUCE: ubuntu/sgx: missing synchronize_srcu call before cleanup
    - SAUCE: ubuntu/sgx: fix a synchronization issue for mmput
    - SAUCE: ubuntu/sgx: look for exported symbols in Makefile
    - SAUCE: ubuntu/sgx: hardening compiler options
    - SAUCE: ubuntu/sgx: Fix signed integer overflow on shift
    - SAUCE: ubuntu/sgx: move use space header
    - SAUCE: ubuntu/sgx: Version 1.33.2

  [ Ubuntu: 5.4.0-83.93 ]

  * focal/linux: 5.4.0-83.93 -proposed tracker (LP: #1940159)
  * fails to launch linux L2 guests on AMD (LP: #1940134) // CVE-2021-3653
    - KVM: nSVM: avoid picking up unsupported bits from L2 in int_ctl
      (CVE-2021-3653)
  * fails to launch linux L2 guests on AMD (LP: #1940134)
    - SAUCE: Revert "UBUNTU: SAUCE: KVM: nSVM: avoid picking up unsupported bits
      from L2 in int_ctl"

  [ Ubuntu: 5.4.0-82.92 ]

  * focal/linux: 5.4.0-82.92 -proposed tracker (LP: #1939799)
  * Packaging resync (LP: #1786013)
    - debian/dkms-versions -- update from kernel-versions (main/2021.08.16)
  * CVE-2021-3656
    - SAUCE: KVM: nSVM: always intercept VMLOAD/VMSAVE when nested
  * CVE-2021-3653
    - SAUCE: KVM: nSVM: avoid picking up unsupported bits from L2 in int_ctl
  * [regression] USB device is not detected during boot (LP: #1939638)
    - SAUCE: Revert "usb: core: reduce power-on-good delay time of root hub"
  * dev_forward_skb: do not scrub skb mark within the same name space
    (LP: #1935040)
    - dev_forward_skb: do not scrub skb mark within the same name space
  * XPS 9510 (TGL) Screen Brightness could not be changed (LP: #1933566)
    - SAUCE: drm/i915: Force DPCD backlight mode for Dell XPS 9510(TGL)
  * Acer Aspire 5 sound driver issues (LP: #1930188)
    - ALSA: hda/realtek: headphone and mic don't work on an Acer laptop
  * Sony Dualshock 4 usb dongle crashes the whole system (LP: #1935846)
    - HID: sony: Workaround for DS4 dongle hotplug kernel crash.
  * [21.10 FEAT] KVM: Provide a secure guest indication (LP: #1933173)
    - s390/uv: add prot virt guest/host indication files
    - s390/uv: fix prot virt host indication compilation
  * Skip rtcpie test in kselftests/timers if the default RTC device does ...

Changed in linux-azure (Ubuntu Focal):
status: In Progress → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :
Download full text (63.5 KiB)

This bug was fixed in the package linux-azure - 5.11.0-1015.16

---------------
linux-azure (5.11.0-1015.16) hirsute; urgency=medium

  * hirsute/linux-azure: 5.11.0-1015.16 -proposed tracker (LP: #1942116)

  * linux-azure: main(): sched_setscheduler(): Operation not permitted
    (LP: #1942092)
    - Revert "UBUNTU: [Config] azure: CONFIG_RT_GROUP_SCHED=y"

  [ Ubuntu: 5.11.0-34.36 ]

  * hirsute/linux: 5.11.0-34.36 -proposed tracker (LP: #1941766)
  * Server boot failure after adding checks for ACPI IRQ override (LP: #1941657)
    - Revert "ACPI: resources: Add checks for ACPI IRQ override"

linux-azure (5.11.0-1014.15) hirsute; urgency=medium

  * hirsute/linux-azure: 5.11.0-1014.15 -proposed tracker (LP: #1939760)

  * Hirsute update: upstream stable patchset 2021-07-19 (LP: #1936863)
    - [Config] enable CONFIG_SYSTEM_REVOCATION_LIST
    - [Config] update annotations for XILINX_ZYNQMP_DPDMA

  * Hirsute update: upstream stable patchset 2021-07-28 (LP: #1938340)
    - updateconfigs for PSTORE_BLK (BROKEN)

  * Support builtin revoked certificates (LP: #1932029)
    - [Config] Configure CONFIG_SYSTEM_REVOCATION_KEYS with revoked keys

  * linux-azure Enable CONFIG_RT_GROUP_SCHED (LP: #1939024)
    - [Config] azure: CONFIG_RT_GROUP_SCHED=y

  [ Ubuntu: 5.11.0-33.35 ]

  * hirsute/linux: 5.11.0-33.35 -proposed tracker (LP: #1940101)
  * libvirtd fails to create VM (LP: #1940107)
    - sched: Stop PF_NO_SETAFFINITY from being inherited by various init system
      threads

  [ Ubuntu: 5.11.0-32.34 ]

  * hirsute/linux: 5.11.0-32.34 -proposed tracker (LP: #1939769)
  * Packaging resync (LP: #1786013)
    - debian/dkms-versions -- update from kernel-versions (main/2021.08.16)
  * CVE-2021-3656
    - SAUCE: KVM: nSVM: always intercept VMLOAD/VMSAVE when nested
  * CVE-2021-3653
    - SAUCE: KVM: nSVM: avoid picking up unsupported bits from L2 in int_ctl
  * [regression] USB device is not detected during boot (LP: #1939638)
    - SAUCE: Revert "usb: core: reduce power-on-good delay time of root hub"
  * Support builtin revoked certificates (LP: #1932029)
    - [Packaging] build canonical-revoked-certs.pem from branch/arch certs
    - [Packaging] Revoke 2012 UEFI signing certificate as built-in
    - [Config] Configure CONFIG_SYSTEM_REVOCATION_KEYS with revoked keys
  * Support importing mokx keys into revocation list from the mok table
    (LP: #1928679)
    - SAUCE: integrity: add informational messages when revoking certs
  * Support importing mokx keys into revocation list from the mok table
    (LP: #1928679) // CVE-2020-26541 when certificates are revoked via
    MokListXRT.
    - SAUCE: integrity: Load mokx certs from the EFI MOK config table
  * Include product_sku info to modalias (LP: #1938143)
    - firmware/dmi: Include product_sku info to modalias
  * Fix Ethernet not working by hotplug - RTL8106E (LP: #1930645)
    - net: phy: rename PHY_IGNORE_INTERRUPT to PHY_MAC_INTERRUPT
    - SAUCE: r8169: Use PHY_POLL when RTL8106E enable ASPM
  * [SRU][H/OEM-5.10/OEM-5.13/U] Fix system hang after unplug tbt dock
    (LP: #1938689)
    - SAUCE: igc: fix page fault when thunderbolt is unplugged
  * [Regression] Audio card [8086:9d71] not detec...

Changed in linux-azure (Ubuntu Hirsute):
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.