| 1 |
nfsometer - |
| 2 |
|
| 3 |
A framework for the running and reporting of performance characteristics of |
| 4 |
workloads across NFS protocol versions, options and Linux kernels. |
| 5 |
|
| 6 |
|
| 7 |
About |
| 8 |
================== |
| 9 |
|
| 10 |
author: Weston Andros Adamson <[email protected]> |
| 11 |
website: http://wiki.linux-nfs.org/wiki/index.php/NFSometer |
| 12 |
|
| 13 |
|
| 14 |
Dependencies |
| 15 |
================== |
| 16 |
|
| 17 |
nfsometer depends on several third-party packages and will not run without |
| 18 |
them installed. |
| 19 |
|
| 20 |
- matplotlib - used for graph plotting |
| 21 |
- numpy - used by matplotlib, stats functions |
| 22 |
- mako - used for html templating of reports |
| 23 |
- nfs-utils - mount.nfs, mountstats, etc |
| 24 |
- time - /bin/time |
| 25 |
|
| 26 |
On a fedora system the following command will install these packages: |
| 27 |
|
| 28 |
# sudo yum install python-matplotlib numpy python-mako nfs-utils time |
| 29 |
|
| 30 |
Other distros will have a similar command. |
| 31 |
|
| 32 |
|
| 33 |
Installation |
| 34 |
================ |
| 35 |
|
| 36 |
nfsometer is designed to be able to run without installation, ie: |
| 37 |
|
| 38 |
# ./nfsometer.py --help |
| 39 |
|
| 40 |
nfsometer can also be installed to standard python site-packages and |
| 41 |
executable directories (must be run as root): |
| 42 |
|
| 43 |
# python setup.py install |
| 44 |
# nfsometer --help |
| 45 |
|
| 46 |
|
| 47 |
Using nfsometer |
| 48 |
================= |
| 49 |
|
| 50 |
See the nfsometer manpage: |
| 51 |
|
| 52 |
man nfsometer |
| 53 |
|
| 54 |
Or use the help: |
| 55 |
|
| 56 |
./nfsometer.py --help |
| 57 |
|
| 58 |
And see examples (the same as in the manpage): |
| 59 |
|
| 60 |
./nfsometer.py examples |
| 61 |
|
| 62 |
|
| 63 |
Adding a workload |
| 64 |
====================== |
| 65 |
|
| 66 |
Adding a workload is designed to be very simple. |
| 67 |
|
| 68 |
Copy the 'nfsometer-workload-template' file to a file in the workloads |
| 69 |
directory that ends with ".nfsometer", edit this file following the |
| 70 |
instructions contained within. |
| 71 |
|
| 72 |
Most of the time it's probably easier to just use a custom workload - |
| 73 |
see the manpage for more info on the custom workload. |
| 74 |
|
| 75 |
|
| 76 |
Contributing back |
| 77 |
================== |
| 78 |
|
| 79 |
See howto-contribute.txt |
| 80 |
|