Jérôme Carretero
2012-Feb-22 16:20 UTC
[weird] High CPU usage caused by btrfs-transaction thread busy doing find_next_zero_bit()
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 -- 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
Jérôme Carretero
2012-Mar-15 03:16 UTC
Re: [weird] High CPU usage caused by btrfs-transaction thread busy doing find_next_zero_bit()
On Wed, 22 Feb 2012 11:20:21 -0500 Jérôme Carretero <cJ-ko@zougloub.eu> wrote:> 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.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, -- 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