X-Spam-Check-By: sourceware.org
Message-ID: <4475C82B.9060207@cygwin.com>
Date: Thu, 25 May 2006 11:07:23 -0400
From: "Larry Hall (Cygwin)" <reply-to-list-only-lh@cygwin.com>
Reply-To: cygwin@cygwin.com
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8) Gecko/20051223 Fedora/1.5-0.2.fc4.remi Thunderbird/1.5 Mnenhy/0.7.3.0
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: slow share = slow scripts?
References: <e52m82$rgm$1@sea.gmane.org> <4474FCB5.9070906@cygwin.com> <e54elr$41p$1@sea.gmane.org>
In-Reply-To: <e54elr$41p$1@sea.gmane.org>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

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                              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/

