[Perftools]hello world

Frank Ch. Eigler fche@redhat.com
Fri Jul 15 15:10:00 GMT 2005


hunt wrote:

> [...]
> Doing context as an array indexed by cpu is fine for now.  I did the
> same originally because I was using very large arrays and I was
> concerned about backporting to 2.4. However its ugly, especially for
> small structs like context.  Cache-line bouncing will kill scalability.
> [...]

But the emitted "struct context" is not small.  It contains all locals
and temporaries for all valid nesting levels, for all CPUs.  Can you
be more explicit about which cache-lines you are concerned about
bouncing?

- FChE



More information about the Systemtap mailing list