Patch Name: PHKL_29704 Patch Description: s700_800 11.11 Psets Enablement, SCHED_NOAGE, FSS Creation Date: 03/09/22 Post Date: 03/10/14 Hardware Platforms - OS Releases: s700: 11.11 s800: 11.11 Products: N/A Filesets: OS-Core.CORE2-KRN,fr=B.11.11,fa=HP-UX_B.11.11_32,v=HP OS-Core.CORE2-KRN,fr=B.11.11,fa=HP-UX_B.11.11_64,v=HP Automatic Reboot?: Yes Status: General Release Critical: No Category Tags: defect_repair enhancement general_release manual_dependencies Path Name: /hp-ux_patches/s700_800/11.X/PHKL_29704 Symptoms: PHKL_29704: ( SR:8606247911 CR:JAGae14311 ) A Process Resource Manager (PRM) and Fair Share Scheduler (FSS) group with a large entitlement and just enough jobs to get that share could be outperformed by a smaller entitlement group with more jobs. PHKL_25209: ( SR:8606213000 CR:JAGad82187 ) Threads belonging to processes which have been scheduled as SCHED_NOAGE (fixed priority) may have their priority permanently changed to a different priority than was specified in the sched_setscheduler(2) system call. PHKL_24572: ( SR:8606200799 CR:JAGad69975 ) This patch is a member of a set of patches needed to enable the HP-UX Processor Sets product (PROCSETS). When PROCSETS product is installed, it will install the full set of required patches for that product, including this patch. If the HP-UX Processor Sets product is not installed, this change will have no impact on your system. Defect Description: PHKL_29704: ( SR:8606247911 CR:JAGae14311 ) Due to the way HP-UX round-robin jobs separately among the processors for each CPU, all groups start on the same CPU. That means on a 4 processor box, if a system has four groups each with 24% and one job, they all ended up sharing the same CPU. A fifth group with only 4% but lots of jobs would end up spread over all the CPUs, and take about 76% of the over all system cycles. Resolution: Removed code that zeroes FSS structures unnecessarily, creating cache noise and preventing structure re-use. PHKL_25209: ( SR:8606213000 CR:JAGad82187 ) Threads belonging to processes scheduled as SCHED_NOAGE may have their priority legitimately changed during their lifetime, but any change in priority should only be temporary. In some cases when a clock interrupt occurred after the thread priority had been temporarily changed and before the priority was reset, the priority could be permanently reset to the current priority. Resolution: The thread priority modification routines were changed to correctly handle a temporary priority change for SCHED_NOAGE threads. A temporary priority change is no longer allowed to become permanent. PHKL_24572: ( SR:8606200799 CR:JAGad69975 ) This patch contains minor enhancements required to support the HP-UX Processor Sets product. Resolution: Enhancements added in priority management path to access per pset rtsched scheduler data structures when Processor Sets product is enabled. Enhancement: No (superseded patches contained enhancements) PHKL_29704: Enhancements were delivered in a patch this one has superseded. Please review the Defect Description text for more information. SR: 8606200799 8606213000 8606247911 Patch Files: OS-Core.CORE2-KRN,fr=B.11.11,fa=HP-UX_B.11.11_32,v=HP: /usr/conf/lib/libpm.a(priority.o) OS-Core.CORE2-KRN,fr=B.11.11,fa=HP-UX_B.11.11_64,v=HP: /usr/conf/lib/libpm.a(priority.o) what(1) Output: OS-Core.CORE2-KRN,fr=B.11.11,fa=HP-UX_B.11.11_32,v=HP: /usr/conf/lib/libpm.a(priority.o): priority.c $Date: 2003/09/18 11:45:55 $Revision: r11 .11/3 PATCH_11.11 (PHKL_29704) OS-Core.CORE2-KRN,fr=B.11.11,fa=HP-UX_B.11.11_64,v=HP: /usr/conf/lib/libpm.a(priority.o): priority.c $Date: 2003/09/18 11:45:55 $Revision: r11 .11/3 PATCH_11.11 (PHKL_29704) cksum(1) Output: OS-Core.CORE2-KRN,fr=B.11.11,fa=HP-UX_B.11.11_32,v=HP: 4278244465 7888 /usr/conf/lib/libpm.a(priority.o) OS-Core.CORE2-KRN,fr=B.11.11,fa=HP-UX_B.11.11_64,v=HP: 1416315138 19400 /usr/conf/lib/libpm.a(priority.o) Patch Conflicts: None Patch Dependencies: s700: 11.11: PHKL_29708 s800: 11.11: PHKL_29708 Hardware Dependencies: None Other Dependencies: PHKL_29704: To solve the PRM(FSS) entitlement problem related to JAGae14311 in Processor Sets path, PHKL_29709 must be installed. Supersedes: PHKL_25209 PHKL_24572 Equivalent Patches: None Patch Package Size: 40 KBytes Installation Instructions: Please review all instructions and the Hewlett-Packard SupportLine User Guide or your Hewlett-Packard support terms and conditions for precautions, scope of license, restrictions, and, limitation of liability and warranties, before installing this patch. ------------------------------------------------------------ 1. Back up your system before installing a patch. 2. Login as root. 3. Copy the patch to the /tmp directory. 4. Move to the /tmp directory and unshar the patch: cd /tmp sh PHKL_29704 5. Run swinstall to install the patch: swinstall -x autoreboot=true -x patch_match_target=true \ -s /tmp/PHKL_29704.depot By default swinstall will archive the original software in /var/adm/sw/save/PHKL_29704. If you do not wish to retain a copy of the original software, include the patch_save_files option in the swinstall command above: -x patch_save_files=false WARNING: If patch_save_files is false when a patch is installed, the patch cannot be deinstalled. Please be careful when using this feature. For future reference, the contents of the PHKL_29704.text file is available in the product readme: swlist -l product -a readme -d @ /tmp/PHKL_29704.depot To put this patch on a magnetic tape and install from the tape drive, use the command: dd if=/tmp/PHKL_29704.depot of=/dev/rmt/0m bs=2k Special Installation Instructions: None