From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,dd4cf80278dc0c7d X-Google-Attributes: gid1164f8,public From: werme@alingo.zk3.dec.com (Eric Werme) Subject: Re: Flush caches on Dec Alpha Date: 1996/09/27 Message-ID: #1/1 X-Deja-AN: 185685511 references: <3249C211.41C67EA6@cs.umd.edu> <324A7124.167EB0E7@cs.umd.edu> organization: Digital Equipment Corporation reply-to: werme@zk3.dec.com newsgroups: comp.sys.dec "Michael D. Beynon" 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 <> <> <> visit http://www.HarryBrowne96.org/ <>