mirror_zfs/tests/zfs-tests/tests/perf/nfs-sample.cfg
Ahmed Ghanem 9634299657 OpenZFS 9185 - Enable testing over NFS in ZFS performance tests
This change makes additions to the ZFS test suite that allows the
performance tests to run over NFS. The test is run and performance data
collected from the server side, while IO is generated on the NFS client.

This has been tested with Linux and illumos NFS clients.

Authored by: Ahmed Ghanem <ahmedg@delphix.com>
Reviewed by: Dan Kimmel <dan.kimmel@delphix.com>
Reviewed by: John Kennedy <john.kennedy@delphix.com>
Reviewed by: Kevin Greene <kevin.greene@delphix.com>
Reviewed-by: Richard Elling <Richard.Elling@RichardElling.com>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Ported-by: John Kennedy <john.kennedy@delphix.com>
Signed-off-by: John Kennedy <john.kennedy@delphix.com>

OpenZFS-issue: https://www.illumos.org/issues/9185
Closes #8367
2019-02-04 09:27:37 -08:00

47 lines
1.4 KiB
INI

#
# This file and its contents are supplied under the terms of the
# Common Development and Distribution License ("CDDL"), version 1.0.
# You may only use this file in accordance with the terms of version
# 1.0 of the CDDL.
#
# A full copy of the text of the CDDL should have accompanied this
# source. A copy of the CDDL is also available via the Internet at
# http://www.illumos.org/license/CDDL.
#
#
# Copyright (c) 2016 by Delphix. All rights reserved.
#
#
# This file is a sample NFS configuration for the performance tests. To use the
# performance tests over NFS you must have:
# - a client machine with fio and sudo installed
# - passwordless SSH set up from this host
# for delphix and root users to the client
# - passwordless sudo for the user on the client
#
# The IP address for the server
export NFS_SERVER=127.0.0.1
# The IP address for the client
export NFS_CLIENT=127.0.0.1
# The mountpoint to use inside the client
export NFS_MOUNT=/var/tmp/nfs
# The user to run the tests as on the client
export NFS_USER=delphix
# Common NFS client mount options
export NFS_OPTIONS="-o rw,nosuid,bg,hard,rsize=1048576,wsize=1048576,"
NFS_OPTIONS+="nointr,timeo=600,proto=tcp,actimeo=0,port=2049"
# illumos NFS client mount options
# export NFS_OPTIONS="$NFS_OPTIONS,vers=3"
# Linux NFS client mount options
export NFS_OPTIONS="-t nfs $NFS_OPTIONS,noacl,nfsvers=3"