public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
* XFS writing issue
@ 2023-07-11 15:31 Eugene K.
  2023-07-11 15:42 ` Darrick J. Wong
  2023-07-11 23:11 ` Dave Chinner
  0 siblings, 2 replies; 3+ messages in thread
From: Eugene K. @ 2023-07-11 15:31 UTC (permalink / raw)
  To: linux-xfs

Hello.

During investigation of flapping performance problem, it was detected 
that once a process writes big amount of data in a row, the filesystem 
focus on this writing and no other process can perform any IO on this 
filesystem.

We have noticed huge %iowait on software raid1 (mdraid) that runs on 2 
SSD drives - on every attempt to write more than 1GB.

The issue happens on any server running 6.4.2, 6.4.0, 6.3.3, 6.2.12 
kernel. Upon investigating and testing it appeared that server IO 
performance can be completely killed with a single command:

#cat /dev/zero > ./removeme

assuming the ~/removeme file resides on rootfs and rootfs is XFS.

While running this, the server becomes so unresponsive that after ~15 
seconds it's not even possible to login via ssh!

We did reproduce this on every machine with XFS as rootfs running 
mentioned kernels. However, when we converted rootfs from XFS to 
EXT4(and btrfs), the problem disappeared - with the same OS, same kernel 
binary, same hardware, just using ext4 or btrfs instead of xfs.

Note. During the hang and being unresponsive, SSD drives are writing 
data at expected performance. Just all the processes except the writing 
one hang.



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

end of thread, other threads:[~2023-07-11 23:11 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-07-11 15:31 XFS writing issue Eugene K.
2023-07-11 15:42 ` Darrick J. Wong
2023-07-11 23:11 ` Dave Chinner

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