public inbox for linux-btrfs@vger.kernel.org
 help / color / mirror / Atom feed
* Disk write deterioration in 5.x kernel
@ 2024-01-16  5:51 Gowtham
  2024-01-19  4:07 ` Gowtham
  0 siblings, 1 reply; 5+ messages in thread
From: Gowtham @ 2024-01-16  5:51 UTC (permalink / raw)
  To: linux-btrfs

Hi

We use BTRFS as a root filesystem and have recently upgraded our
servers from Ubuntu 16.04 to 20.04 (from 4.15.0-36 linux kernel to
5.4.0-137). Post that we see a deterioration in the disk write speeds

# dd if=/dev/zero of=/var/nvOS/log/dd.img bs=1G count=2 oflag=dsync;date
2+0 records in
2+0 records out
2147483648 bytes (2.1 GB, 2.0 GiB) copied, 2.72458 s, 788 MB/s

vs

# dd if=/dev/zero of=/var/nvOS/log/dd.img bs=1G count=2 oflag=dsync;date
2+0 records in
2+0 records out
2147483648 bytes (2.1 GB, 2.0 GiB) copied, 3.11866 s, 689 MB/s

# btrfs --version
btrfs-progs v5.4.1

BTRFS options
rw,noatime,compress=lzo,ssd,flushoncommit,space_cache,subvolid=269,subvol=

On average we see 10-15% slower speeds on 20.04 when compared with
16.04. And this data has been recorded from different systems and
different types of SSD.

Are there any known enhancements in BTRFS that can affect the write speeds?

Regards,
Gowtham

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

end of thread, other threads:[~2024-01-19 13:34 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-01-16  5:51 Disk write deterioration in 5.x kernel Gowtham
2024-01-19  4:07 ` Gowtham
2024-01-19  6:58   ` Bagas Sanjaya
2024-01-19  8:55     ` Linux regression tracking (Thorsten Leemhuis)
2024-01-19 13:34       ` Bagas Sanjaya

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox