mvfsstat [ –icrvVhalzAdF ] [ –o outfile] [ time ] [ count ]
mvfsstat [ –iIcrvVhalzAdF ] [ –o outfile] [ time ] [ count ]
The –c option reports on the use of the host’s MVFS caches. This report is cumulative, covering the entire period since the MVFS was started. The following sections describe the particular statistics that are useful in tuning MVFS performance on a Rational® ClearCase® client host.
Directory name lookup cache (dnlc). The dnlc section reports on use of a name-lookup cache that maps pathnames to Rational ClearCase identifiers. Note that the value precedes the keyword. For example, 1301984 dot means that the reported value of the dot statistic is 1301984.
Cache hits. The hit line reports on the number of times an entry type was found in the cache (hit):
This cache has low hit rates (around 50%) for activities that walk a large tree, for example, a find command, or a recursive clearmake that examines many files and determines that nothing needs to be built.
Cache misses. The miss line reports on total cache misses. The events value is the number of cache misses that occurred because of a significant VOB event, a time-out of the entry, or vnode recycling. Cache misses can occur because there was no entry in the cache. The total number of cache misses equals the events value plus the number of misses occurring because there was no entry in the cache.
Cache additions. The add line reports on cache misses that occurred because a new entry was being added to the cache. The additions are categorized as directory entries (dir), file entries (reg), and ENOENT entries (noent).
Attribute cache. The attr section reports on use of a cache of stat returns (Linux and the UNIX system) or object status inquiry records (Windows). This cache generally has hit rates comparable to those for the directory name lookup cache.
In general, real-time percentages are meaningful only when a single process is accessing a VOB.