From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Brewer, Edward \(NIH/OD\)" Newsgroups: gmane.os.tru64.managers Subject: Summary: Question concerning namei cache Date: Fri, 11 Apr 2003 10:05:02 -0400 Sender: tru64-unix-managers-owner@ornl.gov Message-ID: <7B386924C5CAD0428322085D0F0F766F0343B4C0@ODEXC4.od.nih.gov> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 X-Trace: main.gmane.org 1050069893 27264 80.91.224.249 (11 Apr 2003 14:04:53 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 11 Apr 2003 14:04:53 +0000 (UTC) Original-X-From: tru64-unix-managers-owner-gotm-tru64-unix-managers=m.gmane.org@sws1.ctd.ornl.gov Fri Apr 11 16:04:51 2003 Return-path: Original-Received: from sws1.ctd.ornl.gov ([160.91.22.101]) by main.gmane.org with smtp (Exim 3.35 #1 (Debian)) id 193z99-00075I-00 for ; Fri, 11 Apr 2003 16:04:51 +0200 Original-Received: (qmail 6343 invoked by uid 5); 11 Apr 2003 14:05:13 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 6334 invoked by uid 49493); 11 Apr 2003 14:05:12 -0000 Original-Received: from BREWERE@OD.NIH.GOV by sws1 by uid 49491 with qmail-scanner-1.14 (clamscan: 0.54. spamassassin: 2.50-cvs. Clear:SA:0(-4.7/5.0):. Processed in 0.514541 secs); 11 Apr 2003 14:05:12 -0000 Original-Received: from unknown (HELO emroute1.cind.ornl.gov) (160.91.4.119) by 0 with SMTP; 11 Apr 2003 14:05:11 -0000 Original-Received: from emroute1.cind.ornl.gov (localhost [127.0.0.1]) by emroute1.cind.ornl.gov (PMDF V6.2 #30669) with ESMTP id <0HD600KA6N4I35@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Fri, 11 Apr 2003 10:05:10 -0400 (EDT) Original-Received: from ims2.hub.nih.gov (nihhubims2.hub.nih.gov [128.231.90.112]) by emroute1.cind.ornl.gov (PMDF V6.2 #30669) with ESMTP id <0HD600AJPN4H0X@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Fri, 11 Apr 2003 10:05:05 -0400 (EDT) Original-Received: by ims2.hub.nih.gov with Internet Mail Service (5.5.2656.59) id ; Fri, 11 Apr 2003 10:05:04 -0400 Content-return: allowed Original-To: "'Tru64-Unix-Managers \(E-mail\)" X-Mailer: Internet Mail Service (5.5.2656.59) Xref: main.gmane.org gmane.os.tru64.managers:3953 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:3953 Admins, I got one repsonse. From: Alan Rollow - Dr. File System's Home for Wayward Inodes. [alan@desdra.cxo.cpqcorp.net] I think the algorithm I used was developed long before anybody had thought to write one down in a manual... Recent versions of the Monitor kit have "The Long Awaited Monitor User's Guide". It is probably a Postscript file. It may document the algorithm I used, though you can also check the code directly. The most likely cause is that the algorithm I used, is different than the one recommended by the Tuning guide. I'll try to check it someday and update Monitor. I called HP and they told me it was best to use /usr/lbin/nchstats which is the program used in sys_check. It placed the value at 86% I also asked about using 8192 for maxusers. There would only be a problem if I didn't have the memory to support the sizes of tables it would create. As for the calculation of ncs_goodhits/ncs_badtimehits, this was too high so I am going to increase the value of the namei_cache_valid_time attribute and the vnode_age attribute. Thanks, Lee Brewer > -----Original Message----- > From: Brewer, Edward (NIH/OD) > Sent: Thursday, April 10, 2003 3:02 PM > To: 'Tru64-Unix-Managers (E-mail) > Subject: Followup question for: Question concerning namei cache > > Admins, > > As a followup I checked on the maxusers value, last year we set this value > to 8192. I verified this value with sysconfig -q proc. > > I have noticed that there are warnings about not setting it above 2048 or > 4096.... Did we cross into the danger zone? > Also here are the values of the proc and vfs subsections > > proc: > max_proc_per_user = 1024 > max_threads_per_user = 4096 > per_proc_stack_size = 33554432 > max_per_proc_stack_size = 536870912 > per_proc_data_size = 17179869184 > max_per_proc_data_size = 17179869184 > max_per_proc_address_space = 17179869184 > per_proc_address_space = 17179869184 > executable_stack = 0 > autonice = 0 > autonice_time = 600 > autonice_penalty = 4 > open_max_soft = 4096 > open_max_hard = 4096 > ncallout_alloc_size = 8192 > round_robin_switch_rate = 0 > sched_min_idle = 0 > give_boost = 1 > maxusers = 8192 > num_wait_queues = 8192 > num_timeout_hash_queues = 8192 > enhanced_core_name = 0 > enhanced_core_max_versions = 16 > exec_disable_arg_limit = 0 > dump_cores = 1 > dump_setugid_cores = 0 > > vfs: > name_cache_hash_size = 4096 > buffer_hash_size = 2048 > special_vnode_alias_tbl_size = 64 > bufcache = 3 > bufpages = 62822 > path_num_max = 64 > sys_v_mode = 0 > ucred_max = 256 > nvnode = 82068 > max_vnodes = 1209526 > min_free_vnodes = 82068 > vnode_age = 120 > namei_cache_valid_time = 1200 > max_free_file_structures = 0 > max_ufs_mounts = 1000 > max_nfs_mounts = 0 > vnode_deallocation_enable = 1 > pipe_maxbuf_size = 262144 > pipe_databuf_size = 8192 > pipe_max_bytes_all_pipes = 134217728 > noadd_exec_access = 0 > fifo_do_adaptive = 0 > nlock_record = 10000 > smoothsync_age = 30 > io_throttle_static = 0 > io_throttle_shift = 1 > io_throttle_maxmzthruput = 1 > revoke_tty_only = 1 > strict_posix_osync = 0 > pad_dirent = 0 > freezefs_default_timeout = 60 > follow_mkdir_symlinks = 0 > > TIA, > Lee Brewer > > -----Original Message----- > From: Brewer, Edward (NIH/OD) > Sent: Thursday, April 10, 2003 2:28 PM > To: 'Tru64-Unix-Managers (E-mail) > Subject: Question concerning namei cache > > Admins, > > System is a GS160 Wildfire (8 processors) Tru64 5.1a patch kit 3 > > Currently I have been using monitor to provide me with a value for the > buffering to the namei cache. I decided to follow the procedures in the > System Configuration and Tuning for Tru64 5.1a. section 9.1.1 to verify. > Following the formula I get the namei buffer at a different value than > monitor. > > With monitor it is listed as 87%, by hand I get 77% (which I performed > twice to be sure). I also did the calculation of > ncs_goodhits/ncs_badtimehits which should be less than .1 percent...mine > was 3.8 %. From these indications it looks like I need to do some > exploring and tuning, What do you think? > > Raw Data > > ncs_goodhits = 76524644 > ncs_neghits = 6275430 > ncs_badhits = 202144 > ncs_falsehits = 95562 > ncs_miss = 23986482 > ncs_long = 895689 > ncs_badtimehits = 2959832 > ncs_collisions = 25643 > ncs_unequaldups = 23927 > ncs_newentry = 25093548 > ncs_newnegentry = 87703 > ncs_gnn_hit = 6204899 > ncs_gnn_miss = 5594 > ncs_gnn_badhits = 0 > ncs_gnn_collision = 32524 > ncs_pad = { > [0] 0 > > > Lee Brewer