Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com From: "David E. Weekly" To: Subject: Incredibly Slow chmod? Date: Tue, 2 Jul 2002 23:42:27 -0700 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-MIMEOLE: Produced By Microsoft MimeOLE V5.50.4807.1700 Importance: Normal Cygwinners, Apologies if this has already been answered, but I was unable to find an answer to this question in the FAQ or via Google; I'm sorry if I overlooked an obvious answer. My problem is this: the "chmod" program is incredibly slow in newer Cygwins. on the latest install of Cygwin (done completely clean) I get 8 chmod's a second on a 1.8GHz P4. (If I loop over the chmod() call from Perl directly, I can get ~5000 a second.) In version of cygwin that are a chunk older (~1 year?), we can do over 100 chmod's a second. Clearly, something has changed somewhat recently to make the chmod program considerably less efficient. This may also be affecting other binaries performing basic filesystems work, such as "rm". I don't know. A) Is this a problem with our environment? B) If not, is this a known bug with a workaround? C) If not, are there plans to fix this? I can provide a simple Perl script that just does as many chmods (of a single file) as it possibly can in a second. -david -- 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/