From: "Karl" <kbarkei@cs.umass.edu>
Subject: How to clear UBC (unified buffer cache)?
Date: 1999/07/26 [thread overview]
Message-ID: <379cd2eb@rcfnews.cs.umass.edu> (raw)
This is regarding Digital Unix OSF1 v4.0 on an alpha
I am trying to prevent caching from causing a bias in the timing of
different functions that read from disk. I need to time how long two
different methods take to read the same data from the same files.
Unfortunately, once I've run the first function, so much of the data is
cached that the
second function appears dramatically faster. This behavior persists even if
I swap the order of the functions.
Is there a way to programmatically (or *any* way) clear the UBC (Unified
Buffer Cache)? Is there a way to clear the metadata buffer cache?
Rebooting the system or re-mounting the filesystem are not practical
options.
Karl
next reply other threads:[~1999-07-26 4:00 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-07-26 4:00 Karl [this message]
1999-08-02 4:00 ` How to clear UBC (unified buffer cache)? Eric Werme - replace nospam with werme
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