* Flush caches on Dec Alpha
@ 1996-09-25 4:00 Michael D. Beynon
1996-09-26 4:00 ` Michael D. Beynon
0 siblings, 1 reply; 3+ messages in thread
From: Michael D. Beynon @ 1996-09-25 4:00 UTC (permalink / raw)
I am looking to do many experiments on our alpha farm:
(ten Dec Alpha 2100 4/275 nodes)
Is there a way to ensure all disk i/o buffers have been
flushed? The hack we have been using is to cat a
file larger than physical memory (256MB).
Suggestions?
Please reply via email in addition to posting to this
group.
Thanks,
Mike.
===================================================================
Michael D. Beynon Department of Computer Science
A.V. Williams Bldg, University of Maryland, College Park, MD 20742
Email: beynon@cs.umd.edu WWW: http://www.cs.umd.edu/~beynon/
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Flush caches on Dec Alpha
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
0 siblings, 1 reply; 3+ messages in thread
From: Michael D. Beynon @ 1996-09-26 4:00 UTC (permalink / raw)
Michael D. Beynon wrote:
I apologize for not expressing my question correctly. I have
restated it below.
I want to perform several experiments on our alpha farm.
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.
Is there a syscall, etc. to allow me to do this? I have
gotten a suggestion to keep allocating more memory until it
runs out. That was if LRU is used in the kernel, the disk
buffer should have been taken back and used.
Any other suggestions?
Thanks,
Mike,.
>
> I am looking to do many experiments on our alpha farm:
> (ten Dec Alpha 2100 4/275 nodes)
>
> Is there a way to ensure all disk i/o buffers have been
> flushed? The hack we have been using is to cat a
> file larger than physical memory (256MB).
>
> Suggestions?
>
> Please reply via email in addition to posting to this
> group.
>
> Thanks,
> Mike.
> ===================================================================
> Michael D. Beynon Department of Computer Science
> A.V. Williams Bldg, University of Maryland, College Park, MD 20742
> Email: beynon@cs.umd.edu WWW: http://www.cs.umd.edu/~beynon/
--
===================================================================
Michael D. Beynon Department of Computer Science
A.V. Williams Bldg, University of Maryland, College Park, MD 20742
Email: beynon@cs.umd.edu WWW: http://www.cs.umd.edu/~beynon/
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Flush caches on Dec Alpha
1996-09-26 4:00 ` Michael D. Beynon
@ 1996-09-27 4:00 ` Eric Werme
0 siblings, 0 replies; 3+ messages in thread
From: Eric Werme @ 1996-09-27 4:00 UTC (permalink / raw)
"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/ <>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~1996-09-27 4:00 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox