Re: btrfs is slow while looping in search_bitmap <-btrfs_find_space_for_alloc

2017-09-11 Thread Stefan Priebe - Profihost AG
Am 05.09.2017 um 07:58 schrieb Stefan Priebe - Profihost AG: > Hello, > > while expecting slow btrfs volumes i switched to kernel v4.13 and to > space_cache=v2. ... > > Is btrfs trying to hard to find free space? Even nobody replied - i reply to myself. I could completely "fix" this by using

btrfs is slow while looping in search_bitmap <-btrfs_find_space_for_alloc

2017-09-04 Thread Stefan Priebe - Profihost AG
Hello, while expecting slow btrfs volumes i switched to kernel v4.13 and to space_cache=v2. But i'm still expecting slow performance and single kworker processes using 100% CPU. Tracing the kworker process shows me: # sed 's/.*: //' /trace | sort | uniq -c | sort -n 21595