X-Recipient: archive-cygwin@delorie.com
X-Spam-Check-By: sourceware.org
Date: Mon, 7 Jun 2010 10:55:17 +0200
From: Corinna Vinschen <corinna-cygwin@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: Cygwin Performance and stat()
Message-ID: <20100607085517.GE8163@calimero.vinschen.de>
Reply-To: cygwin@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
References: <20100605052429.GA4801@ednor.casa.cgf.cx> <b8832ccca61b1d5a1e3dba6d087b3a5b.squirrel@www.webmail.wingert.org> <20100605190055.GB13928@ednor.casa.cgf.cx> <04283c099c3e756b9b4ae85306882b11.squirrel@www.webmail.wingert.org> <op.vdwfzak61e62zd@merlin.emma.line.org> <20100606232834.GB317@ednor.casa.cgf.cx>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
In-Reply-To: <20100606232834.GB317@ednor.casa.cgf.cx>
User-Agent: Mutt/1.5.20 (2009-06-14)
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 Jun  6 19:28, Christopher Faylor wrote:
> On Mon, Jun 07, 2010 at 12:12:36AM +0200, Matthias Andree wrote:
> >Meaning that: even if I'm only a Cygwin user, and I'm sometimes  
> >disappointed by how slow it is, too, I'm sort of convinced there isn't a  
> >cheaper way to get all the required information.
> 
> I'm disappointed in Cygwin's slowness too.  Corinna and I have spent
> many hours pouring over MSDN, internals books, and internals web sites.
> I've spent time looking at ReactOS sources trying to see if they would
> provide any insight into how Windows does things.
> 
> It's possible, maybe even likely, that there are things that could be
> done to speed up Cygwin but I don't think it's likely that they include
> using simple Windows API stuff like the suggested GetFileAttributes() or
> limiting Cygwin's POSIXness.

Full ACK.

>   And, if speed ups do exist, they
> definitely do not require a private audience with me or Corinna.
> 
> The best place to discuss improvements is actually the cygwin-developers
> mailing list.  And, as I said, if you do have a patch to propose, it
> would pay to start early on getting the paperwork done.

Indeed.  It would be rather cool if some interested developer would dive
into this code and maybe just look from a different perspective.  I
don't like the idea to cripple the stat API, though.  There's certainly
room for improvement in other ways while maintaining information
completeness of the stat function.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

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

