summaryrefslogtreecommitdiff
path: root/tools/Makefile.am
Commit message (Collapse)AuthorAgeFilesLines
* configure.ac: allow to disable nfsrahead toolnfs-utils-2-6-3-rc2Giulio Benetti2022-09-201-1/+5
| | | | | | | | | | | | This allows to make libmount not mandatory but depending on nfsrahead since it only requires it. This is useful when cross-compiling because in that case we need rpcgen only built for host but not nfsrahead that also require libmount. So this reduces the dependencies for host building. Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com> Signed-off-by: Steve Dickson <steved@redhat.com>
* Create the nfsrahead command.Steve Dickson2022-04-191-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Kernel commit c128e575514c ("NFS: Optimise the default readahead size") changed the calculation for NFS readahead from a multiple of rsize to the system default, 128 kiB. This setting has been causing read heavy workloads to underperform by at least 30%, as show below. $ cat /sys/class/bdi/0\:55/read_ahead_kb 128 $ for i in {0..3} ; do dd if=/mnt/testfile.bin of=/dev/null bs=1M 2>&1 \ | grep copied ; echo 3 > /proc/sys/vm/drop_caches ; done 4294967296 bytes (4.3 GB, 4.0 GiB) copied, 17.056 s, 252 MB/s 4294967296 bytes (4.3 GB, 4.0 GiB) copied, 17.1258 s, 251 MB/s 4294967296 bytes (4.3 GB, 4.0 GiB) copied, 16.5981 s, 259 MB/s 4294967296 bytes (4.3 GB, 4.0 GiB) copied, 16.5487 s, 260 MB/s $ echo 15360 > /sys/class/bdi/0\:55/read_ahead_kb $ for i in {0..3} ; do dd if=/mnt/testfile.bin of=/dev/null bs=1M 2>&1 \ | grep copied ; echo 3 > /proc/sys/vm/drop_caches ; done 4294967296 bytes (4.3 GB, 4.0 GiB) copied, 12.3855 s, 347 MB/s 4294967296 bytes (4.3 GB, 4.0 GiB) copied, 11.2528 s, 382 MB/s 4294967296 bytes (4.3 GB, 4.0 GiB) copied, 11.9849 s, 358 MB/s 4294967296 bytes (4.3 GB, 4.0 GiB) copied, 11.2953 s, 380 MB/s This patch and the following create a tool for automatically setting NFS readahead during the mount, nfsrahead. The tool is invoked from udev when the NFS backing device is created in kernel, and sets the readahead using the sysfs interface. Signed-off-by: Thiago Becker <tbecker@redhat.com> Signed-off-by: Steve Dickson <steved@redhat.com>
* rpcctl: Add installation to the Makefilenfs-utils-2-6-2-rc2Anna Schumaker2022-02-231-1/+1
| | | | | | | And create a shell script that launches the python program from the $(libdir) Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com> Signed-off-by: Steve Dickson <steved@redhat.com>
* nfs-utils: add new tool nfsdclnts to parse output from proc filesAchilles Gaikwad2020-05-181-1/+1
| | | | | | | | | | This tool parses the output from the following files /proc/fs/nfsd/clients/*/{states,info} Signed-off-by: Achilles Gaikwad <agaikwad@redhat.com> Signed-off-by: Kenneth D'souza <kdsouza@redhat.com> Signed-off-by: Steve Dickson <steved@redhat.com>
* nfsdclddb: Redname clddb-tool to nfsdclddbSteve Dickson2020-05-151-1/+1
| | | | | | | To try to maintain some type of name convention rename clddb-tool to nfsdclddb Signed-off-by: Steve Dickson <steved@redhat.com>
* Add a tool for manipulating the nfsdcld sqlite database schema.Scott Mayhew2019-10-141-0/+4
| | | | | | | | | | | The "clddb-tool" is mainly for downgrading the nfsdcld sqlite database schema in the event that an admin wants to downgrade nfsdcld. It also provides options for fixing corrupt table names (note newer versions of nfsdcld take care of this automatically) and for printing the contents of the database. Signed-off-by: Scott Mayhew <smayhew@redhat.com> Signed-off-by: Steve Dickson <steved@redhat.com>
* nfs-utils: Add nfsconf cliJustin Mitchell2018-05-221-0/+2
| | | | | | | | | This tool uses the conffile facilities to allow commandline querying of configuration settings and to dump the current config for diagnosis and testing Signed-off-by: Justin Mitchell <jumitche@redhat.com> Signed-off-by: Steve Dickson <steved@redhat.com>
* Add in autoconf support for mountstats and nfsiostatsnfs-utils-1-2-3-rc2Steve Dickson2010-04-161-1/+1
| | | | Signed-off-by: Steve Dickson <steved@redhat.com>
* Add --with-rpcgen= for configure so that the system rpcgen can be used.Neil Brown2007-03-201-1/+7
| | | | | | | Ultimately it makes sense to remove remove rpcgen from the nfs-utils release as it is already in the glibc release. With this patch you can use the system rpcgen to make sure it works. It is not default yet, but it might be in a future release.
* Remove tools/getiversionNeil Brown2007-03-161-1/+1
| | | | | We don't need it (any more). Also add AM_PROG_CC_C_O as we seem to need it..
* Remove getkversionNeil Brown2007-02-051-1/+1
| | | | | This is not used, does not seem useful, and causes compile problems on some distgributions.
* Autogen updateneilbrown2005-12-201-0/+5