Sponsored Content
Full Discussion: Solaris Performance
Operating Systems Solaris Solaris Performance Post 302898363 by Sunil Koya on Monday 21st of April 2014 06:34:00 PM
Old 04-21-2014
Code:
# cat /etc/nscd.conf
#
# Copyright (c) 1994-2001 by Sun Microsystems, Inc.
# All rights reserved.
#
#ident  "@(#)nscd.conf  1.6     01/01/26 SMI"
#

#
#       Currently supported cache names: passwd, group, hosts, ipnodes
#           exec_attr, prof_attr, user_attr
#

#       logfile                 /var/adm/nscd.log
#       enable-cache            hosts           no

        debug-level             0

        positive-time-to-live   passwd          600
        negative-time-to-live   passwd          5
        suggested-size          passwd          211
        keep-hot-count          passwd          20
        old-data-ok             passwd          no
        check-files             passwd          yes

        positive-time-to-live   group           3600
        negative-time-to-live   group           5
        suggested-size          group           211
        keep-hot-count          group           20
        old-data-ok             group           no
        check-files             group           yes

        positive-time-to-live   hosts           3600
        negative-time-to-live   hosts           5
        suggested-size          hosts           211
        keep-hot-count          hosts           20
        old-data-ok             hosts           no
        check-files             hosts           yes

        positive-time-to-live   ipnodes         3600
        negative-time-to-live   ipnodes         5
        suggested-size          ipnodes         211
        keep-hot-count          ipnodes         20
        old-data-ok             ipnodes         no
        check-files             ipnodes         yes

        positive-time-to-live   exec_attr       3600
        negative-time-to-live   exec_attr       300
        suggested-size          exec_attr       211
        keep-hot-count          exec_attr       20
        old-data-ok             exec_attr       no
        check-files             exec_attr       yes

        positive-time-to-live   prof_attr       3600
        negative-time-to-live   prof_attr       5
        suggested-size          prof_attr       211
        keep-hot-count          prof_attr       20
        old-data-ok             prof_attr       no
        check-files             prof_attr       yes

        positive-time-to-live   user_attr       3600
        negative-time-to-live   user_attr       5
        suggested-size          user_attr       211
        keep-hot-count          user_attr       20
        old-data-ok             user_attr       no
        check-files             user_attr       yes


++Above is nscd.conf file after nscd re-start


Regards,
Sunil

Last edited by DukeNuke2; 04-22-2014 at 02:51 AM..
 

9 More Discussions You Might Find Interesting

1. UNIX Desktop Questions & Answers

oracle performance on solaris 8

Good evening all, I have a very interesting issue. I have an oracle database on unix and nt. The dba says that his delete process runs in 22 mins on nt. When I run the same delete process on unix, it run in an hour. I downloaded sarcheck to see what was going on. It told me abpout the autoup... (3 Replies)
Discussion started by: niasdad
3 Replies

2. Solaris

Enhance Sun Solaris 10 performance ?

Guys where can i find values to add in /etc/system to make sun solaris 10 working better ? im sure there is alot of values but i dont know from where i can find them if you know any please send direct and if you know another sites send links to it, thanks so much. (5 Replies)
Discussion started by: XP_2600
5 Replies

3. Solaris

Help! Performance Threshold for Solaris 8,9,10

hi, I am trying to determine a 'rule of thumb' threshold for memory usage on different Solaris versions. I know that prior to Solaris 8, "page scan rate > 300" can be used as a general rule of thumb to determine any memory shortages. Since Solaris 9 and 10 have a different memory handling... (2 Replies)
Discussion started by: bwclu
2 Replies

4. Solaris

How I can get System Performance on Solaris

Hi All, Can someone help me out knowing all commands for getting system performance on Solaris machines. Thanks in advance, Yagami Light. (5 Replies)
Discussion started by: Yagami
5 Replies

5. Solaris

solaris performance

Dear all, I have a solaris 10 server , which is running web applications and webspere also is available. All the parameters like Virtual memory , swap , hard disk space and Cpu utilisation and I/o statistics are good , but still the server is slow. It has 2 processores and 128 VPs. ... (3 Replies)
Discussion started by: jegaraman
3 Replies

6. Solaris

Solaris Performance tuning

Dear all, I have a Local zone , where users feel that performance is not good. Is it wise to collect the inputs from the local zone rather than taking from the global zone. And also Can I tune from Global zone , so that it will reflect in local zone. Rgds rj (2 Replies)
Discussion started by: jegaraman
2 Replies

7. Solaris

T4-1/Solaris 11 and sudden 50% performance drop

We have a SPARC T4-1 server, running Solaris 11, and it's doing some pretty extensive parsing on roughly 100GB data set. All was well still few weeks ago, when I was testing the performance, I was reaching rougly 50minute calculation times, and it was more or less expected performance. Now... (0 Replies)
Discussion started by: julumme
0 Replies

8. Solaris

Solaris 11.1 Slow Network Performance

I have identical M5000 machines that are needing to transfer very large amounts of data between them. These are fully loaded machines, and I've already checked IO, memory usage, etc... I get poor network performance even when the machines are idle or copying via loopback. The 10 GB NICs are... (7 Replies)
Discussion started by: christr
7 Replies

9. Solaris

Solaris 11 performance optimization tips

Hi, I need general tips for solaris 11 performance optimization. For example - disable the unused services, etc. Thanks, Bhavin (2 Replies)
Discussion started by: bhavin1
2 Replies
nscd.conf(4)							   File Formats 						      nscd.conf(4)

NAME
nscd.conf - name service cache daemon configuration SYNOPSIS
/etc/nscd.conf DESCRIPTION
The nscd.conf file contains the configuration information for nscd(1M). Each line specifies either an attribute and a value, or an attribute, cachename, and a value. Fields are separated either by <SPACE> or <TAB> characters. A `#' (number sign) indicates the begin- ning of a comment; characters up to the end of the line are not interpreted by nscd. cachename is represented by hosts, ipnodes, passwd, group, exec_attr, prof_attr, or user_attr. attribute supports the following: logfile debug-file-name Specifies name of the file to which debug info should be written. Use /dev/tty for standard out- put. debug-level value Sets the debug level desired. value may range from 0 (the default) to 10. Use of this option causes nscd(1M) to run in the foreground and not become a daemon. Note that the output of the debugging command is not likely to remain the same from release-to-release; scripts should not rely on its format. enable-cache cachename value Enables or disables the specified cache. value may be either yes or no. positive-time-to-live cachename value Sets the time-to-live for positive entries (successful queries) in the specified cache. value is in integer seconds. Larger values increase cache hit rates and reduce mean response times, but increase problems with cache coherence. Note that sites that push (update) NIS maps nightly can set the value to be the equivalent of 12 hours or more with very good performance implications. negative-time-to-live cachename value Sets the time-to-live for negative entries (unsuccessful queries) in the specified cache. value is in integer seconds. Can result in significant performance improvements if there are several files owned by uids (user IDs) not in system databases; should be kept small to reduce cache coherency problems. suggested-size cachename value Sets the suggested number of hash buckets in the specified cache. This parameter should be changed only if the number of entries in the cache exceeds the suggested size by more than a factor of four or five. Since this is the internal hash table size, value should remain a prime number for optimum efficiency. keep-hot-count cachename value This attribute allows the administrator to set the number of entries nscd(1M) is to keep current in the specified cache. value is an integer number which should approximate the number of entries frequently used during the day. check-files cachename value Enables or disables checking the file belonging to the specified cachename for changes. If enabled (which is the default), changes in the corresponding file cause the cache to be invalidated within 10 seconds. Can be disabled if files are never modified for a slight performance boost, particu- larly over NFS. value may be either yes or no. SEE ALSO
nscd(1M), group(4), hosts(4), ipnodes(4), passwd(4) SunOS 5.10 13 May 2004 nscd.conf(4)
All times are GMT -4. The time now is 12:40 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy