high cpu usage due to btrfs_find_space_for_alloc and rb_next

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux