AFD Performance


AFD Compilation

There are several ways to influence performance when compiling AFD. The simplest form is using the values supplied by the configure option, see README.configure in the AFD source tree for more details.

The second and more tricky way is to change values in the header files. Note that if you do change these values you need in most cases to initialize AFD before you use such binaries. Below is a list of values you can change:

Variable Header file name Description Initialize AFD
MAX_NO_PARALLEL_JOBS
src/init_afd/afddefs.h
Per default only five parallel sessions are allowed per alias. On long distance connections or connections that have a high latency it might be useful to increase this value. Downside of this option is that you need sligthly more memory. Yes

AFD Configuration

MAX_COPIED_FILES If your system receives huge number of small files, set this value accordingly to a high value only if the system is fast enough to handle this load. If not, set this to a low value, so AFD will start as early as possible with the distribution. This setting will effect all DIR_CONFIG values, unless max files is set under [dir options].


Copyright © 1997 - 2010 by H.Kiehl
Holger.Kiehl@dwd.de
Last updated: 26.05.2010
Home