bug-gawk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [EXTERNAL] Re: Performance issues using GAWK 3.1.6 ->from Win 2008 t


From: Wolfgang Laun
Subject: Re: [EXTERNAL] Re: Performance issues using GAWK 3.1.6 ->from Win 2008 to Win 2016
Date: Wed, 16 Jun 2021 09:09:01 +0200

Eli,
whatever buffering strategy the OS has in mind, there is still the GNU C
library used by gawk. See some doc:
gnu.org/software/libc/manual/html_node/Controlling-Buffering.html.
Buffering behaviour may be different depending on the stream being some
std* or not, or a file, a pipe or the terminal.

-W

On Tue, 15 Jun 2021 at 21:07, Eli Zaretskii <eliz@gnu.org> wrote:

> > From: Wolfgang Laun <wolfgang.laun@gmail.com>
> > Date: Tue, 15 Jun 2021 20:54:52 +0200
> > Cc: Eli Zaretskii <eliz@gnu.org>, "mortoneccc@comcast.net" <
> mortoneccc@comcast.net>,
> >       "arnold@skeeve.com" <arnold@skeeve.com>, "bug-gawk@gnu.org" <
> bug-gawk@gnu.org>,
> >       "Pereira, Ricardo" <Ricardo_D.Pereira@pseg.com>, "Pirane, Marco" <
> Marco.Pirane@pseg.com>
> >
> > So you have 195,000 times the reading of 5,000 records. One thing that
> would cause the nine-fold increase
> > in time might be a reduction in buffer size. Another thing that might
> affect performance tremendously (much
> > more than buffer size) is file caching. Does the new system cache files
> as much as the old one?
>
> AFAIK, the I/O buffer size didn't change between Windows 7 and Windows
> 10, it definitely didn't become smaller.
>


-- 
Wolfgang Laun


reply via email to

[Prev in Thread] Current Thread [Next in Thread]