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: slow share = slow scripts?

On 05/25/2006, mwoehlke wrote:
Larry Hall (Cygwin) wrote:
> mwoehlke wrote:
>> I'm trying to run some scripts off of a slow network share, and it takes *forever* in Cygwin (it's OK in Interix).
>> Looking at an strace (attached) via 'sort -n' shows a LOT of time being spent in read(), apparently just after (caused by?) an fstat(), which means this feels like an inefficiency somewhere in Cygwin's POSIX emulation. Other than "RTFSC", does anyone have any ideas what I could do (workarounds, etc) so that I can run scripts in a reasonable amount of time? (Might this have anything to do with my share being non-writable?)
> Take a look at the -x, -E, and -X flags of 'mount'. Perhaps these will help
> you.

Hmm, those are mutually contradictory... guess I'll "experiment". Out of curiosity, what are any of these expected to do?

They are indeed mutually exclusive. See 'man mount' for an explanation of the flags. You might want to try -x or -X.

Larry Hall                    
RFK Partners, Inc.                      (508) 893-9779 - RFK Office
838 Washington Street                   (508) 893-9889 - FAX
Holliston, MA 01746

Unsubscribe info:
Problem reports:

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