Patch Name: PHKL_30443 Patch Description: s700_800 11.23 VxFS cumulative patch Creation Date: 04/07/16 Post Date: 04/07/20 Hardware Platforms - OS Releases: s700: 11.23 s800: 11.23 Products: N/A Filesets: JFS.VXFS-BASE-KRN,fr=B.11.23,fa=HP-UX_B.11.23_IA,v=HP Automatic Reboot?: Yes Status: General Release Critical: Yes PHKL_30443: HANG PHKL_29817: OTHER Under certain conditions the application may appear to hang for 2 or 3 minutes. Actually it is just running VERY slowly, it's not really hung. Category Tags: defect_repair general_release critical halts_system Path Name: /hp-ux_patches/s700_800/11.X/PHKL_30443 Symptoms: PHKL_30443: ( SR:8606325344 CR:JAGae87634 ) Certain commands may seem to cause a system hang. mount(2), umount(2) & sync(2) syscalls may run very slowly on systems with large amounts of RAM. This affects boot time, shutdown time and activities such as mount, umount, df, bdf, rlogin and sync during normal system operation. PHKL_29817: ( SR:8606316401 CR:JAGae79118 ) This problem is observed when running the Gaussian benchmark. It creates a large (12GB) sparsely populated scratch file, then writes into the 'holes' during execution. Every so often the program will do a write(2) system call for a large (eg 12 MB) amount of data which will take anywhere from a couple of seconds to several hundred seconds with virtually no cpu time (usr or sys) being used. (Seen via examination of tusc ouput.) Defect Description: PHKL_30443: ( SR:8606325344 CR:JAGae87634 ) The basic problems are that several lists whose length is proportional to RAM size are processed serially, with unnecessary locking and/or no provision for early exit. Resolution: This fix * terminates a scan once all desired objects are found * adjusts a counter to enable early scan termination * avoids unnecessary flushing and invalidating buffers PHKL_29817: ( SR:8606316401 CR:JAGae79118 ) When a write(2) spans an area of a file that has not been previously written (a 'hole'), VxFS will synchronously write binary zeroes into the hole before initiating the asynchronous write of the data. (This is required if the file system is mounted with the blkclear option.) Resolution: For write(2) syscalls that write into 'holes' in a file, skip the synchronous writing of binary zeroes into the hole unless the file system is mounted with the blkclear option. Enhancement: No SR: 8606316401 8606325344 Patch Files: JFS.VXFS-BASE-KRN,fr=B.11.23,fa=HP-UX_B.11.23_IA,v=HP: /usr/conf/lib/libvxfs.a(vx_assumption.o) /usr/conf/lib/libvxfs.a(vx_crdwri.o) /usr/conf/lib/libvxfs.a(vx_filebio.o) /usr/conf/lib/libvxfs.a(vx_inode.o) /usr/conf/lib/libvxfs.a(vx_mount.o) /usr/conf/lib/libvxfs.a(vx_rdwri.o) /usr/conf/lib/libvxfs.a(vx_snap_mount.o) /usr/conf/lib/libvxfs.a(vx_vfsops.o) what(1) Output: JFS.VXFS-BASE-KRN,fr=B.11.23,fa=HP-UX_B.11.23_IA,v=HP: /usr/conf/lib/libvxfs.a(vx_assumption.o): vx_assumption.c $Date: 2004/07/15 11:07:41 $Revision : r11.23/3 PATCH_11.23 (PHKL_30443) /usr/conf/lib/libvxfs.a(vx_crdwri.o): vx_crdwri.c $Date: 2003/10/16 10:09:38 $Revision: r1 1.23/1 PATCH_11.23 (PHKL_29817) /usr/conf/lib/libvxfs.a(vx_filebio.o): vx_filebio.c $Date: 2004/07/15 11:08:05 $Revision: r 11.23/3 PATCH_11.23 (PHKL_30443) /usr/conf/lib/libvxfs.a(vx_inode.o): vx_inode.c $Date: 2004/07/15 11:08:28 $Revision: r11 .23/3 PATCH_11.23 (PHKL_30443) /usr/conf/lib/libvxfs.a(vx_mount.o): vx_mount.c $Date: 2004/07/15 11:08:52 $Revision: r11 .23/3 PATCH_11.23 (PHKL_30443) /usr/conf/lib/libvxfs.a(vx_rdwri.o): vx_rdwri.c $Date: 2003/10/16 10:09:15 $Revision: r11 .23/1 PATCH_11.23 (PHKL_29817) /usr/conf/lib/libvxfs.a(vx_snap_mount.o): vx_snap_mount.c $Date: 2004/07/15 11:09:14 $Revision : r11.23/3 PATCH_11.23 (PHKL_30443) /usr/conf/lib/libvxfs.a(vx_vfsops.o): vx_vfsops.c $Date: 2004/07/15 11:09:40 $Revision: r1 1.23/2 PATCH_11.23 (PHKL_30443) cksum(1) Output: JFS.VXFS-BASE-KRN,fr=B.11.23,fa=HP-UX_B.11.23_IA,v=HP: 615824991 58872 /usr/conf/lib/libvxfs.a(vx_assumption.o) 2553231079 47744 /usr/conf/lib/libvxfs.a(vx_crdwri.o) 3655901894 47840 /usr/conf/lib/libvxfs.a(vx_filebio.o) 1618038081 350912 /usr/conf/lib/libvxfs.a(vx_inode.o) 3180550310 162688 /usr/conf/lib/libvxfs.a(vx_mount.o) 634568259 137624 /usr/conf/lib/libvxfs.a(vx_rdwri.o) 2230102904 23968 /usr/conf/lib/libvxfs.a(vx_snap_mount.o) 1398143235 84992 /usr/conf/lib/libvxfs.a(vx_vfsops.o) Patch Conflicts: None Patch Dependencies: s700: 11.23: PHCO_30440 PHKL_30442 PHKL_30444 PHKL_30445 PHKL_30471 PHKL_30506 s800: 11.23: PHCO_30440 PHKL_30442 PHKL_30444 PHKL_30445 PHKL_30471 PHKL_30506 Hardware Dependencies: None Other Dependencies: None Supersedes: PHKL_29817 Equivalent Patches: None Patch Package Size: 340 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_30443 5. Run swinstall to install the patch: swinstall -x autoreboot=true -x patch_match_target=true \ -s /tmp/PHKL_30443.depot By default swinstall will archive the original software in /var/adm/sw/save/PHKL_30443. 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_30443.text file is available in the product readme: swlist -l product -a readme -d @ /tmp/PHKL_30443.depot To put this patch on a magnetic tape and install from the tape drive, use the command: dd if=/tmp/PHKL_30443.depot of=/dev/rmt/0m bs=2k Special Installation Instructions: None