mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Andi Kleen <andi@firstfloor.org>
To: Andrew Lutomirski <luto@mit.edu>
Cc: linux-kernel@vger.kernel.org, Ingo Molnar <mingo@elte.hu>,
	Linus Torvalds <torvalds@linux-foundation.org>,
	Andi Kleen <andi@firstfloor.org>, x86 <x86@kernel.org>
Subject: Re: [RFT] Please test rdtsc on various x86-64 hardware (app included)
Date: Tue, 19 Apr 2011 00:10:51 +0200	[thread overview]
Message-ID: <20110418221051.GR16484@one.firstfloor.org> (raw)
In-Reply-To: <BANLkTi=0gS2TSGgG15DbDPGttzCvEbEvaw@mail.gmail.com>

I tested it on a dual Westmere-EP and a Quad Westmere-EX.
Seems to pass everywhere.

However I kept the default MAX_THREADS 4. Shouldn't that be 
increased for the large systems?

I suspect the tests as written didn't really use the large 
systems.

Dual:

CPU vendor   : GenuineIntel
CPU model    : Intel(R) Xeon(R) CPU           E5640  ...
CPU stepping : ..
TSC flags    : tsc rdtscp constant_tsc nonstop_tsc
Using lfence_rdtsc because you have an Intel CPU
Will test the "lfence;rdtsc" clock.
Now test failed  : worst error 48 with 48647928 samples
Load3 test passed: margin 368 with 1013805 samples
Load test passed : margin 368 with 4142659 samples
Store test failed as expected: worst error 2940 with 4298473 samples

Quad:

CPU vendor   : GenuineIntel
CPU model    : Intel(R) Xeon(R) CPU E7 ...
CPU stepping : ..
TSC flags    : tsc rdtscp constant_tsc nonstop_tsc
Using lfence_rdtsc because you have an Intel CPU
Will test the "lfence;rdtsc" clock.
Now test passed  : margin 208 with 11997136 samples
Load3 test passed: margin 812 with 98710 samples
Load test passed : margin 208 with 1259451 samples
Store test failed as expected: worst error 9284 with 1086616 samples


-Andi

  parent reply	other threads:[~2011-04-18 22:10 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-18 19:32 Andrew Lutomirski
2011-04-18 20:16 ` Linus Torvalds
2011-04-18 20:37   ` Ingo Molnar
2011-04-19  0:38     ` Markus Trippelsdorf
2011-04-18 20:23 ` Colin Walters
2011-04-18 20:27   ` Andrew Lutomirski
2011-04-18 20:35     ` Colin Walters
2011-04-18 20:39       ` Andrew Lutomirski
2011-04-18 22:10 ` Andi Kleen [this message]
2011-04-19  2:15   ` Andrew Lutomirski
2011-04-19  0:49 ` Mihai Donțu
2011-04-19  8:10 ` Frank Kingswood
2011-04-22 14:33 ` Jan Ceuleers
2011-04-19  5:06 George Spelvin
2011-04-19  6:09 ` George Spelvin

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=20110418221051.GR16484@one.firstfloor.org \
    --to=andi@firstfloor.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=luto@mit.edu \
    --cc=mingo@elte.hu \
    --cc=torvalds@linux-foundation.org \
    --cc=x86@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

Powered by JetHome