X-Spam-Check-By: sourceware.org
From: "Dave Korn" <dave.korn@artimi.com>
To: <cygwin@cygwin.com>
Subject: RE: Snapshot speed on managing files
Date: Sat, 13 Jan 2007 21:02:03 -0000
Message-ID: <007101c73756$1392a040$a501a8c0@CAM.ARTIMI.COM>
MIME-Version: 1.0
Content-Type: text/plain; 	charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Mailer: Microsoft Office Outlook 11
In-Reply-To: <20070113181859.GA5595@calimero.vinschen.de>
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
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 13 January 2007 18:19, Corinna Vinschen wrote:


> Ok, next thing is taking the time with the current implementation
> which always moves the file to the bin:
> 
>   $ ./deltest.sh
>   Creating files... Ok.
>   Deleting files ...
>   real    0m2.546s
>   user    0m0.233s
>   sys     0m0.578s
> 
> Huh?  2.5s for what Marco tells us needs 1m40 on his machine?
> 
> Anyway, let's try with the new implementation:
> 
>   $ ./deltest.sh
>   Creating files... Ok.
>   Deleting files ...
>   real    0m2.359s
>   user    0m0.187s
>   sys     0m0.531s
> 
> Can anybody explain to me why moving to the bin should take that
> long on another machine?  Apparently the performance hit is barely
> visible on my machine.  It's hardly worth to change the code.

> So, what's up on the slow machines? 

  How full are your respective recycle bins?  I've noticed just through
deleting things in ordinary windows explorer that the recycle bin thrashes
like crazy when it starts to get full; seriously thrashes, like 15 or 20
seconds just to delete a small file.


    cheers,
      DaveK
-- 
Can't think of a witty .sigline today....


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

