Tune OS to manage directories with high number of files

From: pcoelho3@ibest.com.br
Date: Fri Jul 09 2004 - 15:04:54 EDT


('binary' encoding is not supported, stored as-is) 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


This archive was generated by hypermail 2.1.7 : Sat Apr 12 2008 - 10:50:03 EDT