Messages in this thread | | | Date | Tue, 7 Mar 2000 00:35:42 +0100 | From | Jamie Lokier <> | Subject | Re: Does your change make find faster by changing where it is storedor where it is returned? |
| |
Hans Reiser wrote: > Let me be careful here, are you saying then that you got a 2x speedup > by not changing where it was stored and only changing where it was returned, > and thereby reducing syscall overhead?
Nothing to do with syscall overhead. That is reduced but it's negligable.
The type information (not mode, just type) is already stored in the directory. It's simply been ignored until now.
By eliding stat() calls, you do fewer physical disk reads.
Fewer physical disk reads -> faster.
-- Jamie
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |