delorie.com/archives/browse.cgi | search |
X-Spam-Check-By: | sourceware.org |
Message-ID: | <456167C1.6020708@scs.ch> |
Date: | Mon, 20 Nov 2006 09:30:57 +0100 |
From: | Scott Roland <scott DOT roland AT scs DOT ch> |
User-Agent: | Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.8) Gecko/20061025 Thunderbird/1.5.0.8 Mnenhy/0.7.4.0 |
MIME-Version: | 1.0 |
To: | cygwin AT cygwin DOT com |
Subject: | Re: 1.5.20-1: ls -F slowness |
References: | <4550A3B7 DOT 6090002 AT scs DOT ch> <455B174B DOT 6060200 AT scs DOT ch> |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
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 Thursday, Nov 16 Corinna wrote: > I looked through this and I'm just puzzled. I'd expect 1.5.22 to be > as quick as 1.5.19 with respect to opening files on a share. And it > is in my tests. The number of usecs above is the time it takes to > convert an ASCII filename to a UNICODE filename, setting a couple of > flags and then call NtCreateFile. There are no changes in that code > between 1.5.19 and 1.5.20 which would in any way explain the slowness > you see. In my local tests it's always roughly about 1000 usecs. Thanks for looking into this. I did some monitoring of the performance problem and noticed that the problems with 1.5.20 and newer are also effected by the performance of the SMB server being accessed. Around lunch when no one is doing much work it seems to be okay, but during normal works hour it can take 7 minutes. The server also has a virus scanner running on it, and when we turn off the virus scanner the newer versions complete in a normal amount of time. So if the SMB server is not being used much then the ls -F has no problems, unfortunately this is not the normal situation. I still don't have any clue as to what the 1.5.20 or newer versions would be doing special that make them slower than the 1.5.19 and earlier versions. (Are the newer versions parallelizing the system calls and our server ends up thrashing its cache?) Regards. -- Scott Roland -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |