Very slow recursive deletion of many snapshots #12987
Labels
Component: Memory Management
kernel memory management
Type: Defect
Incorrect behavior (e.g. crash, hang)
Type: Performance
Performance improvement or performance problem
System information
Describe the problem you're observing
Deleting large amount of snapshot (ie: a recursive delete of a very snapshotted dataset) is slow due to extreme ARC contention.
Describe how to reproduce the problem
zfs create tank/test; for i in `seq 1 10000`; do zfs snapshot tank/test@$i; /bin/cp -f /etc/services /tank/test/; echo $i; done
zfs destroy -r tank/test
arc_evict
andarc_prune
processesAdding more RAM (8 GB) solves the issue, with the deletion done after only 3 minutes.
Include any warning/errors/backtraces from the system logs
The following are the stack traces of the blocked processes and a brief summary of ARC status:
The text was updated successfully, but these errors were encountered: