delorie.com/archives/browse.cgi | search |
X-Spam-Check-By: | sourceware.org |
From: | "Dave Korn" <dave DOT korn AT artimi DOT com> |
To: | <cygwin AT cygwin DOT 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 |
X-Mailer: | Microsoft Office Outlook 11 |
In-Reply-To: | <20070113181859.GA5595@calimero.vinschen.de> |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
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 |
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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |