delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=-1.9 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,RCVD_IN_HOSTKARMA_YE |
X-Spam-Check-By: | sourceware.org |
X-Mail-Handler: | Dyn Standard SMTP by Dyn |
X-Report-Abuse-To: | abuse AT dyndns DOT com (see http://www.dyndns.com/services/sendlabs/outbound_abuse.html for abuse reporting information) |
X-MHO-User: | U2FsdGVkX18z6fPIWk8/7BvYZuQ3r8gt |
Date: | Wed, 3 Oct 2012 09:04:48 -0400 |
From: | Christopher Faylor <cgf-use-the-mailinglist-please AT cygwin DOT com> |
To: | cygwin AT cygwin DOT com |
Subject: | Re: Fifo blocking and performance issues |
Message-ID: | <20121003130448.GB19620@ednor.casa.cgf.cx> |
Reply-To: | cygwin AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
References: | <2415374 DOT xBCzgxA7JH AT bob-kubuntu> <CA+sc5m=V60B772mTd0hLn2cAQNE1taHxBbkrH9inwTqOwuTTVw AT mail DOT gmail DOT com> |
MIME-Version: | 1.0 |
In-Reply-To: | <CA+sc5m=V60B772mTd0hLn2cAQNE1taHxBbkrH9inwTqOwuTTVw@mail.gmail.com> |
User-Agent: | Mutt/1.5.20 (2009-06-14) |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
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 Wed, Oct 03, 2012 at 08:29:21AM -0400, Earnie Boyd wrote: >On Tue, Oct 2, 2012 at 3:15 PM, bob wrote: >>While this hack works the performance under Cygwin is orders of >>magnitude slower than the equivalent Linux performance. >> >>Any suggestions on how we can achieve a higher performance blocking >>read on a Cygwin RDWR fifo? >> > >You expect too much, it is Windows under the hood and no one but >Microsoft can change that performance issue. Windows alone (meaning >without Cygwin) is orders of magnitude slower than Linux. Cygwin adds >another layer of slowness just because of the emulation required. You >might get a tweak or two of milliseconds by modifying some underlying >code but you're not going to get too much more. But, again, if we are talking about differences in behavior which are not simply "Linux is faster" then provide a simple test case which works one way on Linux and another on Cygwin and I'll look into fixing the problem. cgf -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |