* xfs - high CPU usage when removing files
@ 2013-05-13 18:28 Radoslaw Garbacz
2013-05-14 0:47 ` Dave Chinner
0 siblings, 1 reply; 3+ messages in thread
From: Radoslaw Garbacz @ 2013-05-13 18:28 UTC (permalink / raw)
To: xfs
[-- Attachment #1.1: Type: text/plain, Size: 272 bytes --]
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)?
Thanks in advance,
--
Best Regards,
Radoslaw Garbacz
[-- Attachment #1.2: Type: text/html, Size: 471 bytes --]
[-- Attachment #2: Type: text/plain, Size: 121 bytes --]
_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: xfs - high CPU usage when removing files
2013-05-13 18:28 xfs - high CPU usage when removing files Radoslaw Garbacz
@ 2013-05-14 0:47 ` Dave Chinner
2013-05-14 11:11 ` Stefan Ring
0 siblings, 1 reply; 3+ messages in thread
From: Dave Chinner @ 2013-05-14 0:47 UTC (permalink / raw)
To: Radoslaw Garbacz; +Cc: xfs
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@fromorbit.com
_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: xfs - high CPU usage when removing files
2013-05-14 0:47 ` Dave Chinner
@ 2013-05-14 11:11 ` Stefan Ring
0 siblings, 0 replies; 3+ messages in thread
From: Stefan Ring @ 2013-05-14 11:11 UTC (permalink / raw)
To: Linux fs XFS; +Cc: Radoslaw Garbacz
>> 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.
Also, removing huge files which are completely in cache (recently
written, for example) will use considerable CPU time.
_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2013-05-14 11:11 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-05-13 18:28 xfs - high CPU usage when removing files Radoslaw Garbacz
2013-05-14 0:47 ` Dave Chinner
2013-05-14 11:11 ` Stefan Ring
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox