delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-developers/2000/03/15/10:27:47

Mailing-List: contact cygwin-developers-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-developers-subscribe AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin-developers/>
List-Post: <mailto:cygwin-developers AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-developers-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-developers-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin-developers AT sourceware DOT cygnus DOT com
Message-ID: <38CFAC71.F4E9C28A@vinschen.de>
Date: Wed, 15 Mar 2000 16:29:53 +0100
From: Corinna Vinschen <corinna AT vinschen DOT de>
Reply-To: cygwin-developers AT sourceware DOT cygnus DOT com
X-Mailer: Mozilla 4.72 [en] (Windows NT 5.0; U)
X-Accept-Language: de,en
MIME-Version: 1.0
To: cygwin-developers AT sourceware DOT cygnus DOT com
Subject: Re: Cygwin performance (was [ANN] PW32 the...)
References: <19940315002847 DOT 279871F1B AT sabami DOT seaslug DOT org> <0457 DOT 000315 AT logos-m DOT ru> <38CF6031 DOT 7D7A28BB AT vinschen DOT de> <20000315091124 DOT I19524 AT cygnus DOT com>

Chris Faylor wrote:
> [...]
> I think that the big slowdown happens in counting the files in
> a directory to update the "nlinks" field in stat (or whatever
> it's called).

Oh, I missed that. Good point. I would offer to care for that
because it could be done in one step together with my change to
get_file_attribute().

> Maybe we should just detect when a file or directory is remote
> and not do some of the more expensive operations.

This is already detected in fstat. We could try to use this
knowledge. I would implement a static solution first. After
that, we could care for the following:

> I would like the ability to be able to set attributes on an executable
> something like:
> 
>         chattr --stat-lite ls.exe

I would plead for a path controlled solution:

	cygset stat-lite [never|local|remote|always]

or, another way,

	cygset stat-lite a: e: \\

to set stat-lite on all full paths beginning with a:, e: or \\.

>         chattr --fix-all-existing-bugs cygwin1.dll

Let's get serious: Nobody would need us anymore ;-)

Corinna

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019