Mail Archives: cygwin/2006/05/09/14:13:34
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 -