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

Home » Public Forums » archive » Re: Writing a very large 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: Writing a very large file [message #57529 is a reply to message #57438] Mon, 10 December 2007 07:43 Go to previous message
Kenneth Bowman is currently offline  Kenneth Bowman
Messages: 86
Registered: November 2006
Member
In article <f169a807-d4a4-4e89-accf-7b07329b12ca@l16g2000hsf.googlegroups.com>,
wlandsman <wlandsman@gmail.com> wrote:

> On Dec 7, 11:50 pm, KenBowman <k-bow...@tamu.edu> wrote:
>
>> What I suspect is happening is the following. The first few images go
>> into cache (memory).
>> Once the cache space is filled, it starts writing the files to disk,
>> which is a much slower process.
>> 6 seconds for a 32 MB file isn't great (~5 MB/s), but maybe you have
>> older hardware or you are writing to
>> a network volume?
>
> Thanks for this and to the others who responded. I do have old
> hardware, so my question should have been "how can the first few
> images be written so quickly?".

Once the data has been written to the cache, which is managed by
the OS, not by IDL, IDL thinks the write is complete and moves on
to the next write.

Memory access is one to two orders of magnitude faster than disk
access. (You have to wait for the platters to rotate, which is a
relatively slow process, electronically speaking.)

Ken Bowman
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Version Control Conundrum
Next Topic: SVN Question

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

Current Time: Fri Oct 10 22:50:56 PDT 2025

Total time taken to generate the page: 0.24182 seconds