SciVis Wiki
Advertisement

Compression in ParaView Geometry Delivery[]

The following figure shows delivery time measured in seconds vs. geometry size measured in bytes. Red dots represent no compression while blue dots represent Zlib compression. In clockwise from upper left results obtained over 3 connections are shown, 1) localhost, 2) 100 MB/s, 3) Broadband. The test data was generated using the Sphere Source and increasing the theta and phi resolution by powers of two. A ParaView state file was used to save the test data and can be used to reproduce the results. Note: the plot is log-log so it's not that easy to read, but see the figure where we plot speed up below.

all


The following figure shows the speed up (left) and compression ratio (right) obtained with the Zlib geometry compressor plotted against the geometry size. The speed over three connects are shown, 1) localhost (cyan), 2) 100 MB/s (yellow) and 3) broadband (green).

speed

Input[]

The input for the above test were a series of spheres each with a theta and phi resolution increasing by powers of two.

Spheres

spheres

Compression of VTK Datasets[]

The following tables details the affects of compression on a VTK binary legacy dataset, and the runtime of a compress-decompress cycle. Three compression schemes were compared, bzip2, zlib, and szip. Three similar datasets were used for the comparison. Each was generated by an iso-surface filter applied to some simulation data. The difference between the resulting dataset is their size.




Input Dataset Case Number Scheme Name Final size Compression Ratio Relative Compression Ratio Time Delta Relative Time Delta

con_05.vtk

56599161

1bzip2281387442.011431.0720711.23994.41872
2szip-ec438038271.292110.6886771.09160.42914
3szip-nn427319911.324510.7059511.250580.49164
4* zlib-1301666771.8762112.54371
5zlib-9301641101.876371.0000940.237415.8185

con_07.vtk

310901673

6bzip21725288751.802031.0712869.55574.62064
7szip-ec2297267301.353350.804556.032120.400718
8szip-nn2338070431.329740.790516.912880.459228
9* zlib-11848267551.68212115.05331
10zlib-91857212781.674020.995184195.813.0072

con_08.vtk

3073642458

11bzip217403079691.766151.05254685.4724.58219
12szip-ec24761443961.24130.73975459.72010.399212
13szip-nn23897816041.286160.76648765.52720.438031
14* zlib-118317368231.677991149.5951
15zlib-918379889571.672290.9965982017.2413.4847

Input[]

The input data were isosurfaces of a test dataset at three levels. The 0.5 level produced the smallest isosurface while the value 0.8 produced a very large isosurface.

Con 05

Isosurface 0.5

Con 07

Isosurface 0.7

Advertisement