From: Bob Harris <harris@zk3.dec.com>
Subject: Re: Tru64UNIX v4 to v5 upgrade - Advfs
Date: Thu, 29 Aug 2002 13:58:44 GMT [thread overview]
Message-ID: <harris-54B6A8.09514029082002@juggl7.zk3.dec.com> (raw)
In-Reply-To: akkljp$aif$1@Mercury.ev.co.yu
In article <akkljp$aif$1@Mercury.ev.co.yu>,
"Nikola Milutinovic" <Nikola.Milutinovic@ev.co.yu> 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
next prev parent reply other threads:[~2002-08-29 13:58 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-08-26 6:35 Tru64UNIX v4 to v5 upgrade - Advfs Andrew Rycroft
2002-08-26 7:15 ` Kjell Andresen
2002-08-26 13:36 ` Bob Harris
2002-08-29 8:21 ` Nikola Milutinovic
2002-08-29 13:58 ` Bob Harris [this message]
2002-09-05 5:37 ` Nikola Milutinovic
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox