All of lore.kernel.org
 help / color / mirror / Atom feed
* [BUG] 500-2000% performance regression w/ 5.10
@ 2020-12-21 19:45 René Rebe
  2020-12-22  8:28 ` Qu Wenruo
                   ` (3 more replies)
  0 siblings, 4 replies; 13+ messages in thread
From: René Rebe @ 2020-12-21 19:45 UTC (permalink / raw)
  To: linux-btrfs

Hey there,

as a long time btrfs user I noticed some some things became very slow
w/ Linux kernel 5.10. I found a very simple test case, namely extracting
a huge tarball like:

  tar xf /usr/src/t2-clean/download/mirror/f/firefox-84.0.source.tar.zst

Why my external, USB3 road-warrior SSD on a Ryzen 5950x this
went from ~15 seconds w/ 5.9 to nearly 5 minutes in 5.10, or 2000%

To rule out USB, I also tested a brand new PCIe 4.0 SSD, with
a similar, albeit not as shocking regression from 5.2 seconds
to ~34 seconds or∫~650%.

Somehow testing that in a VM did over virtio did not produce
as different results, although it was already 35 seconds slow
with 5.9.

# first bad commit: [38d715f494f2f1dddbf3d0c6e50aefff49519232]
  btrfs: use btrfs_start_delalloc_roots in shrink_delalloc

Now just this single commit does obviously not revert cleanly,
and I did not have the time today to look into the rather more
complex code today.

I hope this helps improve this for the next release, maybe you
want to test on bare metal, too.

Greetings,
	René	https://youtu.be/NhUMdvLyKJc

-- 
 ExactCODE GmbH, Lietzenburger Str. 42, DE-10789 Berlin, https://exactcode.com
 https://exactscan.com | https://ocrkit.com | https://t2sde.org | https://rene.rebe.de


^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2021-01-04  1:17 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-21 19:45 [BUG] 500-2000% performance regression w/ 5.10 René Rebe
2020-12-22  8:28 ` Qu Wenruo
2020-12-22  9:12   ` Rene Rebe
2020-12-23  3:14 ` Josef Bacik
2020-12-23 19:41 ` Josef Bacik
2020-12-23 20:31   ` Holger Hoffstätte
2020-12-23 20:34     ` Josef Bacik
2020-12-24 18:09 ` Josef Bacik
2020-12-24 21:11   ` René Rebe
2020-12-26 12:24     ` Nikolay Borisov
2020-12-26 15:30       ` Rene Rebe
2020-12-26 12:23   ` Nikolay Borisov
2021-01-04  1:15   ` Chris Murphy

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.