performance loss with lots of snapshots

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



There are two uses of backups, recovering from user errors (IE deleting the 
wrong file) and recovering from sysadmin errors or hardware failures (IE disks 
are dead or wiped).  For the former use I'm mainly using BTRFS snapshots on 
many systems.

A problem that I have had on more than a few occasions (most recently on the 
latest Debian 3.9 kernel) is of severe performance loss.  A few days ago this 
happened on a workstation running an Intel 120G SSD device for the root 
filesystem which was being used for basic workstation tasks (kmail, GIMP, 
OpenOffice, etc).  The /home and / subvols had about 400 snapshots between 
them (which doesn't seem like a huge number) when the system became unusably 
slow while running a scrub from a cron job, programs like GIMP became stuck in 
D state.  The system in question has 8G of RAM and very light load, there 
shouldn't be any reason for it not giving good performance while the scrub was 
in progress and it definitely should have performed well when the scrub was 
cancelled.  But it didn't return to decent performance until I deleted about 
300 snapshots.

This has happened to me often enough that I can probably reproduce it on a VM.  
What kernel should I use for such tests?

If I get a virtual machine in a state where it has ongoing performance 
problems would any of the BTRFS developers like root access to debug it?

-- 
My Main Blog         http://etbe.coker.com.au/
My Documents Blog    http://doc.coker.com.au/
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux