Re: [Patch 2/2] Retry based aio read - filesystem read changes

William Lee Irwin III (wli@holomorphy.com)
Mon, 31 Mar 2003 11:11:23 -0800


On Mon, Mar 31, 2003 at 10:32:20AM -0800, Janet Morgan wrote:
> 70% of all calls to schedule were from __lock_page:
> Based on the profile data, almost all calls to _lock_page were
> from do_generic_mapping_read (see filemap.c/Line 101 below).
> Suparna's patch already retries here.

Can you tell whether these are due to hash collisions or contention on
the same page?

If they're due to hash collisions, things could easily be done to help
(though they wouldn't guarantee not sleeping entirely they'd be good
for general performance).

-- wli
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/