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.roland@scs.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@cygwin.com
Subject: Re: 1.5.20-1: ls -F slowness
References: <4550A3B7.6090002@scs.ch> <455B174B.6060200@scs.ch>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
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 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/

