X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-5.4 required=5.0	tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,KHOP_RCVD_TRUST,KHOP_THREADED,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
In-Reply-To: <2415374.xBCzgxA7JH@bob-kubuntu>
References: <2415374.xBCzgxA7JH@bob-kubuntu>
Date: Wed, 3 Oct 2012 08:29:21 -0400
Message-ID: <CA+sc5m=V60B772mTd0hLn2cAQNE1taHxBbkrH9inwTqOwuTTVw@mail.gmail.com>
Subject: Re: Fifo blocking and performance issues
From: Earnie Boyd <earnie@users.sourceforge.net>
To: cygwin@cygwin.com
Content-Type: text/plain; charset=UTF-8
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

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.

-- 
Earnie
-- https://sites.google.com/site/earnieboyd

--
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

