xfs - high CPU usage when removing files
Dave Chinner
david at fromorbit.com
Mon May 13 19:47:51 CDT 2013
On Mon, May 13, 2013 at 01:28:47PM -0500, Radoslaw Garbacz wrote:
> Hi,
>
> I noticed a high CPU usage when removing files from XFS partition on Linux,
> CentOS (always close to 100%).
> Is it a known issue, or is it more likely to be attributed to my testing
> methodology ('time' command)?
If you are removing extremely fragmented files, then 100% CPU will
be seen. If you are removing tens of thousands of small files, then
100% CPU will be seen,
IOWs, if there's enough work to be done, removing files will use all
the available CPU. There's no problem with that.
Cheers,
Dave.
--
Dave Chinner
david at fromorbit.com
More information about the xfs
mailing list