Print this page
NEX-18312 Max number of nfsd threads is set too high, thus affecting NFS performance
Reviewed by: Rick McNeal <rick.mcneal@nexenta.com>
Reviewed by: Rob Gittins <rob.gittins@nexenta.com>
NEX-3982 Default value of nfsd and lockd threads should be 256
Reviewed by: Dan Fields <dan.fields@nexenta.com>
Reviewed by: Marcel Telka <marcel.telka@nexenta.com>
NEX-2502 4.0.3 RC4 Unable to mount NFS shares
Revert "NEX-2394 mountd() door services are sub-optimal in large scale deployments".
This reverts commit c6e1673e3a4b8ba866c77dee7b8f03f858be07d6.
The fix for NEX-2394 worked fine when putting the mountd binary in 4.0.2,
but needs additional work in a 4.0.3 environment
NEX-2394 mountd() door services are sub-optimal in large scale deployments
Reviewed by: Gordon Ross <gordon.ross@nexenta.com>
Reviewed by: Rob Gittins <rob.gittins@nexenta.com>
Reviewed by: Kevin Crowe <kevin.crowe@nexenta.com>
Reviewed by: Ryuji Masuda <ryuji.masuda@nexenta.com>
Reviewed by: Kirill Davydychev <kirill.davydychev@nexenta.com>
OS-141 mountd(1m) needs to be able to set listen backlog
Reviewed by: Yuri Pankov <yuri.pankov@nexenta.com>


   5  CDDL HEADER START
   6 
   7  The contents of this file are subject to the terms of the
   8  Common Development and Distribution License (the "License").
   9  You may not use this file except in compliance with the License.
  10 
  11  You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
  12  or http://www.opensolaris.org/os/licensing.
  13  See the License for the specific language governing permissions
  14  and limitations under the License.
  15 
  16  When distributing Covered Code, include this CDDL HEADER in each
  17  file and include the License file at usr/src/OPENSOLARIS.LICENSE.
  18  If applicable, add the following below this CDDL HEADER, with the
  19  fields enclosed by brackets "[]" replaced with your own identifying
  20  information: Portions Copyright [yyyy] [name of copyright owner]
  21 
  22  CDDL HEADER END
  23 
  24         Copyright (c) 2004, 2010, Oracle and/or its affiliates. All rights reserved.

  25         Copyright (c) 2012 by Delphix. All rights reserved.
  26         Copyright 2014 Nexenta Systems, Inc.  All rights reserved
  27         Copyright 2016 Hans Rosenfeld <rosenfeld@grumpf.hope-2000.org>
  28         Copyright (c) 2012, 2014 by Delphix. All rights reserved.
  29 
  30         NOTE:  This service manifest is not editable; its contents will
  31         be overwritten by package or patch operations, including
  32         operating system upgrade.  Make customizations in a different
  33         file.
  34 
  35         Note: if this service is modified to consist of anything other
  36         than a single instance named 'default', you must make changes to
  37         $SRC/head/rpcsvc/daemon_utils.h and libnsl:open_daemon_lock().
  38 -->
  39 
  40 <service_bundle type='manifest' name='SUNWnfssr:nfs-server'>
  41 
  42 <service
  43         name='network/nfs/server'
  44         type='service'
  45         version='2'>
  46 


 159                 <propval name='block_policy' type='astring'
 160                         value='use_global' />
 161                 <propval name='apply_to' type='astring' value='' />
 162                 <propval name='apply_to_6' type='astring' value='' />
 163                 <propval name='exceptions' type='astring' value='' />
 164                 <propval name='exceptions_6' type='astring' value='' />
 165                 <propval name='target' type='astring' value='' />
 166                 <propval name='target_6' type='astring' value='' />
 167                 <propval name='value_authorization' type='astring'
 168                         value='solaris.smf.value.firewall.config' />
 169         </property_group>
 170         <instance name='default' enabled='false'>
 171          <property_group name='nfs-props' type='com.oracle.nfs,props'>
 172            <propval name='device' type='astring' value=''/>
 173            <propval name='listen_backlog' type='integer' value='32'/>
 174            <propval name='max_connections' type='integer' value='-1'/>
 175            <propval name='protocol' type='astring' value='ALL'/>
 176            <propval name='server_delegation' type='astring' value='on'/>
 177            <propval name='server_versmax' type='integer' value='4'/>
 178            <propval name='server_versmin' type='integer' value='2'/>
 179            <propval name='servers' type='integer' value='1024'/>
 180            <propval name='mountd_listen_backlog' type='integer' value='64'/>
 181            <propval name='mountd_max_threads' type='integer' value='16'/>
 182            <propval name='mountd_port' type='integer' value='0'/>
 183          </property_group>
 184         </instance>
 185 
 186         <stability value='Stable' />
 187 
 188         <template>
 189                 <common_name>
 190                         <loctext xml:lang='C'>
 191                                 NFS server
 192                         </loctext>
 193                 </common_name>
 194                 <documentation>
 195                         <manpage title='nfsd' section='1M'
 196                                 manpath='/usr/share/man' />
 197                 </documentation>
 198         </template>
 199 </service>


   5  CDDL HEADER START
   6 
   7  The contents of this file are subject to the terms of the
   8  Common Development and Distribution License (the "License").
   9  You may not use this file except in compliance with the License.
  10 
  11  You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
  12  or http://www.opensolaris.org/os/licensing.
  13  See the License for the specific language governing permissions
  14  and limitations under the License.
  15 
  16  When distributing Covered Code, include this CDDL HEADER in each
  17  file and include the License file at usr/src/OPENSOLARIS.LICENSE.
  18  If applicable, add the following below this CDDL HEADER, with the
  19  fields enclosed by brackets "[]" replaced with your own identifying
  20  information: Portions Copyright [yyyy] [name of copyright owner]
  21 
  22  CDDL HEADER END
  23 
  24         Copyright (c) 2004, 2010, Oracle and/or its affiliates. All rights reserved.
  25         Copyright 2015 Nexenta Systems, Inc.  All rights reserved.
  26         Copyright (c) 2012 by Delphix. All rights reserved.

  27         Copyright 2016 Hans Rosenfeld <rosenfeld@grumpf.hope-2000.org>
  28         Copyright (c) 2012, 2014 by Delphix. All rights reserved.
  29 
  30         NOTE:  This service manifest is not editable; its contents will
  31         be overwritten by package or patch operations, including
  32         operating system upgrade.  Make customizations in a different
  33         file.
  34 
  35         Note: if this service is modified to consist of anything other
  36         than a single instance named 'default', you must make changes to
  37         $SRC/head/rpcsvc/daemon_utils.h and libnsl:open_daemon_lock().
  38 -->
  39 
  40 <service_bundle type='manifest' name='SUNWnfssr:nfs-server'>
  41 
  42 <service
  43         name='network/nfs/server'
  44         type='service'
  45         version='2'>
  46 


 159                 <propval name='block_policy' type='astring'
 160                         value='use_global' />
 161                 <propval name='apply_to' type='astring' value='' />
 162                 <propval name='apply_to_6' type='astring' value='' />
 163                 <propval name='exceptions' type='astring' value='' />
 164                 <propval name='exceptions_6' type='astring' value='' />
 165                 <propval name='target' type='astring' value='' />
 166                 <propval name='target_6' type='astring' value='' />
 167                 <propval name='value_authorization' type='astring'
 168                         value='solaris.smf.value.firewall.config' />
 169         </property_group>
 170         <instance name='default' enabled='false'>
 171          <property_group name='nfs-props' type='com.oracle.nfs,props'>
 172            <propval name='device' type='astring' value=''/>
 173            <propval name='listen_backlog' type='integer' value='32'/>
 174            <propval name='max_connections' type='integer' value='-1'/>
 175            <propval name='protocol' type='astring' value='ALL'/>
 176            <propval name='server_delegation' type='astring' value='on'/>
 177            <propval name='server_versmax' type='integer' value='4'/>
 178            <propval name='server_versmin' type='integer' value='2'/>
 179            <propval name='servers' type='integer' value='256'/>
 180            <propval name='mountd_listen_backlog' type='integer' value='64'/>
 181            <propval name='mountd_max_threads' type='integer' value='16'/>
 182            <propval name='mountd_port' type='integer' value='0'/>
 183          </property_group>
 184         </instance>
 185 
 186         <stability value='Stable' />
 187 
 188         <template>
 189                 <common_name>
 190                         <loctext xml:lang='C'>
 191                                 NFS server
 192                         </loctext>
 193                 </common_name>
 194                 <documentation>
 195                         <manpage title='nfsd' section='1M'
 196                                 manpath='/usr/share/man' />
 197                 </documentation>
 198         </template>
 199 </service>