From: "Ma, Ling" <ling.ma@intel.com>
To: "linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: FW: Re: [PATCH RFC] [X86] performance improvement for memcpy_64.S by avoid memory miss predication.
Date: Wed, 28 Oct 2009 14:09:26 +0800 [thread overview]
Message-ID: <8FED46E8A9CA574792FC7AACAC38FE7714FCDE2430@PDSMSX501.ccr.corp.intel.com> (raw)
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset="utf-8", Size: 4346 bytes --]
Hi Ingo
There are another test cases we need to do or comments?
Best Regards
Ma Ling
________________________________________
From: Ma, Ling
Sent: 2009å¹´10æ26æ¥ 16:26
To: 'mingo@elte.hu'
Cc: 'hpa@zytor.com'; 'tglx@linutronix.de'; 'linux-kernel@vger.kernel.org'
Subject: Re: [PATCH RFC] [X86] performance improvement for memcpy_64.S by avoid memory miss predication.
We generate new report for another case when src offset is 0x45010, dst is 0x34020.
by 'perf stat --repeat 10 ./static_rsi_45010_rdi_34020_old/new' .
Â
The test program I wrote:
 for (i = 64; i < 4096 *4; i ++)
     do_memcpy(src, dst, i);
Â
Â
Before the patch:
Performance counter stats for './static_rsi_45010_rdi_34020_old' (10 runs):Â Â Â Â Â Â Â Â Â
                                                                                   Â
 54014.766012 task-clock-msecs        #     0.999 CPUs   ( +-  0.016% )      Â
            80 context-switches        #     0.000 M/sec  ( +-  7.894% )      Â
             0 CPU-migrations          #     0.000 M/sec  ( +- 66.667% )      Â
         4429 page-faults             #     0.000 M/sec  ( +-  0.002% )      Â
 136855571663 cycles                  #  2533.670 M/sec  ( +-   0.016% )      Â
 44524796868 instructions            #     0.325 IPC    ( +-  0.008% )      Â
       771000 cache-references        #     0.014 M/sec  ( +- 10.397% )      Â
       541785 cache-misses            #     0.010 M/sec  ( +-  4.203% )      Â
                                                                                   Â
 54.062799203 seconds time elapsed  ( +-  0.021% )                             Â
                                                                                   Â
After the patch                                                                                   Â
Performance counter stats for './static_rsi_45010_rdi_34020_new' (10 runs):Â Â Â Â Â Â Â Â Â
                                                                                   Â
  7570.357661 task-clock-msecs        #     0.999 CPUs   ( +-  0.350% )      Â
           13 context-switches        #     0.000 M/sec  ( +-  9.320% )      Â
            0 CPU-migrations          #     0.000 M/sec  ( +-    nan% )      Â
        4429 page-faults             #     0.001 M/sec  ( +-  0.004% )      Â
 19180782064 cycles                  #  2533.669 M/sec  ( +-  0.349% )       Â
 44462001104 instructions            #     2.318 IPC    ( +-  0.001% )      Â
      383673 cache-references        #     0.051 M/sec  ( +-  4.112% )      Â
      317436 cache-misses            #     0.042 M/sec  ( +-  1.607% )      Â
                                                                                   Â
  7.581541785 seconds time elapsed  ( +-  0.343% )    Â
                        Â
The patch got performance improvement 54.062799203/ 7.581541785Â = 7.13x.
If you need any other test reports, please let me know
Â
Thanks
Ma Ling
ÿôèº{.nÇ+·®+%Ëÿ±éݶ\x17¥wÿº{.nÇ+·¥{±þG«éÿ{ayº\x1dÊÚë,j\a¢f£¢·hïêÿêçz_è®\x03(éÝ¢j"ú\x1a¶^[m§ÿÿ¾\a«þG«éÿ¢¸?¨èÚ&£ø§~á¶iOæ¬z·vØ^\x14\x04\x1a¶^[m§ÿÿÃ\fÿ¶ìÿ¢¸?I¥
reply other threads:[~2009-10-28 6:09 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=8FED46E8A9CA574792FC7AACAC38FE7714FCDE2430@PDSMSX501.ccr.corp.intel.com \
--to=ling.ma@intel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®