X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org Date: Mon, 7 Jun 2010 10:55:17 +0200 From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com> To: cygwin AT cygwin DOT com Subject: Re: Cygwin Performance and stat() Message-ID: <20100607085517.GE8163@calimero.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <20100605052429 DOT GA4801 AT ednor DOT casa DOT cgf DOT cx> <b8832ccca61b1d5a1e3dba6d087b3a5b DOT squirrel AT www DOT webmail DOT wingert DOT org> <20100605190055 DOT GB13928 AT ednor DOT casa DOT cgf DOT cx> <04283c099c3e756b9b4ae85306882b11 DOT squirrel AT www DOT webmail DOT wingert DOT org> <op DOT vdwfzak61e62zd AT merlin DOT emma DOT line DOT org> <20100606232834 DOT GB317 AT ednor DOT casa DOT cgf DOT 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 AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: <cygwin.cygwin.com> List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com> List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com> List-Archive: <http://sourceware.org/ml/cygwin/> List-Post: <mailto:cygwin AT cygwin DOT com> List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT 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