[Bug fortran/56981] Slow I/O: Unformatted 5x slower, large sys component; formatted slow as well

burnus at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Apr 16 15:20:00 GMT 2013


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56981

Tobias Burnus <burnus at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |burnus at gcc dot gnu.org

--- Comment #1 from Tobias Burnus <burnus at gcc dot gnu.org> 2013-04-16 15:20:20 UTC ---
For unformatted pathf95 and g95 have (top 10 entries of strace):
      3 brk           4 close
      3 getrlimit     4 ioctl
      8 read          4 rt_sigaction
     10 close         6 fstat
     13 fstat         6 mprotect
     20 mprotect      7 brk
     21 stat         10 mmap
     22 mmap         17 stat
     46 open         23 open
    367 write       734 write

gfortran has the following syscalls, which are at least invoked twice:
      3 brk
      5 read
      7 close
     10 rt_sigaction
     11 access
     11 fstat
     12 mprotect
     16 stat
     18 mmap
     26 open
2000000 lseek
4000000 write



More information about the Gcc-bugs mailing list