X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org Date: Mon, 10 Dec 2007 15:03:34 +0100 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: Updated: cygwin-1.5.25-5 Message-ID: <20071210140334.GD6618@calimero.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <475C2AAE DOT 9030800 AT alum DOT mit DOT edu> <20071210095725 DOT GA13109 AT calimero DOT vinschen DOT de> <20071210132802 DOT GA15065 AT calimero DOT vinschen DOT de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.16 (2007-06-09) Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com On Dec 10 08:40, Mike Marchywka wrote: > > I can't reproduce worse I/O performance. I tested different scenarios > > with lots of disc I/O and the performance was identical between 1.5.24 > > and 1.5.25 within the bounds of a performance test. > > > > > One thing I found out, after originally blaming my inner computational loops, > was that console IO is very slow. Using ">" on the command line makes a big > difference compared to opening a destination file. This seemed to be the > speed limit in many programs I thought were computationally limited. > [...] > Has the console buffering > changed lately? I don't understand what you mean. Using > on the command line or opening the file by using some option of the tool has both nothing to do with console output. In both cases a file is opened. The only difference in that in the > case the shell opens the file and the child inherits the file descriptor, in the other case the child opens the file by itself. However, I don't see how getting a file descriptor to a file from the parent should be different than opening the file in the child, at least as long as parent and child are both Cygwin processes. In fact, one of my tests was a loop using `cat < foo > bar', which got much faster under 1.5.25 due to the new 64K buffering. Give me a really simple testcase which shows reproducibly worse performance on 1.5.25 compared to 1.5.24 and I'll have another look. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DOT com Red Hat -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/