This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: slow share = slow scripts?
- From: "Larry Hall (Cygwin)" <reply-to-list-only-lh at cygwin dot com>
- To: cygwin at cygwin dot com
- Date: Wed, 24 May 2006 20:39:17 -0400
- Subject: Re: slow share = slow scripts?
- References: <e52m82$rgm$1@sea.gmane.org>
- Reply-to: cygwin at cygwin dot com
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.
Sorry for the .bz2, but 248k seemed a little excessive :-).
And actually sending unsolicited straces to the list is discouraged.
Somewhat OT, why does 'strace bash -c foo > /foo_strace' generate a file
with DOS line-endings? None of my mounts are 'textmode'...
'strace' does not use cygwin1.dll.
--
Larry Hall http://www.rfk.com
RFK Partners, Inc. (508) 893-9779 - RFK Office
838 Washington Street (508) 893-9889 - FAX
Holliston, MA 01746
--
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/