Speeding up I/O [message #38544] |
Tue, 16 March 2004 13:13 |
Ken Knapp
Messages: 14 Registered: April 2003
|
Junior Member |
|
|
Are there any tricks to speed up I/O?
Situation: I have 1.2 TB of data to process. The following is a typical
read statement:
in = {header:bytarr(128),scan:intarr(1250)}
image = replicate(in,1250)
openr,1,file
readu,1,image
close,1
Then I process the image and output something. The slow part is in the
readu [I used profiler to find that readu IS slowing me down, the
computations are only a fraction of the read time].
Any suggestions on how to speed it up?
Tricks to make the computer find files faster?
Would Fortran/C be faster?
Any help is greatly appreciated.
-Ken
--
***** to reply remove the _REMOVE_ *****
Ken Knapp Ken.Knapp@_REMOVE_noaa.gov
Remote Sensing and Applications Division
National Climatic Data Center
151 Patton Ave
Asheville, NC 28806
828-271-4339 (voice) 828-271-4328 (fax)
|
|
|