This is the mail archive of the cygwin-apps mailing list for the Cygwin 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: setup

Corinna Vinschen writes:
> I'm certainly not de-valuing your patch, but that makes me suspicious.
> The impact of reading from a local SSD should be rather low.  That
> reminds me of the buffer size problem slowing down SHA512 evaluation,
> see git diff 0c7564..8648b05.
> greping setup sources, it seems setup is using smaller buffers in more
> places, e.g.
> compress_bz::read uses 4K buffer
> compress_gz::read 16K

Not using any of these anymore.

> io_stream::copy   16K

I've already enlarged that to 64kiB, but I couldn't really tell the

> YY_INPUT	   8K
> Especially YY_READ_BUF_SIZE defined as 8K might be a culprit here.

At least from the network the slow part is the loading of the file
(while the progress bar updates).  Parsing should happen in that split
second when the loading is complete and before it switches to the
chooser pane.

> Can you speed up reading the ini file noticably by defining
> YY_READ_BUF_SIZE to 65536 in inilex.ll?  If so, is the impact of using
> base64 still an issue, performance-wise?

That's not the right place to do the override, since it ends up after
the default definition.  In any case, from the Flex manual it doesn't
make sense to increase that buffer ("it's almost always too large") and
it is being fed from an io_stream, which is buffered itself.

+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+

Factory and User Sound Singles for Waldorf Q+, Q and microQ:

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