linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [weird] High CPU usage caused by btrfs-transaction thread busy doing find_next_zero_bit()
@ 2012-02-22 16:20 Jérôme Carretero
  2012-03-15  3:16 ` Jérôme Carretero
  0 siblings, 1 reply; 2+ messages in thread
From: Jérôme Carretero @ 2012-02-22 16:20 UTC (permalink / raw)
  To: linux-btrfs

Dear devs,

My filesystem is super-sluggish since about a week, and perf top tells me
that find_next_bit(), find_next_zero_bit() is eating my netbook's CPU.

The kernel is 3.3-rc3+188 (g3ec1e88) and I don't use this laptop a lot,
so I'm ready to cooperate.

In the btrfs-transaction thread, in descending order of CPU usage:
find_next_zero_bit, find_next_bit, rb_next, setup_cluster_bitmap,
setup_cluster_no_bitmap, tree_search_offset.

I'm on #btrfs (Zougloub)

Regards,

-- 
cJ

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

* Re: [weird] High CPU usage caused by btrfs-transaction thread busy doing find_next_zero_bit()
  2012-02-22 16:20 [weird] High CPU usage caused by btrfs-transaction thread busy doing find_next_zero_bit() Jérôme Carretero
@ 2012-03-15  3:16 ` Jérôme Carretero
  0 siblings, 0 replies; 2+ messages in thread
From: Jérôme Carretero @ 2012-03-15  3:16 UTC (permalink / raw)
  To: linux-btrfs

On Wed, 22 Feb 2012 11:20:21 -0500
J=C3=A9r=C3=B4me Carretero <cJ-ko@zougloub.eu> wrote:

> My filesystem is super-sluggish since about a week, and perf top tell=
s me
> that find_next_bit(), find_next_zero_bit() is eating my netbook's CPU=
=2E
>=20
> The kernel is 3.3-rc3+188 (g3ec1e88) and I don't use this laptop a lo=
t,
> so I'm ready to cooperate.

This machine was updated to today's kernel, and behaves same as before.
scrub says nothing, but btrfsck doesn't like to be run.

Does this interest someone (metadump image) or I can reformat the drive=
 ?

Regards,

--=20
cJ
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" =
in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

end of thread, other threads:[~2012-03-15  3:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-02-22 16:20 [weird] High CPU usage caused by btrfs-transaction thread busy doing find_next_zero_bit() Jérôme Carretero
2012-03-15  3:16 ` Jérôme Carretero

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).