> The key insight is that file operations in separate directories don’t (for the most part) interfere with each other, enabling parallel execution. i'm clearly missing something here parallel execution helps when operations are cpu bound file operations are (almost always) io bound and totally unclear how directories represent an "interference" boundary bizarre
Parallel execution absolutely helps when operations are IO bound, if they're more or less independent. Making two network requests in parallel is twice as fast as making them sequentially, if the payload is small enough so that latency dominates and bandwidth is negligible. The question is, how independent are IO operations in separate directories. And the article is claiming that they're fairly independent and don't…
maybe this is what you mean by independent?
but the thing is that in disk io, directory structure is (as far as i know) basically unrelated to relevant contentious resources, when measuring speed
maybe if you're doing a billion small files than overhead begins to matter, but copying 3 big files from 3 different directories is gonna take just as long if you do them in parallel vs. if you do them sequentially
that may not be true if they're on different disks, but that kind of proves my point, the directory isn't the factor, the underlying disk is
> The question is, how independent are IO operations in separate directories. And the article is claiming that they're fairly independent and don't block each other.
yeah and in this sense the article is misleading, because (as far as i know) directories are basically unrelated to independence in the general case