Re: suddenly slow writes on XFS Filesystem

Stan Hoeppner
2012-05-07T16:44:12Z

On 5/7/2012 3:21 AM, Martin Steigerwald wrote:
> Am Montag, 7. Mai 2012 schrieb Stefan Priebe - Profihost AG:

>> after deleting 400GB it was faster. Now there are still 300GB free but
>> it is slow as hell again ;-(
>
> Well, before you had 200 GB free, now you have 300 GB free. Thats not that
> much more. You have 5 AGs, so if distributed evenly it would be 40 to 60
> GB free space per AG.
>
> The 10% Dave recommended of 4,6 TB would be 460 GB.

As I mentioned, increasing the size of the free space pool will only
help for a short duration. Most of the files Stefan is deleting are
small files. Thus he's simply punching out small holes of free space,
which is the problem he already has. Now if he could delete a handful
of large files (10GB+) that are mostly contiguous now, that would help
quite a bit, as the resulting free space wouldn't be horribly fragmented.

So the takeaway is that simply deleting files to get more space isn't
the right way to go. Deleting larger files that are currently
contiguous is the way to go. At least for some temporary breathing
room. The "permanent" solution I described in another reply.

--
Stan