Project

General

Profile

PartialLoads » History » Version 4

Ted Sume, 11/13/2019 04:01 PM

1 1 Ted Sume
# PartialLoads
2
3
# Partial Loading of Datasets
4
5
The VizSchema database reader plugin for VisIt allows the user to specify a stride to be used when loading data. In this manner, an extremely large dataset may be loaded on lower powered machines. 
6
7
**Accessing Plugin Settings**
8
9
When opening a data file with the VizSchema plugin, do not load the file by double-clicking in the browser window. Instead, use the open file command from the File menu. The open file dialog box allows the user to choose the plugin to use, and once chosen, allows the user to specify settings for that plugin. To specify settings for a plugin, click on the "Set default open options". The VizSchema plugin allows the user to enter three stride values, one for each data axis. By default these values are all "1", which specifies that the plugin should load all data. 
10 2 Ted Sume
11 4 Ted Sume
<img style="width:35%" src="https://ice.txcorp.com/attachments/download/103/DefaultOpenOptions.png"/>
12 1 Ted Sume
 
13
**Compatible datasets**
14
15
At the moment only a subset of the possible meshes and variables are capable of being partially loaded with stride values. The allowable meshes are:
16
* Uniform Meshes & Variables 
17
* Structured Meshes & Variables 
18
* Particle Data (Variable With Mesh) 
19
20
**Reductions in Memory Requirements**
21
22
VizSchema leverages hdf5 hyperslabs to load data without exceeding the allowable memory footprint. At no time is extra data loaded into memory, thus ensuring maximum efficiency on low-memory machines. Using stride values, a representative sample of even a few gigabytes of data may be loaded with only a few megabytes of memory. For example, using a stride value of 2 on all three axes will reduce the required memory by 87.5%.
23
Note that memory reductions differ depending on the dimensionality of the data. A 3-d dataset will reduce more rapidly than a 2-d dataset, simply because the 3-d dataset is being filtered by three stride values while the 2-d dataset is only being filtered by two stride values. 
24
25
**Examples**
26
The first image is from FACETS data and was loaded with stride = 1.
27 2 Ted Sume
28 4 Ted Sume
<img style="width:35%" src="https://ice.txcorp.com/attachments/download/104/stride_1.png"/>
29 2 Ted Sume
30
The second image is the same FACETS data, but loaded with a stride of 3, giving a reduction in memory footprint of 96.3%.
31
32 4 Ted Sume
<img style="width:35%" src="https://ice.txcorp.com/attachments/download/104/stride_3.png"/>