From: werme@alingo.zk3.dec.com (Eric Werme)
Subject: Re: Flush caches on Dec Alpha
Date: 1996/09/27 [thread overview]
Message-ID: <werme.843848092@alingo.zk3.dec.com> (raw)
In-Reply-To: 324A7124.167EB0E7@cs.umd.edu
"Michael D. Beynon" <beynon@cs.umd.edu> writes:
>I am concerned the *next* run will have the caches (disk,
>instruction and data) all warmed and cause the 2+ runs to
>perform better than they should if all the caches were
>invalidated. I suppose flush is not the correct word here.
>Sync will not give me this.
One of the classic, almost guaranteed to work on any Unix, ways to do this is
to unmount and remount the test file system. There's also an option
via msync(2) (MS_INVALIDATE) that is part of some random standard and
works on Solaris too. That discards cached data on a per mapped file
basis.
--
<> Eric (Ric) Werme <> Why Government Doesn't Work! For details <>
<> <werme@zk3.dec.com> <> visit http://www.HarryBrowne96.org/ <>
prev parent reply other threads:[~1996-09-27 4:00 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
1996-09-25 4:00 Flush caches on Dec Alpha Michael D. Beynon
1996-09-26 4:00 ` Michael D. Beynon
1996-09-27 4:00 ` Eric Werme [this message]
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