Commit 3a8e2f9
btrfs: use iget5_locked_rcu
With 20 threads each walking a dedicated 1000 dirs * 1000 files
directory tree to stat(2) on a 32 core + 24GB ram vm:
before: 3.54s user 892.30s system 1966% cpu 45.549 total
after: 3.28s user 738.66s system 1955% cpu 37.932 total (-16.7%)
Benchmark can be found here: https://people.freebsd.org/~mjg/fstree.tgz
Reviewed-by: Josef Bacik <[email protected]>
Signed-off-by: Mateusz Guzik <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Acked-by: David Sterba <[email protected]>
Signed-off-by: Christian Brauner <[email protected]>1 parent 7180f8d commit 3a8e2f9
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5587 | 5587 | | |
5588 | 5588 | | |
5589 | 5589 | | |
5590 | | - | |
| 5590 | + | |
5591 | 5591 | | |
5592 | 5592 | | |
5593 | 5593 | | |
| |||
0 commit comments