Is there a way to flush the file cache?
- From: General Schvantzkoph <schvantzkoph@xxxxxxxxx>
- Date: 28 Dec 2006 18:17:25 GMT
I'm writing a system exerciser that checks memory and disk I/O. Is there a
C call that flushes the file cache so that I can be assured that my freads
are coming from the disk and not the RAM. I'm using a sync() but I don't
think that does the whole job, it guarantees that the disk writes happen
but I don't think it clears out the file cache.
Thanks,
.
- Follow-Ups:
- Re: Is there a way to flush the file cache?
- From: Ignoramus12805
- Re: Is there a way to flush the file cache?
- From: Michael Heiming
- Re: Is there a way to flush the file cache?
- From: Tony Lawrence
- Re: Is there a way to flush the file cache?
- Prev by Date: Re: USB to ethernet adapter
- Next by Date: Re: xgl nvidia fedora 6, looks like i am missing something
- Previous by thread: Re: FP3 <-> MP3
- Next by thread: Re: Is there a way to flush the file cache?
- Index(es):
Relevant Pages
|