Re: Is there a way to flush the file cache?



On 29 Dec 2006 19:31:31 GMT, General Schvantzkoph <schvantzkoph@xxxxxxxxx> wrote:
On Fri, 29 Dec 2006 18:52:48 +0000, Ignoramus12805 wrote:

Can you change your exercise pattern, so that you write to one file
and read from another file, new stuff every time (or at least cycle a
few gigs before coming back to read that stuff).

i

That doesn't guarantee that a file won't be forced out of a file cache.
The O_DIRECT option on open is the better way to go.

Well, since the read is done from another file, it no lnoger matters
whether original file was retained in memory. O_DIRECT sounds like a
good thing to know about, as well.

i
.



Relevant Pages

  • Re: Is there a way to flush the file cache?
    ... new stuff every time (or at least cycle a ... few gigs before coming back to read that stuff). ... That doesn't guarantee that a file won't be forced out of a file cache. ...
    (comp.os.linux.misc)
  • Re: __del__ warnings apply to tp_dealloc?
    ... there is no guarantee that all tp_deallocs will be called when the ... interpreter exits. ... there is no guarantee that the cycle will get collected. ... keep the garbage collector from collecting cycles. ...
    (comp.lang.python)
  • Re: Unique code for every user
    ... simple pseudorandom number generator is the linear congruential ... Eventually, this will cycle, but you can guarantee that it will go ... more than once in fewer than n calls to the generator. ...
    (comp.lang.java.programmer)
  • Re: sleeping during a precise time interval
    ... main problem is that in any modern general purpose OS, ... guarantee to wait the right amount of time. ... Between one cycle and the ...
    (comp.lang.c)
  • Re: triple gigs
    ... >I had my first ever "triple" 3 gigs in one day. ... Damn...that's like batting for the cycle. ... Prev by Date: ...
    (alt.guitar.bass)