X-Spam-Check-By: sourceware.org Date: Tue, 9 May 2006 14:13:25 -0400 (EDT) From: Igor Peshansky Reply-To: cygwin AT cygwin DOT com To: Michael Hirsch cc: cygwin AT cygwin DOT com Subject: Re: 1.5.19 slow access to shares In-Reply-To: <9c2aabaf0605091059t615ecaddn7e21d4a8cee874d4@mail.gmail.com> Message-ID: References: <9c2aabaf0605091059t615ecaddn7e21d4a8cee874d4 AT mail DOT gmail DOT com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; CHARSET=US-ASCII; FORMAT=flowed Content-ID: Content-Disposition: INLINE Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , 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/