FastSort Manual

Sorting in Parallel
FastSort Manual429834-003
6-12
Specifying a Location for the Swap File
The SEGMENT parameter or the segment word of the process-start parameter
overrides AUTOMATIC, MINSPACE, or MINTIME. However, if you specify more than
90 percent of the processors physical memory not locked down by the operating
system, FastSort returns an error. For each subsort process, you can specify a
different extended segment size than for the distributor-collector process by using one
of the following parameters:
The SEGMENT parameter of the SUBSORT command
The process-start parameter of SORTMERGESTART
The SEGMENT attribute of a SUBSORT DEFINE
Specifying a Location for the Swap File
The default location for the swap file in an extended memory segment is the initial
scratch volume if the scratch file is local. If the scratch file is not local, the default
location is the disk where the program file is running. You can specify another disk for
the swap file with one of the following parameters:
The SWAP parameter of the RUN command
The process-start parameter of the SORTMERGESTART procedure
The SWAP attribute of a SORT DEFINE
Swapping, or paging, occurs only when the extended memory segment is larger than
the available physical memory, or when there is competition from other processes. To
avoid swapping, specify less extended memory for the distributor-collector process or
move it to a processor with more physical memory available or a lighter load.
Using Multiple Copies of the SORTPROG Program
By default, a distributor-collector process uses the SORTPROG program in the
$SYSTEM.SYSnn.SORTPROG file. To run a distributor-collector process from another
disk volume, follow these steps:
1. Duplicate the SORTPROG program to a file on the target volume and use the FUP
LICENSE command to license it.
2. Use one of these parameters to specify file location:
The PROGRAM parameter of the RUN command
The process-start parameter of the SORTMERGESTART procedure
The PROGRAM attribute of a SORT DEFINE