From: Marc Singer <elf@buici.com>
To: linux-mm <linux-mm@kvack.org>
Subject: Re: vmscan.c heuristic adjustment for smaller systems
Date: Sun, 18 Apr 2004 11:06:14 -0700 [thread overview]
Message-ID: <20040418180614.GA29280@flea> (raw)
In-Reply-To: <20040418175324.GB743@holomorphy.com>
On Sun, Apr 18, 2004 at 10:53:24AM -0700, William Lee Irwin III wrote:
> On Sun, Apr 18, 2004 at 10:47:44AM -0700, Marc Singer wrote:
> > That has been my hypothesis all along. But I have failed to prove it
> > to myself. Please steer me if I've missed your point about flushing
> > TLB entries when we age PTEs.
>
> Well, there's a point of some kind to it.
I don't think I understand what you mean.
> On Sun, Apr 18, 2004 at 10:47:44AM -0700, Marc Singer wrote:
> > So, I tried this. Since I don't know the virtual address for a PTE in
> > the set_pte() routine, I changed it to flush the whole TLB whenever it
> > sets a hardware PTE entry to zero. Yet, I still get the slow-down
> > behavior. I also changed the TLB flush routines to always do a
> > complete TLB flush instead of flushing individual entries. Still, no
> > change in the slow-down.
>
> Actually ptep_to_address() should find the uvaddr for you.
The set_pte function is assembler coded. For a proof of concept, I am
willing to be blunt.
> On Sun, Apr 18, 2004 at 10:47:44AM -0700, Marc Singer wrote:
> > So, if my slow-down is related to lazy TLB flushing then I am at a
> > loss to explain how.
>
> I'm not going to tell ou what your results are.
Perhaps, though, this isn't such a bad result. It could mean that the
lazy TLB flush is OK and that my bug is something different. Or, it
could mean that I'm still doing the flush incorrectly and that that is
the correct solution were it done right.
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"aart@kvack.org"> aart@kvack.org </a>
next parent reply other threads:[~2004-04-18 18:06 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20040418174743.GC28744@flea>
[not found] ` <20040418175324.GB743@holomorphy.com>
2004-04-18 18:06 ` Marc Singer [this message]
2004-04-18 19:05 ` William Lee Irwin III
2004-04-18 17:48 Marc Singer
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=20040418180614.GA29280@flea \
--to=elf@buici.com \
--cc=linux-mm@kvack.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