delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/03/16/05:13:56

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Date: Mon, 16 Mar 2009 11:13:36 +0100
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: 1.7 slow while accessing the netapp drive
Message-ID: <20090316101336.GQ9322@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <AF5E26A9B961BF4681B5C1593D7D03C002B3EF1994 AT SI-MBX06 DOT de DOT bosch DOT com>
MIME-Version: 1.0
In-Reply-To: <AF5E26A9B961BF4681B5C1593D7D03C002B3EF1994@SI-MBX06.de.bosch.com>
User-Agent: Mutt/1.5.19 (2009-02-20)
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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 Mar 16 10:10, Pach Roman (DGS-EC/ESG3) wrote:
> I've just compared the speed of 1.5 and 1.7 while accessing the drive of the type 'netapp'.
> 
> The results for cygwin-1.5 (DLL version: 1.5.25) follow:
> > mount
>     u: on /u type user (binmode)
> 
> > time ls -l /u
>     ...
>     real    0m1.063s
>     user    0m0.046s
>     sys     0m0.031s
> 
> And now the same test for cygwin-1.7 (CYGWIN_NT-5.1 1.7.0(0.206/5/3) 2009-03-11 14:08):
> > mount
>     U: on /u type netapp (binary,noacl,user)
> 
> > time ls -l /u
>     ...
>     real    0m2.140s
>     user    0m0.061s
>     sys     0m0.186s
> 
> The duration of 1.7 access to the netapp drive is the twice of 1.5.
> Are there any reasons for this behavior?

Probably, but I don't know them.  I have no netapp access.  If you're
interested to gain speed, you will have to debug this locally.
Typically file access in 1.7 should be a bit faster than on 1.5 and
netapp is practically handled like any FAT drive in 1.7.

Hmm, on second thought, there's a difference here.  File access in 1.7
is by default case-sensitive if your obcaseinsensitive kernel flag is
set (http://cygwin.com/1.7/cygwin-ug-net/using-specialnames.html#pathnames-casesensitive).
Can you change your mount entry for your netapp drive so that you add
the option "posix=0" and restart your Cygwin session?  Does that help?


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

--
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/

- Raw text -


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