Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* How to clear UBC (unified buffer cache)?
@ 1999-07-26  4:00 Karl
  1999-08-02  4:00 ` Eric Werme - replace nospam with werme
  0 siblings, 1 reply; 2+ messages in thread
From: Karl @ 1999-07-26  4:00 UTC (permalink / 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






^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1999-08-02  4:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-07-26  4:00 How to clear UBC (unified buffer cache)? Karl
1999-08-02  4:00 ` Eric Werme - replace nospam with werme

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox