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 #57438 is a reply to message #57411] Mon, 10 December 2007 07:24 Go to previous messageGo to previous message
wlandsman is currently offline  wlandsman
Messages: 743
Registered: June 2000
Senior Member
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?". And it does appear that the answer
is that the images are being cached, so that the writing to the disk
continues after the call to WRITEU is completed. For example, if I
add a WAIT,6 between each call to WRITEU (so that the cache has time
to be emptied) then the call to WRITEU always completes quickly (<0.3
s) no matter how big the file. --Wayne
[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: Wed Oct 08 19:57:10 PDT 2025

Total time taken to generate the page: 0.00190 seconds