[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

2.7 million I/O operations on boot...

From: Thomas Hruska <thruska_at_cubiclesoft.com>
Date: 2006-06-03 20:57:32 CEST

I recently rebooted my computer to finish the upgrade to the latest TSVN
1.3.4 (32-bit). Upon completing the reboot, I started going about my
business of getting things running again. The moment I launched "My
Computer", TSVNCache.exe loaded and started going nuts. My system was
almost unusable for about 15 minutes (thankfully I've got a CPU with
hyperthreading enabled). I launched Task Manager and quickly figured
out that TSVNCache, whatever it was doing, was the cause:

I/O Reads
2,282,862

I/O Writes
842

I/O Other
528,221

Note that the CPU utilization never went above 10%. My repository is
huge (roughly 300MB on a local drive) and roughly 97% of the data in the
repository is in a local WC. The hard drive was going incredibly nuts.
  It was making noises indicating it was being stressed (e.g. lots of
head jumping) like a multi-threaded app. asking for data from lots of
different files all at once. Those sorts of applications reduces a hard
drive's lifetime.

As I've stated before, I'd like to see a cache for TSVNCache that sticks
its data into the .svn directories and manages itself completely on the
hard drive. That way large WCs are instantaneously traversable and thus
don't require scanning subdirectories.

--
Thomas Hruska
CubicleSoft President
Ph: 517-803-4197
Safe C++ Design Principles (First Edition)
Learn how to write memory leak-free, secure,
portable, and user-friendly software.
Learn more and view a sample chapter:
http://www.CubicleSoft.com/SafeCPPDesign/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Sat Jun 3 20:57:49 2006

This is an archived mail posted to the TortoiseSVN Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.