GSvit documentation

open source FDTD solver with GPU support

User Tools

Site Tools


opt:memory_usage

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
opt:memory_usage [2018/08/31 16:08]
pklapetek
opt:memory_usage [2018/08/31 16:09] (current)
pklapetek
Line 4: Line 4:
  
 In the following example the memory demands for running calculation on the same box size (300x300x300) with different materials inside it are evaluated. First, no material is in the computational domain, which means that no material arrays need to be allocated. Second, a tabulated material is used, so material is represented only by an array of integers. Next, material is fully allocated, which corresponds to a general case when the material properties can vary from voxel to voxel continuously (which would be ineffective for tabulated material). Finally, two metal treatment algorithms are used, that allocate several additional arrays for the calculation. In the following example the memory demands for running calculation on the same box size (300x300x300) with different materials inside it are evaluated. First, no material is in the computational domain, which means that no material arrays need to be allocated. Second, a tabulated material is used, so material is represented only by an array of integers. Next, material is fully allocated, which corresponds to a general case when the material properties can vary from voxel to voxel continuously (which would be ineffective for tabulated material). Finally, two metal treatment algorithms are used, that allocate several additional arrays for the calculation.
- 
-We can see that namely use of metal handling auxiliary algorithms has dramatic impact on memory needs. Also the time of calculation is shown, which reflects the fact that different algorithms are used (so only the two dielectric and two metallic entries are mutually comparable). ​ 
  
  
Line 14: Line 12:
 | metallic ADE         ​| ​  ​6.44 ​          ​| ​ 9 min 10 s      | | metallic ADE         ​| ​  ​6.44 ​          ​| ​ 9 min 10 s      |
 | metallic PLRC        |   ​7.07 ​          ​| ​ 9 min 45 s      | | metallic PLRC        |   ​7.07 ​          ​| ​ 9 min 45 s      |
 +
 +
 +We can see that namely use of metal handling auxiliary algorithms has dramatic impact on memory needs. Also the time of calculation is shown, which reflects the fact that different algorithms are used (so only the two dielectric and two metallic entries are mutually comparable). ​
  
 ---- ----
opt/memory_usage.txt ยท Last modified: 2018/08/31 16:09 by pklapetek