Print this page
4953763 Need way to configure NFS window sizes without changing system wide defaults
6216670 NFS server needs a bigger transmit buffer
| Split |
Close |
| Expand all |
| Collapse all |
--- old/usr/src/cmd/fs.d/nfs/etc/nfs.dfl
+++ new/usr/src/cmd/fs.d/nfs/etc/nfs.dfl
1 -# ident "%Z%%M% %I% %E% SMI"
2 1 #
3 -# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
2 +# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
4 3 # Use is subject to license terms.
5 4 #
6 5 # CDDL HEADER START
7 6 #
8 7 # The contents of this file are subject to the terms of the
9 -# Common Development and Distribution License, Version 1.0 only
10 -# (the "License"). You may not use this file except in compliance
11 -# with the License.
8 +# Common Development and Distribution License (the "License").
9 +# You may not use this file except in compliance with the License.
12 10 #
13 11 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
14 12 # or http://www.opensolaris.org/os/licensing.
15 13 # See the License for the specific language governing permissions
16 14 # and limitations under the License.
17 15 #
18 16 # When distributing Covered Code, include this CDDL HEADER in each
19 17 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
20 18 # If applicable, add the following below this CDDL HEADER, with the
21 19 # fields enclosed by brackets "[]" replaced with your own identifying
22 20 # information: Portions Copyright [yyyy] [name of copyright owner]
23 21 #
24 22 # CDDL HEADER END
25 23 #
26 24
27 25 # Sets the maximum number of concurrent connection oriented connections.
28 26 # Default is unlimited and is obtained by not setting NFSD_MAX_CONNECTIONS.
29 27 # Equivalent to -c.
30 28 #NFSD_MAX_CONNECTIONS=
31 29
32 30 # Set connection queue length for the NFS over a connection-oriented
33 31 # transport. The default value is 32 entries.
34 32 # Equivalent to -l.
35 33 NFSD_LISTEN_BACKLOG=32
36 34
37 35 # Start NFS daemon over the specified protocol only.
38 36 # Equivalent to -p, ALL is equivalent to -a on the nfsd command line.
39 37 # Mutually exclusive with NFSD_DEVICE.
40 38 NFSD_PROTOCOL=ALL
41 39
42 40 # Start NFS daemon for the transport specified by the given device only.
43 41 # Equivalent to -t.
44 42 # Mutually exclusive with setting NFSD_PROTOCOL.
45 43 #NFSD_DEVICE=
46 44
47 45 # Maximum number of concurrent NFS requests.
48 46 # Equivalent to last numeric argument on nfsd command line.
49 47 NFSD_SERVERS=16
50 48
51 49 # Set connection queue length for lockd over a connection-oriented transport.
52 50 # Default and minimum value is 32.
53 51 LOCKD_LISTEN_BACKLOG=32
54 52
55 53 # Maximum number of concurrent lockd requests.
56 54 # Default is 20.
57 55 LOCKD_SERVERS=20
58 56
59 57 # Retransmit Timeout before lockd tries again.
60 58 # Default is 5.
61 59 LOCKD_RETRANSMIT_TIMEOUT=5
62 60
63 61 # Grace period in seconds that all clients (both NLM & NFSv4) have to
64 62 # reclaim locks after a server reboot. Also controls the NFSv4 lease
65 63 # interval.
66 64 # Overrides the deprecated setting LOCKD_GRACE_PERIOD.
67 65 # Default is 90 seconds.
68 66 GRACE_PERIOD=90
69 67
70 68 # Deprecated.
71 69 # As for GRACE_PERIOD, above.
72 70 # Default is 90 seconds.
73 71 #LOCKD_GRACE_PERIOD=90
74 72
75 73 # Sets the minimum version of the NFS protocol that will be registered
76 74 # and offered by the server. The default is 2.
77 75 #NFS_SERVER_VERSMIN=2
78 76
79 77 # Sets the maximum version of the NFS protocol that will be registered
80 78 # and offered by the server. The default is 4.
81 79 #NFS_SERVER_VERSMAX=4
82 80
83 81 # Sets the minimum version of the NFS protocol that will be used by
84 82 # the NFS client. Can be overridden by the "vers=" NFS mount option.
85 83 # The default is 2.
86 84 #NFS_CLIENT_VERSMIN=2
87 85
88 86 # Sets the maximum version of the NFS protocol that will be used by
89 87 # the NFS client. Can be overridden by the "vers=" NFS mount option.
90 88 # If "vers=" is not specified for an NFS mount, this is the version
91 89 # that will be attempted first. The default is 4.
92 90 #NFS_CLIENT_VERSMAX=4
93 91
|
↓ open down ↓ |
72 lines elided |
↑ open up ↑ |
94 92 # Determines if the NFS version 4 delegation feature will be enabled
95 93 # for the server. If it is enabled, the server will attempt to
96 94 # provide delegations to the NFS version 4 client. The default is on.
97 95 #NFS_SERVER_DELEGATION=on
98 96
99 97 # Specifies to nfsmapid daemon that it is to override its default
100 98 # behavior of using the DNS domain, and that it is to use 'domain' as
101 99 # the domain to append to outbound attribute strings, and that it is to
102 100 # use 'domain' to compare against inbound attribute strings.
103 101 #NFSMAPID_DOMAIN=domain
102 +
103 +# Specifies TCP send and receive buffer size of NFS server connections.
104 +#
105 +# To override the default values and force NFS connections to use system-wide
106 +# default TCP send and receive buffer size, set the corresponding option to 0.
107 +#
108 +# Default is 1048576 bytes, which is the current maximum allowable buffer size
109 +# limited by system-wide 'tcp_max_buf' configuration variable. To set the buffer
110 +# size beyond the current maximum allowable value, increase 'tcp_max_buf' to
111 +# a value greater than, or equal to, the desired value for NFS_SERVER_SNDBUFSZ
112 +# and NFS_SERVER_RCVBUFSZ.
113 +#
114 +#NFS_SERVER_SNDBUFSZ=1048576
115 +#NFS_SERVER_RCVBUFSZ=1048576
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX