Re: 2.5.50-bk5-wli-1

From: William Lee Irwin III (wli@holomorphy.com)
Date: Fri Dec 06 2002 - 03:52:52 EST


William Lee Irwin III wrote:
>> 2.5.50-wli-bk5-12 resize inode cache wait table -- 8 is too small

On Fri, Dec 06, 2002 at 12:24:07AM -0800, Andrew Morton wrote:
> Heh. I decided to make that really, really, really tiny in the expectation
> that if it was _too_ small, someone would notice.
> For what workload is the 8 too small, and what is the call path
> of the waiters?
> (If it is `tiobench 100000000' and the wait is in __writeback_single_inode(),
> then we should probably just return from there if !sync and the inode is locked)

This is actually the result of quite a bit of handwaving; in the OOM-
handling series of patches with the GFP_NOKILL business, I found that
tasks would block exessively in wait_on_inode() (which was tiobench
16384). The qualitative evidence points toward the inode table as a
potential bottleneck in the presence of many tasks and/or cpus. No
specific benchmark numbers apply; in the original series (GFP_NOKILL),
I increased this to much larger than 256. The entire summary of results
of that series of patches was "highmem drops dead under load". But
performance benefits from this minor increase in size should be obvious.

Bill
-
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/



This archive was generated by hypermail 2b29 : Sat Dec 07 2002 - 22:00:25 EST