comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: time cost for file reading increasing!!! same file!
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: time cost for file reading increasing!!! same file! [message #69746 is a reply to message #69733] Mon, 08 February 2010 18:04 Go to previous messageGo to previous message
wlandsman is currently offline  wlandsman
Messages: 743
Registered: June 2000
Senior Member
On second thought, the OP is only reading, not writing, to disk, so
the memory cache may not be relevant.

On Feb 8, 9:00 pm, wlandsman <wlands...@gmail.com> wrote:
> On Feb 8, 6:20 pm, minchen <mchen...@gmail.com> wrote:
>
>> Hi everyone,
>> I meet a mysterious problem on IDL file reading.
>> The problem is as following:
>> I just read the same hdf5 file seveal times and see the time costing.
>> I find the first 270 file reading is very quickly but after that, the
>> reading speed drops down although the file is the same one.
>
> I am reaching here, but maybe the problem is similar to one discussed
> in an earlier thread (http://tinyurl.com/yzrvd96) where the correct
> question should be "Why is the file reading so  fast to start
> with?"     Those fast times are deceptive because the IDL thinks the I/
> O operation is complete after it has passed the data to the memory
> cache, but the OS has not yet written the data to disk.     Once the
> memory cache fills, then IDL has to wait until the data is written to
> the mechanical disk, but those longer times are a better measure of
> the time to write the data to disk.
>
> --Wayne
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Optimized Linear Stretch
Next Topic: time cost for file reading increasing!!! same file!

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 19:58:48 PDT 2025

Total time taken to generate the page: 0.00192 seconds