All of lore.kernel.org
 help / color / mirror / Atom feed
From: Dave Jones <davej@redhat.com>
To: Marcelo Tosatti <marcelo@kvack.org>
Cc: 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 15:47:31 -0500	[thread overview]
Message-ID: <20070214204731.GA4551@redhat.com> (raw)
In-Reply-To: <20070214201736.GA5794@dmt.lan>

On Wed, Feb 14, 2007 at 06:17:36PM -0200, Marcelo Tosatti wrote:
 > 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?

I don't, and my 3dnow capable C3s are unplugged right now.
The newer generation (including the C7) have SSE/SSE2 instead,
which seems to be faster.  (Using a different benchmark app that uses SSE)

clear_page function 'normal clear_page()'        took 9425 cycles per page (620.3 MB/s)
clear_page function 'new clear_page()   '        took 3840 cycles per page (1522.7 MB/s)

copy_page function 'normal copy_page()'  took 11453 cycles per page (510.5 MB/s)
copy_page function 'new copy_page()   '  took 5024 cycles per page (1163.7 MB/s)


		Dave

-- 
http://www.codemonkey.org.uk

  reply	other threads:[~2007-02-14 20:48 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
2007-02-14 20:47     ` Dave Jones [this message]
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=20070214204731.GA4551@redhat.com \
    --to=davej@redhat.com \
    --cc=akpm@linux-foundation.org \
    --cc=jordan.crouse@amd.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=marcelo@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 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.