delorie.com/archives/browse.cgi | search |
X-Spam-Check-By: | sourceware.org |
From: | "Gary R. Van Sickle" <g DOT r DOT vansickle AT worldnet DOT att DOT net> |
To: | <cygwin AT cygwin DOT com> |
Subject: | RE: slow share = slow scripts? |
Date: | Wed, 24 May 2006 18:38:43 -0500 |
Message-ID: | <003101c67f8b$322cdb20$020aa8c0@DFW5RB41> |
MIME-Version: | 1.0 |
X-Mailer: | Microsoft Office Outlook 11 |
In-Reply-To: | <e52m82$rgm$1@sea.gmane.org> |
X-IsSubscribed: | yes |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
> From: mwoehlke > > 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. Cygwin's fstat() is slow. That's a known situation brought on by the POSIX definition of the function. Fstating stuff across a slow link is simply going to exacerbate the problem. > 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?) > The obvious is to copy everything to a fast (preferably local) drive/share and do your business there, if that's possible. It might be a win for you even if you did a copy-to-local/modify/copy-back sort of deal, depends on the situation. -- Gary R. Van Sickle -- 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |