Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com From: "Piyush Kumar" To: "Cygwin AT Cygwin. Com" Subject: Old Thread: Cygwin Performance Date: Fri, 30 Nov 2001 09:49:09 -0500 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 I picked this old thread from Oct 2000!!! Tim reports that cygwin falls short by performance compared to linux box by a factor of 2 using lmbench. Is it still the case? Or have things improved since Oct 13(Unlucky date!! ;)?? I was trying to compile lmbench 2.0 (Patch 2) on my cygwin , no luck!!!! I couldnt compile it! Anyone here has tried it before ?? Any luck? I would be really interested in a lmbench port on cygwin! If someone has already done it , please let me know! Thanks, --Piyush =============================================================An Old Thread Re: Cygwin Performance Info To: , "Chris Abbey" Subject: Re: Cygwin Performance Info From: "Tim Prince" Date: Fri, 13 Oct 2000 19:12:40 -0700 References: <4 DOT 3 DOT 2 DOT 7 DOT 0 DOT 20001013184237 DOT 00b6cd70 AT pop DOT bresnanlink DOT net> ---------------------------------------------------------------------------- ---- When I attempted to run lmbench on this old box both under linux and cygwin, there were some tests on which cygwin/w2k fell short of linux by a factor of 2 or more (opening files, pipe throughput, and the like), and then there were the cache statistics on which cygwin beat linux by a small margin. I was expecting lmbench to become better adapted to cygwin, but I have no news there. ----- Original Message ----- From: "Chris Abbey" To: Sent: Friday, October 13, 2000 4:51 PM Subject: Re: Cygwin Performance Info > At 19:23 10/13/00 -0400, Laurence F. Wood wrote: > >Can someone tell me where the performance hit is in cygwin unix > >emulation? > > whichever part you use the most inside your tightest inner loop. > > seriously. > > that's a big huge open ended question (not about cygwin, about ANY > library/platform) that is as specific to your application as you can > get. For example, if you spend 75% of your computing day manipulating > text files and piping them and greping them and running file utils > against them then the cr/lf translation may be a big hit for you. > On the otherhand if most of your computation in a day is spent answering > requests that come in on tcp/ip sockets then the remapping of winsock > to netinet.h functions maybe your major headache. (note, I'm not trying > to imply that either function has a performance problem, merely that they > would be representative places that would have high invocation counts > in the course of the given activity.) > > To really answer that for your application/workload then you need to > get some form of performance detailing that can tell you how much time > you are spending in any given method and how often it's called. > > > -- > Want to unsubscribe from this list? > Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/