Skip to contentSkip to conversation

slowdown after one week

DISCUSSION Stefan Priebe 2 participants 3 messages Jul 11, 2015 – Jul 13, 2015 Btrfs file system

lore
Share & tools
lore
#0 lore raw

Hi,

while using a 40TB btrfs partition for VM backups. I see a massive slowdown after around one week.

The backup task takes usally 2-3 hours. After one week it takes 20 hours. If i umount and remount the btrfs volume it takes 2-3 hours again.

Kernel 4.1.1

Greets,
Stefan

#1 lore raw
Quoted 10 lines · Stefan Priebe

Hi,

while using a 40TB btrfs partition for VM backups. I see a massive slowdown after around one week.

The backup task takes usally 2-3 hours. After one week it takes 20 hours. If i umount and remount the btrfs volume it takes 2-3 hours again.

Kernel 4.1.1

I've been seeing similar (although much less drastic) slowdowns over time myself pretty much since I started using BTRFS (IIRC, sometime around 3.16). If you're not constantly writing to that backup volume, you might want to consider setting up automounting for it.

#2 lore raw

Am 13.07.2015 um 13:20 schrieb Austin S Hemmelgarn:

Quoted 9 lines · Stefan Priebe
Quoted 8 lines

Hi,

while using a 40TB btrfs partition for VM backups. I see a massive slowdown after around one week.

The backup task takes usally 2-3 hours. After one week it takes 20 hours. If i umount and remount the btrfs volume it takes 2-3 hours again.

Quoted 7 lines
Quoted 2 lines

Kernel 4.1.1

I've been seeing similar (although much less drastic) slowdowns over time myself pretty much since I started using BTRFS (IIRC, sometime around 3.16). If you're not constantly writing to that backup volume, you might want to consider setting up automounting for it.

Yes but that's awful. it's a bug. It would be very nice if someone involved in the btrfs development can comment on that one.