Mirror of the lttng-dev mailing list
 help / color / mirror / Atom feed
* [ltt-dev] liburcu cache line size
@ 2010-08-17 18:30 David Goulet
  2010-08-17 18:51 ` Mathieu Desnoyers
  0 siblings, 1 reply; 15+ messages in thread
From: David Goulet @ 2010-08-17 18:30 UTC (permalink / raw)


Hi,

I have some doubt about the value of #define CACHE_LINE_SIZE 
(urcu/arch_x86.h) that is set to 128.

After some research and looking on my computer, the x86 architecture 
seems to have most of the time 64 bytes size. On my i7 920, here's what 
I have :

# getconf LEVEL1_DCACHE_LINESIZE
64

# cat /sys/devices/system/cpu/cpu0/cache/index0/coherency_line_size
64

Since the Intel NetBurst microarch., the Intel manual says 64 bytes also 
and it has not changed apparently for Nehalem.

So, Mathieu, why 128 bytes? UST is using that, if it's the wrong value 
here for x86, it could have an effect on cache pressure since 2 lines 
are required for structure less then 64 bytes.

Thanks!
-- 
David Goulet
LTTng project, DORSAL Lab.

PGP/GPG : 1024D/16BD8563
BE3C 672B 9331 9796 291A  14C6 4AF7 C14B 16BD 8563




^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2010-08-17 20:55 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-08-17 18:30 [ltt-dev] liburcu cache line size David Goulet
2010-08-17 18:51 ` Mathieu Desnoyers
2010-08-17 19:06   ` David Goulet
2010-08-17 19:45     ` Mathieu Desnoyers
2010-08-17 19:54       ` Mathieu Desnoyers
2010-08-17 20:04         ` Alexandre Montplaisir
2010-08-17 20:27           ` Mathieu Desnoyers
2010-08-17 20:36             ` Alexandre Montplaisir
2010-08-17 20:53               ` Mathieu Desnoyers
2010-08-17 19:58       ` David Goulet
2010-08-17 20:24         ` Mathieu Desnoyers
2010-08-17 20:40           ` David Goulet
2010-08-17 20:51             ` Mathieu Desnoyers
2010-08-17 20:53               ` David Goulet
2010-08-17 20:55                 ` Mathieu Desnoyers

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox