linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Dan Malek <dan@embeddededge.com>
To: Tom Rini <trini@kernel.crashing.org>
Cc: David Jander <david.jander@protonic.nl>, linuxppc-embedded@ozlabs.org
Subject: Re: fix swapping on 8xx?
Date: Tue, 8 Nov 2005 13:57:07 -0500	[thread overview]
Message-ID: <ae77b5dcfdaa24efebf92042907e2ce8@embeddededge.com> (raw)
In-Reply-To: <20051108175658.GO3839@smtp.west.cox.net>


On Nov 8, 2005, at 12:56 PM, Tom Rini wrote:

> I think Dan might be in the camp that says a properly designed embedded
> system won't need to swap.

I'm actually in the camp that knows the majority of systems
running Linux aren't workstations and don't have disk drives.
It would be nice to have selectable features for such applications.

>> It sounds tempting indeed, but should you really notice a performance 
>> increase
>> out of this?

Yes.  Most importantly it adds some predictability which is quite
measurable on this class of processor.  It was a coding mistake way
back in 2.2 that actually exposed this.  I was taking some liberties by
updating more status in the PTE than I should have, and Paulus
made me fix it in 2.4 :-)  It basically eliminates TLB faults associated
with system status tracking, since we aren't paging there isn't any
need to track page aging and such.  If you are paging, it still
functions properly, you may just not pick the most suitable pages
to steal.

Thanks.

	-- Dan

  reply	other threads:[~2005-11-08 18:51 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-11-07 15:10 fix swapping on 8xx? Marcelo Tosatti
2005-11-08  0:55 ` Dan Malek
2005-11-08 11:59   ` David Jander
2005-11-08 17:56     ` Tom Rini
2005-11-08 18:57       ` Dan Malek [this message]
2005-11-08 19:44         ` David Jander
2005-11-08 20:56           ` Wolfgang Denk
2005-11-08 20:52       ` Wolfgang Denk
2005-11-08 21:02         ` Tom Rini
2005-11-08 22:46           ` Wolfgang Denk
2005-11-08 23:20             ` Dan Malek
2005-11-08 22:30         ` Dan Malek
2005-11-09 11:21       ` Marcelo Tosatti

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=ae77b5dcfdaa24efebf92042907e2ce8@embeddededge.com \
    --to=dan@embeddededge.com \
    --cc=david.jander@protonic.nl \
    --cc=linuxppc-embedded@ozlabs.org \
    --cc=trini@kernel.crashing.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;
as well as URLs for NNTP newsgroup(s).