Hi,

is there any chance to optimize btrfs_find_space_for_alloc / rb_next on
big devices?

I've plenty of free space but most of the time there's only low I/O but
high cpu usage. perf top shows:

  60,41%  [kernel]                   [k] rb_next
   9,74%  [kernel]                   [k] btrfs_find_space_for_alloc
   5,55%  [kernel]                   [k] tree_search_offset.isra.25

# btrfs filesystem df /backup/
Data, single: total=14.85TiB, used=14.37TiB
System, single: total=32.00MiB, used=2.27MiB
Metadata, single: total=63.00GiB, used=54.87GiB
GlobalReserve, single: total=512.00MiB, used=80.17MiB

--
Stefan
--
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

Reply via email to