Patch Name: PHKL_29927 Patch Description: s700 10.26 VxFS perf enhancement patch Creation Date: 03/10/22 Post Date: 03/10/29 Hardware Platforms - OS Releases: s700: 10.26 Products: N/A Filesets: JournalFS.VXFS-BASE-KRN Automatic Reboot?: Yes Status: General Release Critical: Yes PHKL_29927: HANG Path Name: /hp-ux_patches/s700/10.X/PHKL_29927 Symptoms: PHKL_29927: 1. Port of 10.20 patch PHKL_23084 to 10.26 (TOS). (PHKL_23084:) (SR: 8606170112 CR: JAGad39375) System hangs while accessing the tail of a VxFS file of size greater than 2GB. (PHKL_19058:) ( SR: 1653303750 CR: JAGab16358 ) Creating a large number of files (such as > 4k) in a directory on a vxfs file system can take an unacceptably long time to complete, especially when compared to HP-UX 11.00. Defect Description: PHKL_29927: 1. Port of 10.20 patch PHKL_23084 to 10.26 (TOS). (PHKL_23084:) (SR: 8606170112 CR: JAGad39375) The function supposed to return the details of the extents of the file was returning HOLEs past the 2GB mark which caused the process to loop forever. Resolution: Return correct details of the extents past the 2GB mark from the function mapping the extents of a file. (PHKL_19058:) ( SR: 1653303750 CR: JAGab16358 ) On 10.20, VxFS 3.0 uses extents of size 1K blocks once the directory started to use indirect extents; i.e. once the directory became larger. For 11.00 and VxFS 3.1, extents of size 8K are used. Thus, on 10.20, there were 8 times the number of extents to manage as with 11.00. Resolution: A change has been made to allow 10.20 to also use the larger extent size, and thus improve performance. SR: 1653303750 8606170112 Patch Files: /usr/conf/lib/libvxfs_base.a(vx_bmapext4.o) /usr/conf/lib/libvxfs_base.a(vx_dira.o) /usr/conf/lib/libvxfs_base.a(vx_dirl.o) what(1) Output: /usr/conf/lib/libvxfs_base.a(vx_bmapext4.o): 03/10/17 kern/vxfs/vx_bmapext4.c, hpux, hpux_10.26, ic5ij Revision 1.2 PATCH_10.26 (PHKL_29927) /usr/conf/lib/libvxfs_base.a(vx_dira.o): 03/10/17 kern/vxfs/vx_dira.c, hpux, hpux_10.26, ic5i j Revision 1.5 PATCH_10.26 (PHKL_29927) /usr/conf/lib/libvxfs_base.a(vx_dirl.o): 03/10/17 kern/vxfs/vx_dirl.c, hpux, hpux_10.26, ic5i j Revision 1.5 PATCH_10.26 (PHKL_29927) cksum(1) Output: 3442461709 11620 /usr/conf/lib/libvxfs_base.a(vx_bmapext4.o) 2704947110 11160 /usr/conf/lib/libvxfs_base.a(vx_dira.o) 4143233834 12616 /usr/conf/lib/libvxfs_base.a(vx_dirl.o) Patch Conflicts: None Patch Dependencies: s700: 10.26: PHKL_17282 Hardware Dependencies: None Other Dependencies: None Supersedes: None Equivalent Patches: PHKL_29928: s800: 10.26 Patch Package Size: 80 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_29927 5a. For a standalone system, run swinstall to install the patch: swinstall -x autoreboot=true -x match_target=true \ -s /tmp/PHKL_29927.depot By default swinstall will archive the original software in /var/adm/sw/patch/PHKL_29927. If you do not wish to retain a copy of the original software, you can create an empty file named /var/adm/sw/patch/PATCH_NOSAVE. WARNING: If this file exists when a patch is installed, the patch cannot be deinstalled. Please be careful when using this feature. It is recommended that you move the PHKL_29927.text file to /var/adm/sw/patch for future reference. To put this patch on a magnetic tape and install from the tape drive, use the command: dd if=/tmp/PHKL_29927.depot of=/dev/rmt/0m bs=2k Special Installation Instructions: None