This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [gfortran] Patch for potential bug in i/o library


Thomas Koenig wrote:

Janne Blomqvist wrote:



I guess the key to improving i/o performance would
be to make the library interface more coarse grained, e.g. enabling
transfer of contigous array sections in one go instead of looping over
all the individual elements?



Definitely. For arrays, it would be straightforward to pass an array descriptor to the i/o library, and have it handled there. Lots of m4 to be written :-) Implied do loops will be harder, but not as important. If these can be converted to an array descriptor (sort of, using temporaries), that would be ideal.



if someone grabs this idea and implement it, please also keep in mind the need to know how many bytes will go into an unformatted sequential record before it is written....

the seeking back into the file to write the start marker will always be a big performance loss (esp for NFS mounted files).


--bud



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]