Re: Does your change make find faster by changing where it is storedor where it is returned?

From: Jamie Lokier (lfs@tantalophile.demon.co.uk)
Date: Mon Mar 06 2000 - 18:35:42 EST


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/



This archive was generated by hypermail 2b29 : Tue Mar 07 2000 - 21:00:21 EST