Skip to contentSkip to conversation

High CPU usage caused by btrfs-transaction thread busy doing find_next_zero_bit()

weird Jérôme Carretero 1 participant 2 messages Feb 22, 2012 – Mar 15, 2012 Btrfs file system

lore
Share & tools
lore
#0 lore raw

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,

Signature · 1 line
cJ
#1 lore raw
Quoted 1 line · On Wed, 22 Feb 2012 11:20:21 -0500 J=C3=A9r=C3=B4me Carretero…

My filesystem is super-sluggish since about a week, and perf top tell=

s me

Quoted 1 line

that find_next_bit(), find_next_zero_bit() is eating my netbook's CPU=

=2E

Quoted 2 lines

=20
The kernel is 3.3-rc3+188 (g3ec1e88) and I don't use this laptop a lo=

t,

Quoted 1 line

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 [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html