I'd really appreciate any ideas you guys have on this... I'm stuck...
We are using backupPC to backup about 20 machines in the office. Of these,
one machine is a large raid array holding millions of development files
(lots of kernel trees, cvs branches, etc) and comprising of about 200GB.
Over the past few months, backupPC has slowly but steadily gone from taking
1 entire day to do a full backup of this array to taking roughly 3. There
hasn't been anywhere near a 3x increase in the number/size of files on the
array...
The backupPC drive is a 250GB ata100 internal drive. We are using reiserfs
with the r5 hash mounted with noatime. I'm reasonably certain this problem
has something to do with that filesystem we use... What I can't figure out
is why the filesystem's performance has degraded so much. It was my
understanding that reiserfs handled lots of files/links of various sizes
quite well...
The cpu is never a bottleneck when backuppc does anything, be it a
backup/link/nightly/etc. When I call the tar command directly and grab the
raid array's files (over rsh), but dump the output to null, a "full
backup" takes roughly 8 hours. This tells me the raid array is speedy and
not the problem. Also, when I try doing a full backup with a spare
computer and fresh backuppc setup (also with reiserfs), it takes roughly a
day. This again makes me think our filesystem has degraded tremendously
with the addition of more and more hard links/new files... even though it
really shouldn't...
Here's an interesting part I think may be key: When I go into a leaf cpool
directory (say cpool/a/b/c) and run 'find', it takes about .5 seconds to
display the ~1000 files. Fine. However if I try and run 'stat *', it takes
far too long, even for tiny files. It takes about 45 seconds to do a 'stat
*' or 'ls' in one of these directories. (assuming no caching has already
happened). This is where the root of the slowdown is. If it takes that
long to stat each of these tiny files, backuppc can not blaze through
hundreds of tiny files per second like it used to.
I really appreciate any help/suggestions on this.
Thanks,
-Ross Skaliotis
-------------------------------------------------------
This SF.Net email is sponsored by: GNOME Foundation
Hackers Unite! GUADEC: The world's #1 Open Source Desktop Event.
GNOME Users and Developers European Conference, 28-30th June in Norway
http://2004/guadec.org
_______________________________________________
BackupPC-users mailing list
BackupPC-users < at > lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/
