Hi,
I have a local working copy with some files and directories:
# find . | wc -l
1255817
wc.db is currently 1.1 GiB:
# du -hsA wc.db
1.1G wc.db
I've started an svn rm * in one directory and after 20 minutes it's
still running. The directory is not quite "large", it contains 153 small
text files.
Measuring the time between each "D file name" svn print I get 10 seconds.
So it takes 10 seconds to remove a file.
Top says 100% CPU usage:
PID USERNAME THR PRI NICE SIZE RES STATE C TIME WCPU
COMMAND
11048 root 1 103 0 74052K 7424K CPU5 5 11:55 100.00% svn
and the system doesn't touch the disks, wc.db is in the memory cache.
The system is FreeBSD. I've found some options to sqlite (secure erase,
default turned on, stat3, and memtable, turned off), which I flipped, so
now I can remove a file in just 6 seconds. :)
Is it possible somehow to speed that up? Sometimes I remove hundreds of
files, which takes ages.
Thanks,
ps: is there a debug mode to subversion, so it would print out its SQL
commands?