This is the mail archive of the cygwin 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: Fifo blocking and performance issues


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


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