next up previous contents index
Next: 4.5.4 Inlining Up: 4.5 Optimization, compiler switches Previous: 4.5.2 Vectorization   Contents   Index


4.5.3 Cache usage

The user has to find optimum values for the parameters n_hydcellsperchunk (for the Roe and the HLLMHD solver module, see Sect.7.1.8.9) and n_viscellsperchunk (for the tensor-viscosity module, see Sect.7.1.11.17) to optimize the size of the chunk given to one thread per time. For the Roe solver of the hydrodynamics module, there exist also the optional parameters n_hydcellsperchunk2 (see Sect.7.1.9.1) and n_hydcellsperchunk3 (see Sect.7.1.9.2).