This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: 1.7 slow while accessing the netapp drive


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]