From: Marcelo Tosatti <marcelo@kvack.org>
To: Dave Jones <davej@redhat.com>,
Marcelo Tosatti <marcelo@kvack.org>,
Jordan Crouse <jordan.crouse@amd.com>,
Andrew Morton <akpm@linux-foundation.org>,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH] use movntq version of fast_clear_page/fast_copy_page on Geode
Date: Wed, 14 Feb 2007 18:17:36 -0200 [thread overview]
Message-ID: <20070214201736.GA5794@dmt.lan> (raw)
In-Reply-To: <20070214195546.GA2005@redhat.com>
On Wed, Feb 14, 2007 at 02:55:46PM -0500, Dave Jones wrote:
> On Wed, Feb 14, 2007 at 05:08:39PM -0200, Marcelo Tosatti wrote:
> >
> > movntq instruction is supported by Geode CPU's, so use
> > fast_clear_page/fast_copy_page versions that have it.
>
> it's supported, but is it a win ?
> The same was also true of the VIA C3/C7's, but due to
> poor memory bandwidth, it turned out to be slower in most cases.
Do you have the numbers for VIA C3/C7 around?
The Geode benefits from movntq instead of movq:
[marcelo@localhost ~]$ cat /proc/cpuinfo
processor : 0
vendor_id : Geode by NSC
cpu family : 5
model : 5
model name : Geode(TM) Integrated Processor by National Semi
stepping : 2
cpu MHz : 364.898
cache size : 32 KB
...
[marcelo@localhost ~]$ wget http://www.fenrus.demon.nl/athlon.c
...
[marcelo@localhost ~]$ ./athlon
Athlon test program $Id: fast.c,v 1.6 2000/09/23 09:05:45 arjan Exp $
clear_page() tests
clear_page function 'warm up run' took 9565 cycles per page
clear_page function '2.4 non MMX' took 3347 cycles per page
clear_page function '2.4 MMX fallback' took 3389 cycles per page
clear_page function '2.4 MMX version' took 2920 cycles per page
clear_page function 'faster_clear_page' took 2912 cycles per page
clear_page function 'even_faster_clear' took 2863 cycles per page
copy_page() tests
copy_page function 'warm up run' took 9409 cycles per page
copy_page function '2.4 non MMX' took 13161 cycles per page
copy_page function '2.4 MMX fallback' took 13033 cycles per page
copy_page function '2.4 MMX version' took 9288 cycles per page
copy_page function 'faster_copy' took 9806 cycles per page
copy_page function 'even_faster' took 8990 cycles per page
next prev parent reply other threads:[~2007-02-14 20:21 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-02-14 19:08 [PATCH] use movntq version of fast_clear_page/fast_copy_page on Geode Marcelo Tosatti
2007-02-14 19:55 ` Dave Jones
2007-02-14 20:17 ` Marcelo Tosatti [this message]
2007-02-14 20:47 ` Dave Jones
2007-02-14 21:23 ` Arjan van de Ven
2007-02-14 21:16 ` Alan
2007-02-15 15:01 ` Marcelo Tosatti
-- strict thread matches above, loose matches on Subject: below --
2007-02-14 19:17 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=20070214201736.GA5794@dmt.lan \
--to=marcelo@kvack.org \
--cc=akpm@linux-foundation.org \
--cc=davej@redhat.com \
--cc=jordan.crouse@amd.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.