xfs
[Top] [All Lists]

Re: XFS 1.1 unlink() weirdness

To: Mihai RUSU <dizzy@xxxxxxxxx>
Subject: Re: XFS 1.1 unlink() weirdness
From: Russell Cattelan <cattelan@xxxxxxxxxxx>
Date: 11 Oct 2002 11:16:14 -0500
Cc: Linux XFS List <linux-xfs@xxxxxxxxxxx>
In-reply-to: <Pine.LNX.4.33.0210110623010.30926-100000@ahriman.bucharest.roedu.net>
References: <Pine.LNX.4.33.0210110623010.30926-100000@ahriman.bucharest.roedu.net>
Sender: linux-xfs-bounce@xxxxxxxxxxx
On Thu, 2002-10-10 at 22:26, Mihai RUSU wrote:
> Hi
> 
> We run a 2.4.9-31SGI_XFS_1.1 based server. While the free space got bellow
> 85% we observed that almost every operation on our XFS partition was
> slower. This should be somewhat normal when having FSs with small free
> space. The weird thing is if I unlink() a file which has been created a
> long time ago (when the FS had 60% disk free) it deletes it instantly
> (even if having > 800 MB size). But if I delete a 50mb file created 3 days
> ago it takes almost a minute ?! Is that normal ? :)
If your filesytem has gotten fragmented over time then it is likely your
50mb file is spread across a lot of extents, removing a file with a
large number of extents takes longer than a file with only a few
extents.
You can look at the number of extent for a particular file with the
xfs_bmap command.
> 
> Thanks
> 
> ----------------------------
> Mihai RUSU
> 
> Disclaimer: Any views or opinions presented within this e-mail are solely
> those of the author and do not necessarily represent those of any company,
> unless otherwise specifically stated.
> 



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