From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: pcoelho3@ibest.com.br Newsgroups: gmane.os.tru64.managers Subject: Tune OS to manage directories with high number of files Date: Fri, 09 Jul 2004 16:04:54 -0300 Sender: tru64-unix-managers-owner@ornl.gov Message-ID: <200407091904.i69J4srW027639@frodo.ibest.com.br> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: binary X-Trace: sea.gmane.org 1089399950 27467 80.91.224.253 (9 Jul 2004 19:05:50 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 9 Jul 2004 19:05:50 +0000 (UTC) Original-X-From: tru64-unix-managers-owner-gotm-tru64-unix-managers=m.gmane.org@sws1.ctd.ornl.gov Fri Jul 09 21:05:37 2004 Return-path: Original-Received: from sws1.ornl.gov ([160.91.1.101]) by deer.gmane.org with smtp (Exim 3.35 #1 (Debian)) id 1Bj0gh-0006oe-00 for ; Fri, 09 Jul 2004 21:05:35 +0200 Original-Received: (qmail 11694 invoked by uid 5); 9 Jul 2004 19:05:26 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 11679 invoked by uid 49501); 9 Jul 2004 19:05:25 -0000 Original-Received: from pcoelho3@ibest.com.br by sws1 by uid 49491 with qmail-scanner-1.21 (clamdscan: 0.70-rc. iscan: v3.1/v5.600-1011/847/50540. spamassassin: 2.63. Clear:RC:0(160.91.4.119):SA:0(-4.7/5.0):. Processed in 0.40538 secs); 09 Jul 2004 19:05:25 -0000 Original-Received: from unknown (HELO emroute1.cind.ornl.gov) (160.91.4.119) by 0 with SMTP; 9 Jul 2004 19:05:25 -0000 Original-Received: from emroute1.cind.ornl.gov (localhost [127.0.0.1]) by emroute1.cind.ornl.gov (PMDF V6.2-X27 #30899) with ESMTP id <0I0L00546MCSK8@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Fri, 09 Jul 2004 15:05:23 -0400 (EDT) Original-Received: from VIRUSCAN-DAEMON.emroute1.cind.ornl.gov by emroute1.cind.ornl.gov (PMDF V6.2-X27 #30899) id <0I0L00702MCJFG@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Fri, 09 Jul 2004 15:05:11 -0400 (EDT) Original-Received: from frodo.ibest.com.br (smtpfeed01.bsb.ibest.com.br [200.181.68.164]) by emroute1.cind.ornl.gov (PMDF V6.2-X27 #30899) with ESMTP id <0I0L004AXMCH6J@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Fri, 09 Jul 2004 15:05:07 -0400 (EDT) Original-Received: from ibest.com.br (mailweb16.ibest.com.br [200.181.68.209]) by frodo.ibest.com.br (8.12.9/8.12.8) with ESMTP id i69J4srW027639 for ; Fri, 09 Jul 2004 19:04:54 +0000 (GMT) Original-To: tru64-unix-managers@ornl.gov X-Organization: Ibest S/A X-Mailer: MIME::Lite 2.117 (F2.6; A1.50; B2.12; Q2.03) X-Mailer: IbestMail Content-Disposition: inline X-Identity: 2087503_1089399894 Xref: main.gmane.org gmane.os.tru64.managers:7249 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:7249 Our application uses directories to manage fifos based on files. Sometimes these directories reach 5000, 10000,500000, 90000 files inside. And every time a process tries to write or read these full directories, it takes a long time, and the process as a whole, slows down. How can I tune OS and get better times? Infos... OS: Tru64 4.0G GS 180 12 x 1.8 Ghz Advfs over EMC Storage. vfs: name-cache-size = 45381 name-cache-hash-size = 8192 buffer-hash-size = 512 special-vnode-alias-tbl-size = 64 bufcache = 3 bufpages = 94353 path-num-max = 64 sys-v-mode = 0 ucred-max = 256 nvnode = 20628 max-vnodes = 2516100 min-free-vnodes = 20628 vnode-age = 120 namei-cache-valid-time = 1200 max-free-file-structures = 0 max-ufs-mounts = 1000 vnode-deallocation-enable = 1 pipe-maxbuf-size = 65536 pipe-single-write-max = -1 pipe-databuf-size = 8192 pipe-max-bytes-all-pipes = 81920000 noadd-exec-access = 0 fifo-do-adaptive = 1 smoothsync-age = 30 io-throttle-static = 0 io-throttle-shift = 1 io-throttle-maxmzthruput = 1 --- Inscreva-se na Maratona iBest para concorrer a prêmios! São 2 casas, 11 Ford EcoSport e 60 computadores. Participe já: http://maratona.ibest.com.br