https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91030

--- Comment #17 from Thomas Koenig <tkoenig at gcc dot gnu.org> ---
(In reply to David Edelsohn from comment #16)
> libgfortran unix.c:raw_write() will access the WRITE system call with up to
> 2GB of data, which the testcase is using for the native format.
> 
> Should libgfortran I/O buffer at least use sysconf(_SC_PAGESIZE) instead of
> hard coding 8192?

Depends.  I would try not to blow away too much cache for
such an operation.

So far, this problem appears to be limited to POWER, and more
specifically to file systems which are typically used in HPC.

Could you (generic you, people who have access to such systems)
show us some benchmarks which show performance as a function of
block write size?

Reply via email to