Messages in this thread | | | Date | Mon, 28 Apr 2008 10:46:37 -0700 | From | Zach Brown <> | Subject | Re: stat benchmark |
| |
> I guess it would be difficult to get close to the optimal disk schedule by > using syslets; if a directory contains 1000 files that would require 1000 > syslets and a good I/O scheduler - that's unlikely to be feasible.
It wouldn't even get to the I/O scheduler. The VFS stat path (see real_lookup()) is synchronous and serialized. Each stat will hold the i_mutex of the parent directory while it waits for the file system's lookup method to populate the inode from disk.
- z
| |