delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/05/09/14:13:34

X-Spam-Check-By: sourceware.org
Date: Tue, 9 May 2006 14:13:25 -0400 (EDT)
From: Igor Peshansky <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: Michael Hirsch <mdhirsch AT gmail DOT com>
cc: cygwin AT cygwin DOT com
Subject: Re: 1.5.19 slow access to shares
In-Reply-To: <9c2aabaf0605091059t615ecaddn7e21d4a8cee874d4@mail.gmail.com>
Message-ID: <Pine.GSO.4.63.0605091410350.4624@access1.cims.nyu.edu>
References: <9c2aabaf0605091059t615ecaddn7e21d4a8cee874d4 AT mail DOT gmail DOT com>
MIME-Version: 1.0
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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 Tue, 9 May 2006, Michael Hirsch wrote:

> I have a network share (//xcocluster1/vpg) mounted to g:.  Depending
> on which name I try to access it with I get radically different access
> times:
>
> mhirsch AT xcomhirsch20 ~
> $ time ls //xcocluster1/vpg
> Presentations/  appdist/  backups/  buildenv/  conf/  opt/  sysgen/  users/
>
> real    0m10.875s
> user    0m0.030s
> sys     0m0.062s
>
> mhirsch AT xcomhirsch20 ~
> $ time ls g:
> Presentations/  appdist/  backups/  buildenv/  conf/  opt/  sysgen/  users/
>
> real    0m0.063s
> user     0m0.030s
> sys     0m0.015s
>
> mhirsch AT xcomhirsch20 ~
> $ time ls //xcocluster1/vpg
> Presentations/  appdist/  backups/  buildenv/  conf/  opt/  sysgen/  users/
>
> real    0m17.094s
> user    0m0.046s
> sys      0m0.046s
>
> I couldn't find and explanation for this.  Is this normal?  Is there a
> way to make them both fast?
>
> Running a similar command in the windows CMD window yields fast
> accesses, regarless of whether I refer to drive letter or machine WINS
> name.

When you use the WINS name, Cygwin does some processing of the network
share path itself, whereas with the g: drive it delegates to Windows.  I
don't know if it's always possible to delegate to Windows when the WINS
name is specified.
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_	    pechtcha AT cs DOT nyu DOT edu | igor AT watson DOT ibm DOT com
ZZZzz /,`.-'`'    -.  ;-;;,_		Igor Peshansky, Ph.D. (name changed!)
     |,4-  ) )-,_. ,\ (  `'-'		old name: Igor Pechtchanski
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"Las! je suis sot... -Mais non, tu ne l'es pas, puisque tu t'en rends compte."
"But no -- you are no fool; you call yourself a fool, there's proof enough in
that!" -- Rostand, "Cyrano de Bergerac"

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