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
Next revision
Previous revision
Next revision Both sides next revision
opt:memory_usage [2018/01/29 12:51]
pklapetek
opt:memory_usage [2018/08/31 13:09]
pklapetek
Line 1: Line 1:
 ===== Memory usage ===== ===== Memory usage =====
  
-As FDTD is memory demanding, GSvit is designed to use only the minimum needed ​amount of memory. ​Memory ​can be further saved by using only tabulated materials ​or defining that there is no electrical or no magnetic properties variance ​in the computational domain.+As FDTD is memory demanding, GSvit is designed to save some amount of memory, not allocating the data arrays that might not be neededThis option is by default switched off and can be switched on via XSvit or by setting MATMODE_CHECK option ​in the parameter file. It still does not cover the whole spectrum of possible memory savings that will be implemented in future, however in certain cases it can be still helpful.
  
-The most demanding material regime are related to handling of metals (PLRC, ADE), where we need to store some extra fields. ​+In the following example the memory demands for running calculation on the same box size (300x300x300) with different materials inside it are evaluated. 
 + 
 + 
 +^ material ​            ^ Used memory (GB) ^ 
 +| none                 ​| ​                    | 
 +| dielectric tabulated |                     | 
 +| dielectric full      |                     | 
 +| metallic ADE         ​| ​                    | 
 +| metallic PLRC        |                     ​| ​          
 + 
 +---- 
 +// 
 +{{ :​samples:​img_memory.png?​100|}} 
 +Sample parameter file: {{samples:​memory.tar.gz|memory handling}}. 
 +\\ 
 +A 300x300x300 computational domain with a plane wave and a sphere of different material, with different material storage modes used. 
 +// 
 +---- 
 + 
 +Memory can be further saved by using only tabulated materials or defining that there is no electrical or no magnetic properties variance in the computational domain. 
 +On the other hand, the most demanding material regime are related to handling of metals (PLRC, ADE), where we need to store some extra fields. ​
opt/memory_usage.txt · Last modified: 2018/08/31 16:09 by pklapetek