login
Header Space

 
 

Re: CPA patchset

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Ingo Molnar <mingo@...>
Cc: Andi Kleen <ak@...>, <linux-kernel@...>, Thomas Gleixner <tglx@...>, H. Peter Anvin <hpa@...>, Venki Pallipadi <venkatesh.pallipadi@...>, <suresh.b.siddha@...>, Arjan van de Ven <arjan@...>, Dave Jones <davej@...>
Date: Friday, January 11, 2008 - 1:56 pm

On Fri, 11 Jan 2008, dean gaudet wrote:


btw in case you were thinking a normal store to WB rather than a 
non-temporal store... i ran a microbenchmark streaming stores to every 16 
bytes of a 16MiB region aligned to 4096 bytes on a xeon 53xx series CPU 
(4MiB L2) + 5000X northbridge and the avg latency of MOVNTPS is 12 cycles 
whereas the avg latency of MOVAPS is 20 cycles.

the inner loop is unrolled 16 times so there are literally 4 cache lines 
worth of stores being stuffed into the store queue as fast as possible... 
and there's no coalescing for normal stores even on this modern CPU.

i'm certain i'll see the same thing on AMD... it's a very hard thing to do 
in hardware without the non-temporal hint.

-dean


--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: CPA patchset, Ingo Molnar, (Thu Jan 10, 5:31 am)
Re: CPA patchset, Andi Kleen, (Thu Jan 10, 5:53 am)
Re: CPA patchset, Ingo Molnar, (Thu Jan 10, 6:43 am)
Re: CPA patchset, Andi Kleen, (Thu Jan 10, 7:07 am)
Re: CPA patchset, Ingo Molnar, (Thu Jan 10, 8:22 am)
Re: CPA patchset, Andi Kleen, (Thu Jan 10, 8:39 am)
Re: CPA patchset, Ingo Molnar, (Thu Jan 10, 6:04 am)
Re: CPA patchset, Andi Kleen, (Thu Jan 10, 6:07 am)
Re: CPA patchset, Ingo Molnar, (Thu Jan 10, 6:57 am)
Re: CPA patchset, Andi Kleen, (Thu Jan 10, 7:12 am)
Re: CPA patchset, Ingo Molnar, (Fri Jan 11, 3:19 am)
Re: CPA patchset, dean gaudet, (Fri Jan 11, 1:02 pm)
Re: CPA patchset, dean gaudet, (Fri Jan 11, 1:56 pm)
Re: CPA patchset, Arjan van de Ven, (Fri Jan 11, 1:18 pm)
Re: CPA patchset, Andi Kleen, (Fri Jan 11, 7:26 am)
Re: CPA patchset, Ingo Molnar, (Fri Jan 11, 3:33 am)
Re: CPA patchset, Andi Kleen, (Fri Jan 11, 7:28 am)
Re: CPA patchset, Dave Airlie, (Thu Jan 10, 5:44 am)
Re: CPA patchset, Ingo Molnar, (Thu Jan 10, 6:02 am)
Re: CPA patchset, Andi Kleen, (Thu Jan 10, 5:55 am)
Re: CPA patchset, Dave Airlie, (Thu Jan 10, 6:20 am)
Re: CPA patchset, Andi Kleen, (Thu Jan 10, 6:50 am)
[PATCH CPA] [9/28] CPA: Add simple self test at boot, Andi Kleen, (Thu Jan 3, 11:24 am)
[PATCH CPA] [6/28] CPA: Undo white space changes, Andi Kleen, (Thu Jan 3, 11:24 am)
[PATCH CPA] [5/28] Add pte_pgprot on i386, Andi Kleen, (Thu Jan 3, 11:24 am)
[PATCH CPA] [4/28] Add pte_clrhuge on i386, Andi Kleen, (Thu Jan 3, 11:24 am)
Re: [PATCH CPA] [4/28] Add pte_clrhuge on i386, Jeremy Fitzhardinge, (Sat Jan 5, 2:48 am)
speck-geostationary