Home | History | Annotate | Download | only in www

Lines Matching full:performance

69 <p>It can be difficult to predict behavior in a parallel environment. Performance might depend on a number of factors including the compiler, the version of the OpenMP library, the processor type, the number of cores, the amount of memory, whether hyperthreading is enabled, the mix of applications that are executing concurrently with ImageMagick, or the particular image-processing algorithm you utilize. The only way to be certain of the optimal performance, in terms of the number of threads, is to benchmark. ImageMagick includes progressive threading when benchmarking a command and returns the elapsed time and efficiency for one or more threads. This can help you identify how many threads are the most efficient in your environment. Here is an example benchmark for threads 1-8:</p>
73 Performance[1]: 40i 0.712ips 1.000e 14.000u 0:14.040
74 Performance[2]: 40i 1.362ips 0.657e 14.550u 0:07.340
75 Performance[3]: 40i 2.033ips 0.741e 14.530u 0:04.920
76 Performance[4]: 40i 2.667ips 0.789e 14.590u 0:03.750
77 Performance[5]: 40i 3.236ips 0.820e 14.970u 0:03.090
78 Performance[6]: 40i 3.802ips 0.842e 15.280u 0:02.630
79 Performance[7]: 40i 4.274ips 0.857e 15.540u 0:02.340
80 Performance[8]: 40i 4.831ips 0.872e 15.680u 0:02.070
82 <p>Better performance correlates with higher values of IPS (iterations-per-second). In our example, 8 cores are optimal. However, in certain cases it might be optimal to set the number of threads to 1 (e.g. <code>-limit thread 1</code>) or to disable OpenMP completely. To disable this feature, add <code>--disable-openmp</code> to your configure script command line then rebuild and re-install ImageMagick.</p>