stubfuse

Simulates a FUSE mount point to determine its read and write performance.

Simulates a FUSE mount point and creates a large test file named hello. Use the dd command to print the maximum read and write performance of this mount point. The values give you a fair idea of the performance to expect from a Data Fabric POSIX FUSE client. For more information, see HPE Ezmeral Data Fabric FUSE-Based POSIX Client

NOTE
Use an empty directory for the test, as the contents of this directory are emptied during the test. The files that are created during the test are not present after the test.
ATTENTION
Export the path to libfuse.so before running this command. Run:
export LD_LIBRARY_PATH="/opt/mapr/lib"

Syntax

/opt/mapr/bin/stubfuse <mountpoint> [<options>] [-h|--help]

Parameters

Parameter Description
-h|--help Prints syntax and all supported options.
mountpoint The simulated FUSE mount point. This parameter is required.
options The options that can be specified with the command. Use -h or --help to retrieve the list of supported options.

Example

Retrieve the read and write performance for the mount point, /tmp/egmnt:

  • For a write test: dd if=/dev/zero of=/tmp/egmnt/hello count=100k bs=128k oflag=direct
    NOTE
    The name of the output file has to be hello. Else, the command will fail.
  • For a read test: dd if=/tmp/egmnt/hello of=/dev/null count=100k bs=128k
    NOTE
    The name of the input file has to be hello. Else, the command will fail.

The output will look similar to the following results:

100+0 records in
100+0 records out
5120 bytes (5.1 kB) copied, 0.000233249 s, 22.0 MB/s