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

--- Comment #29 from David Edelsohn <dje at gcc dot gnu.org> ---
> For formatted files, chose the value that the user supplied
> via an environment variable. If the user supplied nothing, then
> 
> - query the recommended block size via calling fstat and evaluating
>   st_blksize.
> - If st_blksize is less than 8192, use 8192 (current behavior)
> - if st_blksize is more than 32768, use 32768
> - otherwise use st_blksize

I assume that you meant UNformatted files.

Why are you opposed to the larger 65536 or 131072 as a default? The benefit at
that level is reproducible, _even for filesystems with smaller block size_.

Why propose another default value that restricts GNU FORTRAN performance when
given the opportunity to fix this and make GNU FORTRAN performance look very
good "out of the box". Few people will bother to read the documentation to look
for environment variables or even realize that unformatted I/O performance is
the bottleneck.

Reply via email to