Crates.io | platter-walk |
lib.rs | platter-walk |
version | 0.1.3 |
source | src |
created_at | 2017-05-10 20:53:26.926308 |
updated_at | 2021-03-18 22:04:54.868105 |
description | Directory tree traversal optimized for HDDs |
homepage | |
repository | https://github.com/the8472/platter-walk |
max_upload_size | |
id | 14062 |
size | 33,218 |
A recursive directory entry iterator that optimizes traversal based on physical disk layout. Takes block offsets (via FIEMAP[1]), inode tables and disk cache locality into account.
For users (root) who have read access to the underlying block device it also performs readaheads on the directory indicies
spanning several directories. This is somewhat of a hack since readahead()
and posix_fadvise()
do not work on directories directly
since they use a separate cache.[2][3]
The largest benefits can be realized on HDDs with ext4 filesystems.
Traversal can be optimized for
d_type
only)stat
)