xfs
[Top] [All Lists]

Re: suddenly slow writes on XFS Filesystem

To: Martin Steigerwald <Martin@xxxxxxxxxxxx>
Subject: Re: suddenly slow writes on XFS Filesystem
From: Stan Hoeppner <stan@xxxxxxxxxxxxxxxxx>
Date: Mon, 07 May 2012 11:44:12 -0500
Cc: xfs@xxxxxxxxxxx, Stefan Priebe - Profihost AG <s.priebe@xxxxxxxxxxxx>, Dave Chinner <david@xxxxxxxxxxxxx>
In-reply-to: <201205071021.14478.Martin@xxxxxxxxxxxx>
References: <4FA63DDA.9070707@xxxxxxxxxxxx> <20120507013456.GW5091@dastard> <4FA76E11.1070708@xxxxxxxxxxxx> (sfid-20120507_095413_656560_122EB192) <201205071021.14478.Martin@xxxxxxxxxxxx>
Reply-to: stan@xxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (Windows NT 5.1; rv:12.0) Gecko/20120428 Thunderbird/12.0.1
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

<Prev in Thread] Current Thread [Next in Thread>