[petsc-dev] use of hash table vs array in various places in PETSc

Jed Brown jedbrown at mcs.anl.gov
Mon Sep 19 15:20:40 CDT 2011


On Mon, Sep 19, 2011 at 22:13, Aron Ahmadia <aron.ahmadia at kaust.edu.sa>wrote:

> BG/P has in-order superscalar execution, you *will* stall on that cache
> miss because the compiler will not do you any favors in terms of separating
> the load of the data from its use.
>

An indirect call without SMT has a hard stall if the vtable is not in cache
too because nothing can be done until that address is loaded. Of course if
you call through the same objects a bunch of times, the vtable will be hot,
so no issues.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20110919/bf4407c7/attachment.html>


More information about the petsc-dev mailing list