On Wed, Jul 29, 2020 at 2:59 PM Artem Tim <ego.cordatus(a)gmail.com> wrote:
I am experimenting now with various compression in Fedora and noticed slowdowns with
compression only for mock at this moment. On 4-core CPU building in mock with zstd:1 on
HDD is slower. Also 'autodefrag' and 'space_cache=v2' options enabled on
HDD.
Is there anything else going on at the same time? Could you file a bug
against the kernel and in the Assignee field, replace with
fedora-kernel-btrfs(a)fedoraproject.org and describe the setup with
simple reproduce steps (as in, i never use mock) so the we can do some
A/B testing?
I have a ~9 year old core i7, and zstd:1 single thread throughput is
definitely faster for both reads and writes than the SSD that's in it,
let alone the original HDD that was in it. It should be faster with
zstd:1 if anything. I expect a compile means 100% writes are new file
writes and not many, if any at all, writes within a file. That is what
would trigger autodefrag.
Thanks,
--
Chris Murphy