From: "Chen, Kenneth W" <kenneth.w.chen@intel.com>
To: linux-ia64@vger.kernel.org
Subject: RE: [Patch 3/3] Shrink page table quicklist based on free memory.
Date: Mon, 28 Feb 2005 20:07:46 +0000 [thread overview]
Message-ID: <200502282007.j1SK7ig13891@unix-os.sc.intel.com> (raw)
In-Reply-To: <20050226142716.GG10965@lnx-holt.americas.sgi.com>
Robin Holt wrote on Saturday, February 26, 2005 6:27 AM
> This patch shrinks the quicklist based upon free memory on the node
> instead of the high/low water marks. I also limit the rate of drain from
> the quicklist by 256 entries per pass. The limit was placed because this
> freeing is done with the preemption disabled and large frees have caused
> unexpected bubbles in latency. The 256 was chosen based on some test
> runs which showed blips above the noise range with 4096 pages and that 256
> pages resulted in the least amount of overshoot as processes were exiting.
> Typical response at 128 would be periodic freeing of pages followed by
> allocating at next startup. With 256, this was nearly never observed.
I'm not a huge fan of hooking memory free function in idle loop. It's a
broken model. They enlarge wake up latency, pollutes caches, slows the
system down. Why can't this be done on demand under memory pressure?
- Ken
prev parent reply other threads:[~2005-02-28 20:07 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-02-26 14:27 [Patch 3/3] Shrink page table quicklist based on free memory Robin Holt
2005-02-28 20:07 ` Chen, Kenneth W [this message]
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=200502282007.j1SK7ig13891@unix-os.sc.intel.com \
--to=kenneth.w.chen@intel.com \
--cc=linux-ia64@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