From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <102653755322585.tru64-unix-managers.marc@archive.invalid> From: "Brewer, Edward" Date: Wed, 24 Apr 2002 15:57:17 +0000 To: tru64-unix-managers Subject: Question concerning large number of files and transfer to another X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=102653755322585 Admins, I have a two part question. 1) I have a very large number of files in a single directory (250,000) and I need to tune the system to handle users issuing an ls or a sorted ls command efficiently. Using the performance guide online I surmised that I should first look at the namei cache. Following the guide I found that the hit ratio is high enough but comparing the badtimehit vs goodhits is .16% so according to the document I need to tune this. reference: http://www.tru64unix.compaq.com/docs/base_doc/DOCUMENTATION/V51_HTML/ARH9GBT E/CHFSXXXX.HTM#sectnameicache The question: Is it a good idea to increase maxusers also?...maxuser is set to 2048....we have a 8 GB system..with 4 GB hardwired to shared memory (gs160 wildfire 2 QBB 2 GB per QBB). We have over 50,000 free pages. This system is using Tru64 5.1. 2) I need to copy these files to another directory structure( they orginals are nfs mounted). I tried creating a script with cp command (several cp command that key off the first few letters of the file names; thus spawning several cp's...this failed because the cp command couldn't handle the list created by the wildcard structure. So if I use vdump -0 -f - / | vrestore -xf - -D / Is this the most effective way to copy? TIA, Lee Brewer BTW: For now I can not break up the directory into smaller directories.