Re: stat benchmark

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Theodore Tso
Date: Friday, April 25, 2008 - 12:48 pm

On Thu, Apr 24, 2008 at 10:59:10PM +0200, Soeren Sandmann wrote:

Why don't you try this version of your stat-benchmark first?  If you
give it the -s option, it will sort the files by inode number first.
I think you will find this should make a significant difference.

If it works, something that would be really great if someone were to
make a generic library which could be used instead of readdir().  I
have something which works as an LD_PRELOAD, but apparently it's been
blowing up on 64-bit systems, and I haven't had time to debug it.
It's probably better to do it as a library which userspace
applications linked against, anyway.  Would you or someone you know be
interesed in maybe taking this idea and running with it?

Regards,

						- Ted
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
stat benchmark, Soeren Sandmann, (Thu Apr 24, 1:59 pm)
Re: stat benchmark, Carl Henrik Lunde, (Thu Apr 24, 2:42 pm)
Re: stat benchmark, Jan Engelhardt, (Thu Apr 24, 2:44 pm)
Re: stat benchmark, Justin Banks, (Thu Apr 24, 7:27 pm)
Re: stat benchmark, Christoph Hellwig, (Fri Apr 25, 12:01 am)
Re: stat benchmark, Theodore Tso, (Fri Apr 25, 12:48 pm)
Re: stat benchmark, Carl Henrik Lunde, (Sun Apr 27, 3:40 pm)
Re: stat benchmark, Soeren Sandmann, (Sun Apr 27, 4:29 pm)
Re: stat benchmark, Carl Henrik Lunde, (Sun Apr 27, 5:13 pm)
Re: stat benchmark, Theodore Tso, (Sun Apr 27, 7:10 pm)
Re: stat benchmark, Ulrich Drepper, (Sun Apr 27, 9:43 pm)
Re: stat benchmark, Theodore Tso, (Mon Apr 28, 4:53 am)
Re: stat benchmark, Avi Kivity, (Mon Apr 28, 4:59 am)
Re: stat benchmark, Theodore Tso, (Mon Apr 28, 6:31 am)
Re: stat benchmark, J. Bruce Fields, (Mon Apr 28, 9:18 am)
Re: stat benchmark, Zach Brown, (Mon Apr 28, 10:46 am)
Re: stat benchmark, Alexander Larsson, (Mon Apr 28, 12:41 pm)