lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:	Mon, 19 Oct 2009 09:17:40 +0200
From:	Ingo Molnar <mingo@...e.hu>
To:	linguranus@...il.com, "H. Peter Anvin" <hpa@...or.com>,
	Thomas Gleixner <tglx@...utronix.de>
Cc:	linux-kernel@...r.kernel.org
Subject: Re: [PATCH RFC] [X86] performance improvement for memcpy_64.S by
	avoid memory miss predication.


* linguranus@...il.com <linguranus@...il.com> wrote:

> From: Ling <linguranus@...il.com>
> 
> Hi All
> 
> CPU will use memory disambiguration predication to speculatively read 
> memory without waiting for previous write instructions and correctly 
> avoid conflict between them (RAW). However it seem only to care about 
> last 12 bits of address, not care about real address. For example if 
> rsi is 0xf004, rdi is 0xe008, when we do following operation there 
> will generate big performance latency.

Would be nice to trigger this kind of pattern via some testcase that 
uses read() or write() - or some other real workload.

Then you can use 'perf stat --repeat 10 ./my-test-prog' to measure it 
and post the results - the before-patch/after-patch instruction count, 
cycle count, etc.

You can get 'perf' via:

  cd tools/perf
  make -j install

(And please preserve the Cc: line for new postings - thanks.)

Thanks,

	Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ