All of lore.kernel.org
 help / color / mirror / Atom feed
* cleaner cpu usage
@ 2008-11-10  6:32 David Arendt
       [not found] ` <4917D589.6090407-/LHdS3kC8BfYtjvyW6yDsg@public.gmane.org>
  0 siblings, 1 reply; 2+ messages in thread
From: David Arendt @ 2008-11-10  6:32 UTC (permalink / raw)
  To: users-JrjvKiOkagjYtjvyW6yDsg

Hi,

I am currently testing nilfs on a 1TB partition with 600GB of data. I
noticed that I sometimes have through several hours 20% cpu usage by the
cleaner. During the 20% usage, I have 50% iowait, leading to an overall
slower system. Is this behaviour normal or is there something I can do
on my part. If this is normal, I think it should be possible that I
mount without cleaner and start the cleaner only if I am short on space.
Is there any argument against doing this ?

Concerning stablility, I didn't have a single crash until now.

Thanks in advance
Bye,
David

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: cleaner cpu usage
       [not found] ` <4917D589.6090407-/LHdS3kC8BfYtjvyW6yDsg@public.gmane.org>
@ 2008-11-11  4:46   ` Ryusuke Konishi
  0 siblings, 0 replies; 2+ messages in thread
From: Ryusuke Konishi @ 2008-11-11  4:46 UTC (permalink / raw)
  To: users-JrjvKiOkagjYtjvyW6yDsg, admin-/LHdS3kC8BfYtjvyW6yDsg

Hi,

On Mon, 10 Nov 2008 07:32:41 +0100, David Arendt wrote:
> Hi,
> 
> I am currently testing nilfs on a 1TB partition with 600GB of data. I
> noticed that I sometimes have through several hours 20% cpu usage by the
> cleaner. During the 20% usage, I have 50% iowait, leading to an overall
> slower system. Is this behaviour normal or is there something I can do
> on my part.

I've tried to reproduce the problem with my 1TB drive, but I didn't
see such high load for the cleanerd so far.  In my system, the cpu
usage by the cleanerd was about ~5% or so.  The phenomenon may depend
on the machine environment.  If you notice the condition that seems to
make the load higher, please let us know.

> If this is normal, I think it should be possible that I
> mount without cleaner and start the cleaner only if I am short on space.
> Is there any argument against doing this ?

Yes, you can manually stop or start the cleanerd.

Or you can possibly reduce the load by changing the following cleaner
parameters in /etc/nilfs_cleanerd.conf:

1) nsegments_per_clean (default: 2 segments)
   The maximum number of segments cleaned at a time.
   Decreasing this value slowdowns GC.

2) cleaning_interval (default: 5 seconds)
   Cleaning interval in seconds.
   Increasing this value moderates the GC frequency.


With regards,
Ryusuke Konishi

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-11-11  4:46 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-11-10  6:32 cleaner cpu usage David Arendt
     [not found] ` <4917D589.6090407-/LHdS3kC8BfYtjvyW6yDsg@public.gmane.org>
2008-11-11  4:46   ` Ryusuke Konishi

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.