From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 75911 invoked by alias); 8 Jun 2015 20:54:28 -0000 Mailing-List: contact cygwin-apps-help@cygwin.com; run by ezmlm Precedence: bulk Sender: cygwin-apps-owner@cygwin.com List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Mail-Followup-To: cygwin-apps@cygwin.com Received: (qmail 75898 invoked by uid 89); 8 Jun 2015 20:54:27 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.9 required=5.0 tests=AWL,BAYES_05,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-in-09.arcor-online.net Received: from mail-in-09.arcor-online.net (HELO mail-in-09.arcor-online.net) (151.189.21.49) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (CAMELLIA256-SHA encrypted) ESMTPS; Mon, 08 Jun 2015 20:54:26 +0000 Received: from mail-in-16-z2.arcor-online.net (mail-in-16-z2.arcor-online.net [151.189.8.33]) by mx.arcor.de (Postfix) with ESMTP id 3m56JZ3GXmzDYpk for ; Mon, 8 Jun 2015 22:54:22 +0200 (CEST) Received: from mail-in-09.arcor-online.net (mail-in-09.arcor-online.net [151.189.21.49]) by mail-in-16-z2.arcor-online.net (Postfix) with ESMTP id 6DE024028FC for ; Mon, 8 Jun 2015 22:54:22 +0200 (CEST) X-DKIM: Sendmail DKIM Filter v2.8.2 mail-in-09.arcor-online.net 3m56JZ2QjBzDYpk Received: from Gertrud (p4FF1DE02.dip0.t-ipconnect.de [79.241.222.2]) (Authenticated sender: stromeko@arcor.de) by mail-in-09.arcor-online.net (Postfix) with ESMTPSA id 3m56JZ2QjBzDYpk for ; Mon, 8 Jun 2015 22:54:22 +0200 (CEST) From: Achim Gratz To: cygwin-apps@cygwin.com Subject: Re: setup References: <87382fdvjp.fsf@Rainer.invalid> <87h9qkbllg.fsf@Rainer.invalid> <87ioazclrp.fsf@Rainer.invalid> <20150608132823.GN3416@calimero.vinschen.de> <87oakqnkfi.fsf@Rainer.invalid> <20150608193154.GU3416@calimero.vinschen.de> Date: Mon, 08 Jun 2015 20:54:00 -0000 In-Reply-To: <20150608193154.GU3416@calimero.vinschen.de> (Corinna Vinschen's message of "Mon, 8 Jun 2015 21:31:54 +0200") Message-ID: <878ubtor9g.fsf@Rainer.invalid> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-SW-Source: 2015-06/txt/msg00074.txt.bz2 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 difference. > 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. Regards, Achim. -- +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ Factory and User Sound Singles for Waldorf Q+, Q and microQ: http://Synth.Stromeko.net/Downloads.html#WaldorfSounds