Copying and Creating Package Repositories in Oracle® Solaris 11.2

Exit Print View

Updated: September 2014
 
 

Performance Considerations for Copying Repositories

If you download repository files from the Oracle Solaris download site, or if you use the pkgrecv command shown in Copying a Repository From the Internet to retrieve repository content from an Internet location, consider the following configuration to improve your transfer performance:

  • Ensure that your ZFS storage pool capacity is less than 80%. Use the zpool list command to view your pool capacity.

  • If you are using a proxy, check the performance of the proxy.

  • Close applications that use a large amount of memory.

  • Ensure adequate free space is available in the temporary directory. During its operations, the pkgrecv command uses $TMPDIR as a temporary storage directory. If TMPDIR is not set, pkgrecv uses /var/tmp for this temporary storage. Ensure that $TMPDIR or /var/tmp has enough free space for the size of the pkgrecv operation you are doing.

  • If you are using the pkgrecv command to copy a large repository, consider using the --clone option. Using the --clone option is faster and consumes less memory. See How to Clone a Local IPS Package Repository.

  • If you are using the pkgrecv command to create or update a large repository, consider using an SSD for the destination repository. You can move the repository as needed after the package retrieval is complete.