public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* rm -f * on large files very slow on XFS + MD RAID 6 volume of 15x 4TB of HDDs (52TB)
@ 2014-04-21 20:58 Speedy Milan
  2014-04-23  2:18 ` Dave Chinner
  0 siblings, 1 reply; 6+ messages in thread
From: Speedy Milan @ 2014-04-21 20:58 UTC (permalink / raw)
  To: linux-kernel; +Cc: Ivan Pantovic

I want to report very slow deletion of 24 50GB files (in total 12 TB),
all present in the same folder.

OS is CentOS 6.4, with upgraded kernel 3.13.1.

The hardware is a Supermicro server with 15x 4TB WD Se drives in MD
RAID 6, totalling 52TB of free space.

XFS is formated directly on the RAID volume, without LVM layers.

Deletion was done with rm -f * command, and it took upwards of 1 hour
to delete the files.

File system was filled completely prior to deletion.

rm was mostly waiting (D state), probably for kworker threads, and
iostat was showing big HDD utilization numbers and very low throughput
so it looked like a random HDD workload was in effect.

rm was the only IO task at the moment.

I found it strange that deleting large files should take such a long
time, so I thought it would be wise to report.

Thanks,
Milan

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

end of thread, other threads:[~2014-04-23 22:12 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-04-21 20:58 rm -f * on large files very slow on XFS + MD RAID 6 volume of 15x 4TB of HDDs (52TB) Speedy Milan
2014-04-23  2:18 ` Dave Chinner
2014-04-23  7:23   ` Ivan Pantovic
2014-04-23  8:25     ` Dave Chinner
2014-04-23  9:21       ` Ivan Pantovic
2014-04-23 22:12         ` Dave Chinner

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