From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fa528,232a7d2ac8ae89cb X-Google-Attributes: gidfa528,public X-Google-ArrivalTime: 2002-08-29 06:51:44 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!uunet!sea.uu.net!ash.uu.net!news.compaq.com!news.cpqcorp.net!53ab2750!not-for-mail From: Bob Harris Newsgroups: comp.unix.tru64 Subject: Re: Tru64UNIX v4 to v5 upgrade - Advfs References: <58ba0101.0208252235.58a91e56@posting.google.com> User-Agent: MT-NewsWatcher/3.1 (PPC) Message-ID: Date: Thu, 29 Aug 2002 13:58:44 GMT NNTP-Posting-Host: 16.140.32.31 X-Complaints-To: abuse@Compaq.com X-Trace: news.cpqcorp.net 1030629524 16.140.32.31 (Thu, 29 Aug 2002 06:58:44 PDT) NNTP-Posting-Date: Thu, 29 Aug 2002 06:58:44 PDT Organization: Compaq, part of the new hp Xref: archiver1.google.com comp.unix.tru64:8518 In article , "Nikola Milutinovic" wrote: X > The 2 areas where AdvFS has improved when a domain is created on a v5.* X > system is that Directories have a btree structure for faster lookup, X > create, delete of huge directories (and I do mean huge). X > X > The 2nd important change was the way the AdvFS BMT metadata file was X > managed. On domains created prior to Tru64 UNIX v5.*, it was possible X > to run out of extent map entries for the BMT. On v5.* systems, this is X > no longer possible. X X This was a point of bitter disappointment for me. In 4.0D one can issue X specific parameters for AdvFS domain creation in order to set the X pre-allocation size of BMT and an extent size. The man pages also give admin X a pretty good idea what these values should be for a particular number of X files. This really saved my day with our proxy cache, which ran at 170,000 X files. Applying appropriate values changed my system from "unusable" to X "comfortable" state of operations. X X In 4.0F they (Compaq) "fixed it". The original problem for them was not the X speed, but the possibility of running out of available BMT extents, thus X being unable create more files although you had space. Agreed, that is a X problem. They fixed by allowing for a greater number of extents and IGNORING X those domain creation parameters! X X So, my proxy cache on 4.0F would not run out of BMT (it didn't run out on X 4.0D either, it was just dead slow), but there was no way to speed it up. X Imagine my fury. Immediately, I switched back to 4.0D. X X What is the situation with 5.0 family? Are they speedy when a domain has a X substantial number of files >150,000. X X Nixie. If you are talking about the mkfdmn/addvol -p and -x option, they still exist in v4.0f and while they are not longer needed, they exist in v5.* Historically, the first changes to help avoid running out of BMT space was the addition of the -p and -x options to mkfdmn and addvol. That was somewhere in the v4.0 time frame (maybe even back in the v3.2 time, not sure). Then in v4.0d, AdvFS implemented a hold back of 20% of the disk for use as possible BMT storage. If user data needed more than the 80% remaining, then the hold back area was given over to user data files, but while it was held back it allowed the BMT to grow in a contiguous manor which allowed the BMT to use fewer of its limited number of extent map entries. I do not know of any changes in the v4.0f time frame related to the BMT. In v5.0, a new on-disk format was impemented that allowed the BMT to have an unlimited number of extents so that it would no longer hit a limit. But if you still want to use the -x and -p mkfdmn/addvol options, they still exist even in the most recent release. They are even still documented. Bob Harris