I’m running nfs v3 on 64bit opensuse 12.2 as an NFS server to a number of clients but I’d like (if possible) to increase RAM usage to offset slow disks on the server.
The machine isn’t tasked with anything else so the increased ram usage can only improve things I feel by getting more out of the hardware I have and it doesn’t appear to be maxing out the RAM or CPU when under load.
I realise the network is the pinch point but its on a 1Gbit connection with jumbo frames (MTU) enabled along the entire length of the connection but it seems wasteful to have RAM available and not to make use of it, I also realise it won’t make up for v slow disks but any improvement would be welcome
What I’ve done so far (not to increase ram but improve performance)
- I’ve increased the thread count from the default
- I’ve changed the mounting option to async
I’m not sure whats the best way to configure NFS to consume more RAM as a way to increase performance so any advice is welcome
Attached is my **/etc/syconfig/nfs
**
#
## Path: Network/File systems/NFS server
## Description: number of threads for kernel nfs server
## Type: integer
## Default: 4
## ServiceRestart: nfsserver
#
# the kernel nfs-server supports multiple server threads
#
USE_KERNEL_NFSD_NUMBER="16"
## Path: Network/File systems/NFS server
## Description: use fixed port number for mountd
## Type: integer
## Default: ""
## ServiceRestart: nfsserver
#
# Only set this if you want to start mountd on a fixed
# port instead of the port assigned by rpc. Only for use
# to export nfs-filesystems through firewalls.
#
MOUNTD_PORT=""
## Path: Network/File systems/NFS server
## Description: GSS security for NFS
## Type: yesno
## Default: yes
## ServiceRestart: nfs nfsserver
#
# Enable RPCSEC_GSS security for NFS (yes/no)
#
NFS_SECURITY_GSS="no"
## Path: Network/File systems/NFS server
## Description: NFSv3 server support
## Type: yesno
## Default: yes
## ServiceRestart: nfsserver
#
# Enable NFSv3 server support (yes/no)
# This causes the NFS server to respond to
# NFSv2 and NFSv3 requests. Only disable this
# if you want to ensure only NFSv4 is used.
#
NFS3_SERVER_SUPPORT="yes"
## Path: Network/File systems/NFS server
## Description: NFSv4 protocol support
## Type: yesno
## Default: yes
## ServiceRestart: nfs nfsserver
#
# Enable NFSv4 support (yes/no)
#
NFS4_SUPPORT="no"
## Path: Network/File systems/NFS server
## Description: Network Status Monitor options
## Type: string
## Default: ""
#
#
SM_NOTIFY_OPTIONS=""