lkml.org 
[lkml]   [2000]   [Mar]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 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/

\
 
 \ /
  Last update: 2005-03-22 13:56    [W:0.696 / U:0.048 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site