public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: William Lee Irwin III <wli@holomorphy.com>
To: Andrew Morton <akpm@digeo.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: 2.5.50-bk5-wli-1
Date: Fri, 6 Dec 2002 00:52:52 -0800	[thread overview]
Message-ID: <20021206085252.GO9882@holomorphy.com> (raw)
In-Reply-To: <3DF05EA7.4BDCBFF0@digeo.com>

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

  reply	other threads:[~2002-12-06  8:45 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-12-06  8:00 2.5.50-bk5-wli-1 William Lee Irwin III
2002-12-06  8:24 ` 2.5.50-bk5-wli-1 Andrew Morton
2002-12-06  8:52   ` William Lee Irwin III [this message]
2002-12-06  9:15     ` 2.5.50-bk5-wli-1 Andrew Morton
2002-12-06 14:20       ` 2.5.50-bk5-wli-1 William Lee Irwin III

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20021206085252.GO9882@holomorphy.com \
    --to=wli@holomorphy.com \
    --cc=akpm@digeo.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox