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 Message-ID: <39E7A3C0.A50DD6F2@SunyataSystems.Com> Date: Fri, 13 Oct 2000 20:07:28 -0400 From: "Laurence F. Wood" Organization: Sunyata Systems Corporation X-Mailer: Mozilla 4.75 [en] (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 To: Chris Abbey CC: cygwin AT sourceware DOT cygnus DOT com Subject: Re: Cygwin Performance Info References: <4 DOT 3 DOT 2 DOT 7 DOT 0 DOT 20001013184237 DOT 00b6cd70 AT pop DOT bresnanlink DOT net> Content-Type: multipart/mixed; boundary="------------6AF426A2C47D16DA9342045F" --------------6AF426A2C47D16DA9342045F Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit From your response it sounds like if I have a compute bound application, i.e. one that does not make system calls, there is no hit. However, what about memory allocation and deallocation? Chris Abbey wrote: > 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 --------------6AF426A2C47D16DA9342045F Content-Type: text/x-vcard; charset=us-ascii; name="LaurenceWood.vcf" Content-Transfer-Encoding: 7bit Content-Description: Card for Laurence F. Wood Content-Disposition: attachment; filename="LaurenceWood.vcf" begin:vcard n:Wood;Laurence tel;fax:732-701-9748 tel;work:732-701-9746 x-mozilla-html:FALSE url:www.sunyatasystems.com org:Sunyata Systems Corporation adr:;;;;;; version:2.1 email;internet:LaurenceWood AT SunyataSystems DOT com title:Chief Science Officer fn:Laurence end:vcard --------------6AF426A2C47D16DA9342045F Content-Type: text/plain; charset=us-ascii -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com --------------6AF426A2C47D16DA9342045F--