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 MapR POSIX FUSE
client. For more information, see Data Fabric FUSE-Based POSIX Client
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 behello
. 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 behello
. 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