home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!sun-barr!cs.utexas.edu!uwm.edu!spool.mu.edu!olivea!sgigate!odin!twilight!zuni!anchor!olson
- From: olson@anchor.esd.sgi.com (Dave Olson)
- Newsgroups: comp.sys.sgi
- Subject: Re: System Slowdown
- Message-ID: <pee5034@zuni.esd.sgi.com>
- Date: 4 Sep 92 18:28:16 GMT
- References: <Bu22Jz.D3I@knot.ccs.queensu.ca>
- Sender: news@zuni.esd.sgi.com (Net News)
- Organization: Silicon Graphics, Inc. Mountain View, CA
- Lines: 22
-
- In <Bu22Jz.D3I@knot.ccs.queensu.ca> tarun@psyclops.psyc.queensu.ca (Tarun Kripalani) writes:
-
- | I am experiencing a slowdown in our Iris (310GTX) whenever
- | we have more than a certain number of files in a directory.
- | As soon as I am in a directory that has about 2000 files and
- | I do a mv, cp, ls etc. it takes ages to perform. Everything
- | I do then is slowed down including any other user's processes.
- | Why is this happening? What can I do to fix this problem?
-
- It runs afoul of the inode caching, among other things.
-
- As I recall, the easiest fix is to bump NBUF in master.d/kernel,
- run autoconfig, and reboot. Typically NBUF is set to 0, so
- it is autoconfiged by the algorithm (at least in 4.0.5, but
- I think this is the same at least as far back as 4.0.1):
- if (v.v_buf == 0)
- v.v_buf = 75 + physmem / 2000 * 25;
- where physmem is the amount of memory in pages.
- --
- Let no one tell me that silence gives consent, | Dave Olson
- because whoever is silent dissents. | Silicon Graphics, Inc.
- Maria Isabel Barreno | olson@sgi.com
-