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.
>
|