Patch Name: PHKL_2287 Patch Description: Use local swap when on remote filesystem and sticky bit set At HP-UX 8.0x, HP revised the Virtual Memory System (VM) to include changes so that when text(code) segments are paged out, they are no longer written to the swap area. This is an improvement for applications on a local disk drive, reducing I/O and swap requirements. However for applications utilizing a "program" server, the retreival comes from the network via NFS, with a potentially slower access time. For certain large applications, this can be a problem. We have created the enhancement patch PHKL_2287 so that if a file is executed on a remote file system and the sticky bit is set on that executable, we will try to use the local swap device for the text instead of using the executable image as the swap. Path Name: /hp-ux_patches/s700/8.X/PHKL_2287 Effective Date: 930324 Patch Files: /system/PHKL_2287/new/vm_mmap.o SR/APR#: "what" string/timestamp: vm_mmap.o: vm_mmap.c $Revision: 1.12.77.3 $ $Date: 93/03/23 17:05:49 $ PATCH_8.07 (PHKL_2287) "sum" output: 28821 13 vm_mmap.o Dependencies: This patch should be applied to HP-UX 8.07 only. Supersedes: None Patch Package Size: 41 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. Note: Please back up your system before you patch. --------------------------------------------------------------------------- After getting the patch onto your machine, unshar the patch (sh PHKL_2287). To install this patch do the following: 1) Run /etc/update (Note: you must be logged in as root to update a system). 2) Once in the update "Main Menu" move the highlighted line to "Change Source or Destination ->" and press "Return" or "Select Item". 3) Make sure the highlighted item in the "Change Source or Destination" window is "From Tape Device to Local System ...", then press "Return" or "Select Item". 4) You should now be in the "From Tape Device to Local System" window. Change the "Source: /dev/rmt/0m" to "Source: /tmp/PHKL_2287.updt" (this assumes that you are in the /tmp directory where PHKL_2287.updt has been placed). Note: You must enter the complete path name. 5) Press "Done". 6) From here on follow the standard directions for update. The customized script that update runs will move the original software to /system/PHKL_2287/orig. HP recommends keeping this software there in order to recover from any potential problems. It is also recommended that you move the PHKL_2287.text file to /system/PHKL_2287 to be retained for future reference. If you wish to put this patch on a magnetic tape and update from the tape drive, dd a copy of the patch to the tape drive. As an example the following will create a copy of the patch that update can read: dd if=PHKL_2287.updt of=/dev/rmt/0m bs=2048