Software Distributor Administration Guide for HP-UX 11i
Creating Software Packages
Packaging Tasks and Examples
Chapter 10358
Compressing Files to Increase Performance
The packaging process may pass large amounts of data back and forth
over the network and might slow down network performance. The
compress_files option can improve performance by first compressing
files that are to be transferred. This performance gained depends on the
type of files transferred. Binary files compress less than 50%, text files
generally compress more. Improvements are best when transfers are
across a slow network (approximately 50Kbytes/second or less).
If set to true, compress_files compresses files (if they have not been
compressed previously by SD-UX) before transfer from a source. You may
also specify a compression type with the compression_type option or
specify a compression command with the compression_command option.
This option should be set to true only when network bandwidth is clearly
restricting total throughput. If it is not clear that this option will help,
compare packaging operations both with and without compression before
consistently using this option. See Appendix A, “Command Options,” on
page 421 for more information on using command options.
NOTE swpackage cannot compress files when writing to a tape.
Packaging Security
SD-UX provides Access Control Lists (ACLs) to authorize who has
permission to perform specific operations on depots. Because the
swpackage command creates and modifies local depots only, the SD-UX
security provisions for remote operations do not apply to swpackage. See
Chapter 9, “SD-UX Security,” on page 255 for more information on ACLs.
The swpackage command operates as setuid root, that is, the Package
Selection phase operates as the invoking user, the Analysis and
Packaging phases operate as the superuser. The superuser owns and
manages all depots and therefore has all permissions for all operations
on a depot. If the depot happens to be on an NFS volume, access
problems will not arise from ACLs, but will arise if the local superuser
does not have NFS root access on the NFS mounted file system.
If you are not the local superuser, you will not have permission to create
or modify a depot unless the local superuser grants you permission.