Benchmark Tool for Measuring Throughput
Overview
The Benchmark tool accurately measures throughput with, and without, CTE encryption. The utility compares the performance throughput between an unguarded directory and a guarded directory.
This command tests two different use cases:
-
Sequential read/write against large files
-
Sequential read/write against a large number of small files
Output
The output produces the following information:
-
read/write IO throughput __ MB/sec
-
Percentage of difference between the guarded and non-guarded GuardPoint
Configuration Profiles
There are two profile configuration files located in: /opt/vormetric/DataSecurityExpert/agent/secfs/conf.
-
cte-perf-large.conf -
cte-perf-small.conf
You can modify the configuration in the files to meet your measurement requirements.
cte-perf-large.conf
FIO configuration profile for large data file
[global]
ioengine=sync
direct=1
runtime=60
time_based
[cte_perf_jobs]
numjobs=4
bs=1m
size=8G
cte-perf-small.conf
FIO configuration profile for thousand small files
[global]
ioengine=sync
direct=1
runtime=60
time_based
[open-io-close-jobs]
numjobs=4
bs=4k
size=64k
filesize=64k
nrfiles=250
Prerequisites
-
Install the Linux
fioandjqpackages from the package repository of the OS from which you are running -
Users must have root privilege to use the command
-
Users must be able to access and write to the two directories in which the tool is comparing data
Voradmin Command
Use the following voradmin command to run the tool:
voradmin secfs perf <clear-text-directory> <guarded-directory>
Examples
Measuring the Throughput for both Use cases
voradmin secfs perf nogp stdgp
Example Results
Test sequential read/write large data files
> Engine=sync, Direct=1, BS=1m, Jobs=4, NFiles=1, FileSize=8G
> /non-gp write ...
> flushing page caches ...
> /non-gp read ...
> flushing page caches ...
> /gp write ...
> flushing page caches ...
> /gp read ...
Metric /non-gp /gp % Difference
----------------------------------- --------------- --------------- ----------
Read throughput (MB/s) 823.62 828.06 0
Write throughput (MB/s) 1654.82 1628.73 -1.00
Test open-read/write-close thousands of small files
> Engine=sync, Direct=1, BS=4k, Jobs=4, NFiles=250, FileSize=64k
> /non-gp write ...
> flushing page caches ...
> /non-gp read ...
> flushing page caches ...
> /gp write ...
> flushing page caches ...
> /gp read ...
Metric /non-gp /gp % Difference
----------------------------------- --------------- --------------- ----------
Read throughput (MB/s) 418.06 399.69 -4.00
Write throughput (MB/s) 535.70 525.67 -1.00
CTE performance measurement completed