Question of the libnfs-python

57 views
Skip to first unread message

wang larry

unread,
Feb 19, 2022, 7:22:58 AM2/19/22
to libnfs
Greetings, 

I am pretty new to the libnfs, and investigating on if it is possible to use this tool for the NFS server stress testing, I have limited NFS clients(say, less than 5) but I want to simulate around 1000 nfs clients, is it possible to do it by using libnfs-python?

BR, 
Larry

wang larry

unread,
Feb 19, 2022, 7:41:32 AM2/19/22
to libnfs
Also, just found the tool dbench could do the same, however, I tried the steps following the steps here but did not work, below is my testing steps:

1, start the tshark: tshark -i eth0 -s 0 -w nfs.cap host 10.53.175.197
2, [root@VM_248_193_centos ~]# tshark -v
TShark 1.10.14 (Git Rev Unknown from unknown)

Copyright 1998-2015 Gerald Combs <ger...@wireshark.org> and contributors.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Compiled (64-bit) with GLib 2.56.1, with libpcap, with libz 1.2.7, with POSIX
capabilities (Linux), without libnl, with SMI 0.4.8, with c-ares 1.10.0, with
Lua 5.1, without Python, with GnuTLS 3.3.29, with Gcrypt 1.5.3, with MIT
Kerberos, without GeoIP.

Running on Linux 3.10.107-1-tlinux2_kvm_guest-0056, with locale en_US.UTF-8,
with libpcap version 1.5.3, with libz 1.2.7.
Intel(R) Xeon(R) CPU E5-26xx v3

Built using gcc 4.8.5 20150623 (Red Hat 4.8.5-39).
3, use nfsloadfile.sh as below get the immediate errors. :(
[root@VM_248_193_centos /]# ./tmp/dbench-master/web/nfsloadfile.sh ~/nfs.cap
tshark: -R without -2 is deprecated. For single-pass filtering use -Y.
tshark: Field "nfs.nfsstat3" doesn't exist.
Reply all
Reply to author
Forward
0 new messages