[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <48160D7D.1030607@oracle.com>
Date: Mon, 28 Apr 2008 10:46:37 -0700
From: Zach Brown <zach.brown@...cle.com>
To: Carl Henrik Lunde <chlunde@...g.uio.no>
CC: Soeren Sandmann <sandmann@...mi.au.dk>,
linux-kernel@...r.kernel.org
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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists