[OpenAFS] rxperf

Benjamin Kaduk kaduk@mit.edu
Thu, 7 Mar 2019 06:59:37 -0600


On Thu, Mar 07, 2019 at 01:19:46PM +0100, Stephan Wiesand wrote:
> Hi,
> 
> > On 7. Mar 2019, at 09:03, Andreas Ladanyi <andreas.ladanyi@kit.edu> wrote:
> > 
> > Hi,
> > 
> > i want to test rx performance with rxperf. Where can i get rxperf ?
> 
> it happens to be packaged in SL's plumbing-tools rpm. I think the executable should work on most other current distros too. This is on Ubuntu 18.04:
> 
> /tmp % wget -q -O - http://ftp.scientificlinux.org/linux/scientific/7.6/x86_64/os/Packages/openafs-1.6-sl-plumbing-tools-1.6.23-289.sl7.x86_64.rpm | rpm2cpio | cpio -id
> 12502 blocks
> /tmp % ./usr/afs/debug/rxperf
> usage: /rxperf client -c send -b <bytes>
> usage: /rxperf client -c recv -b <bytes>
> usage: /rxperf client -c rpc  -S <sendbytes> -R <recvbytes>
> usage: /rxperf client -c file -f filename
> /rxperf: usage:	common option to the client -w <write-bytes> -r <read-bytes> -T times -p port -s server -D
> usage: /rxperf server -p port
> 
> There's no 1.8.x package yet though.
> 
> But you'll also find it in src/tools/rxperf after "./configure --disable-kernel-module; make".

Yup, it's in the source tree mostly as a debugging tool, and not really
polished enough for general use.

In particular, the actual data it collects is not particularly well
documented, so source-diving may be needed to interpret the results
properly.

-Ben

> Maybe we should add it in our redhat packaging.