This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: 1.5.19 slow access to shares
- From: Igor Peshansky <pechtcha at cs dot nyu dot edu>
- To: Michael Hirsch <mdhirsch at gmail dot com>
- Cc: cygwin at cygwin dot com
- Date: Tue, 9 May 2006 14:13:25 -0400 (EDT)
- Subject: Re: 1.5.19 slow access to shares
- References: <9c2aabaf0605091059t615ecaddn7e21d4a8cee874d4@mail.gmail.com>
- Reply-to: 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@xcomhirsch20 ~
$ time ls //xcocluster1/vpg
Presentations/ appdist/ backups/ buildenv/ conf/ opt/ sysgen/ users/
real 0m10.875s
user 0m0.030s
sys 0m0.062s
mhirsch@xcomhirsch20 ~
$ time ls g:
Presentations/ appdist/ backups/ buildenv/ conf/ opt/ sysgen/ users/
real 0m0.063s
user 0m0.030s
sys 0m0.015s
mhirsch@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@cs.nyu.edu | igor@watson.ibm.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/