This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revision Both sides next revision | ||
opt:multithreading [2018/08/31 12:08] pklapetek |
opt:multithreading [2018/08/31 12:08] pklapetek |
||
---|---|---|---|
Line 8: | Line 8: | ||
In the following example we have changed the number of threads from 1 to 4 on a workstation that we use for most of the calculations (2x Intel Xeon processor with 8 cores) and on a more regular computer (Lenovo Yoga notebook, Intel Core i7 processor). The computation time for different number of threads is shown below. | In the following example we have changed the number of threads from 1 to 4 on a workstation that we use for most of the calculations (2x Intel Xeon processor with 8 cores) and on a more regular computer (Lenovo Yoga notebook, Intel Core i7 processor). The computation time for different number of threads is shown below. | ||
- | {{ :samples:threads.png?400 |}} | + | {{ :samples:threads.png?500 |}} |
Similarly to the use of [[opt:graphics_cards|graphics cards]], the larger and more complex is the calculation the better is the scaling as the administration (e.g. data initialization or file output) is larger (relatively to the rest of the calculation) for simple and small problems. | Similarly to the use of [[opt:graphics_cards|graphics cards]], the larger and more complex is the calculation the better is the scaling as the administration (e.g. data initialization or file output) is larger (relatively to the rest of the calculation) for simple and small problems. |