Re: rm -f * on large files very slow on XFS + MD RAID 6 volume of 15x 4TB of HDDs (52TB)

2014-04-23 Thread Dave Chinner
On Wed, Apr 23, 2014 at 11:21:54AM +0200, Ivan Pantovic wrote: > Hi Dave, > > >xfs_db> freesp > > from to extents blockspct > > 1 1 52463 52463 0.00 > > 2 3 73270 181394 0.01 > > 4 7 134526 739592 0.03 > > 8 15 250469 2870193

Re: rm -f * on large files very slow on XFS + MD RAID 6 volume of 15x 4TB of HDDs (52TB)

2014-04-23 Thread Ivan Pantovic
Hi Dave, xfs_db> freesp from to extents blockspct 1 1 52463 52463 0.00 2 3 73270 181394 0.01 4 7 134526 739592 0.03 8 15 250469 2870193 0.12 16 31 581572 13465403 0.58 32 63 692386 32096932 1.

Re: rm -f * on large files very slow on XFS + MD RAID 6 volume of 15x 4TB of HDDs (52TB)

2014-04-23 Thread Dave Chinner
On Wed, Apr 23, 2014 at 09:23:41AM +0200, Ivan Pantovic wrote: > > >[root@drive-b ~]# xfs_db -r /dev/md0 > >xfs_db> frag > >actual 11157932, ideal 11015175, fragmentation factor 1.28% > >xfs_db> > > this is current level of fragmentation ... is it bad? http://xfs.org/index.php/XFS_FAQ#Q:_The_xfs

Re: rm -f * on large files very slow on XFS + MD RAID 6 volume of 15x 4TB of HDDs (52TB)

2014-04-23 Thread Ivan Pantovic
[root@drive-b ~]# xfs_db -r /dev/md0 xfs_db> frag actual 11157932, ideal 11015175, fragmentation factor 1.28% xfs_db> this is current level of fragmentation ... is it bad? some say over 1% is candidate for defrag? ... we can leave it like this and wait for a next full backup and then check

Re: rm -f * on large files very slow on XFS + MD RAID 6 volume of 15x 4TB of HDDs (52TB)

2014-04-22 Thread Dave Chinner
[cc x...@oss.sgi.com] On Mon, Apr 21, 2014 at 10:58:53PM +0200, Speedy Milan wrote: > I want to report very slow deletion of 24 50GB files (in total 12 TB), > all present in the same folder. total = 1.2TB? > OS is CentOS 6.4, with upgraded kernel 3.13.1. > > The hardware is a Supermicro server

rm -f * on large files very slow on XFS + MD RAID 6 volume of 15x 4TB of HDDs (52TB)

2014-04-21 Thread Speedy Milan
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 vol