PapaScott I like big blogs and I cannot lie! 🐘

BackupPC: Performance Problems Solved?

I haven't been keeping up my wiki like I promised. The performance problems with BackupPC I mentioned there have been getting progressively worse. A full backup was taking 48 hours, and the incremental would take 16 hours on the slowest machine on a bad day.

My problem seems to have been using an ext3 file system... the millions of inodes are too much for ext3 to handle. I found a post on the backuppc-users mailing list at SourceForge (the list is borked at the moment, I can't like to the entry) suggested using reiserfs or xfs instead.

Since I have no experience with xfs, I choose reiser. Over the weekend, I reformatted (taking a PartImage first, 80GB takes 8 hours), and the full backup was done in 15 hours. This evening the incremental was done in 3 hours. If this keeps up even after we have a month of backups on the partition, I'll be very happy.

One thing still bothers me, though. I was able to see that things were slow. The load was high, all of the BackupPC processes were waiting for something. But we couldn't see what. I assumed they were waiting on the network, that the clients were slow (they all had high iowait), but it turned out they were waiting on the file system on the server. Shouldn't I have seen that in the system statistics? Where should I have looked?

comments powered by Disqus