Patch Name: PHKL_21772 Patch Description: s700_800 11.00 JFS 3.3 Poor direct I/O performance Creation Date: 00/05/31 Post Date: 00/06/06 Hardware Platforms - OS Releases: s700: 11.00 s800: 11.00 Products: HP JFS 3.3 Filesets: JFS.JFS-BASE2-KRN,fr=3.3,fa=HP-UX_B.11.00_32,v=HP JFS.JFS-BASE2-KRN,fr=3.3,fa=HP-UX_B.11.00_64,v=HP Automatic Reboot?: Yes Status: General Release Critical: No Category Tags: enhancement general_release Path Name: /hp-ux_patches/s700_800/11.X/PHKL_21772 Symptoms: PHKL_21772: ( SR: 8606139352 CR: JAGad08645 ) Poor VxFS direct I/O performance. Defect Description: PHKL_21772: ( SR: 8606139352 CR: JAGad08645 ) If direct I/O is used across memory mapped regions, it fails because the entire memory could not be locked and buffered I/O is used instead. Mixing up buffered and direct I/O degrades the I/O performance. Resolution: Split the direct I/O if we cannot lock the entire memory, so that it could be done in smaller chunks until the I/O request is complete. SR: 8606139352 Patch Files: JFS.JFS-BASE2-KRN,fr=3.3,fa=HP-UX_B.11.00_32,v=HP: /usr/conf/lib/libvxfs.a(vx33_dio.o) JFS.JFS-BASE2-KRN,fr=3.3,fa=HP-UX_B.11.00_64,v=HP: /usr/conf/lib/libvxfs.a(vx33_dio.o) what(1) Output: JFS.JFS-BASE2-KRN,fr=3.3,fa=HP-UX_B.11.00_32,v=HP: /usr/conf/lib/libvxfs.a(vx33_dio.o): vx33_dio.c $Date: 2000/05/24 12:33:45 $Revision: r11 ros/2 PATCH_11.00 (PHKL_21772) JFS.JFS-BASE2-KRN,fr=3.3,fa=HP-UX_B.11.00_64,v=HP: /usr/conf/lib/libvxfs.a(vx33_dio.o): vx33_dio.c $Date: 2000/05/24 12:33:45 $Revision: r11 ros/2 PATCH_11.00 (PHKL_21772) cksum(1) Output: JFS.JFS-BASE2-KRN,fr=3.3,fa=HP-UX_B.11.00_32,v=HP: 3854556287 9792 /usr/conf/lib/libvxfs.a(vx33_dio.o) JFS.JFS-BASE2-KRN,fr=3.3,fa=HP-UX_B.11.00_64,v=HP: 1081095403 17024 /usr/conf/lib/libvxfs.a(vx33_dio.o) Patch Conflicts: None Patch Dependencies: None Hardware Dependencies: None Other Dependencies: None Supersedes: None Equivalent Patches: None Patch Package Size: 50 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_21772 5. Run swinstall to install the patch: swinstall -x autoreboot=true -x patch_match_target=true \ -s /tmp/PHKL_21772.depot By default swinstall will archive the original software in /var/adm/sw/save/PHKL_21772. If you do not wish to retain a copy of the original software, use the patch_save_files option: swinstall -x autoreboot=true -x patch_match_target=true \ -x patch_save_files=false -s /tmp/PHKL_21772.depot 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_21772.text file is available in the product readme: swlist -l product -a readme -d @ /tmp/PHKL_21772.depot To put this patch on a magnetic tape and install from the tape drive, use the command: dd if=/tmp/PHKL_21772.depot of=/dev/rmt/0m bs=2k Special Installation Instructions: None