A full discussion of maximising performance for large jobs is beyond the scope of this document, but the following are good common-sense rules of thumb.
nice +18 reduce_script
would run the script reduce_script at a `niceness' of 18. This setting means that the job will be less aggressive in requesting CPU time, thus making it run slower, but causing less disruption to other processes (presumably ones with more moderate requirements). The higher the niceness, the less demanding the job is, with 18 often a sensible maximum. Ask your system manager for more details; there may be locally recommended values for certain kinds of job. Note however that the only resource usage this affects is CPU time, so that even a maximally niced job can cause major disruption.
The 2-D CCD Data Reduction Cookbook