Changes between Version 3 and Version 4 of DistCaches


Ignore:
Timestamp:
Jun 10, 2014, 11:17:06 AM (10 years ago)
Author:
Kevin Milner
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • DistCaches

    v3 v4  
    88* Google guava loading cache with variable size: org.opensha.sha.faultSurface.cache.MultiDistanceCache
    99* Hybrid of both caches: org.opensha.sha.faultSurface.cache.HybridDistanceCache
     10
     11Caching style/parameters are configurable via the org.opensha.sha.faultSurface.cache.SurfaceCachingPolicy class, which can be configured via java properties. It defaults to using some form of multiple/hybrid cache for all surfaces except for Compound Surfaces, which default to the single cache.
    1012
    1113I then ran lots of tests at HPCC with many variations on these caching schemes. All tests were run on nodes with the exact same configuration:
     
    2022Sites are randomly distributed (tightly) around 35, -118. Tests were run with 1, 2, 4, and 8 threads (multiple runs of each configuration and times averaged).
    2123
     24=== Plot Legend ===
     25
     26Each plot has a number of lines. Solid lines (force=false) mean that the surfaces used the given cache for all rupture surfaces except for CompoundSurfaces, which used the single location cache. Dashed lines (force=true) use the given cache for compound surfaces as well. If size == 1 and force=false, the single location cache is used for all surfaces (this is the previous surface caching behavior).
     27
     28The color is related to the cache size:
     29* black = 1 (the solid black line represents the previous caching behavior, and is the line to beat)
     30* blue = 2
     31* green = 4
     32* orange = 8
     33* magenta = 12
     34
    2235== First Results and Sensitivity to Java Version ==
     36
     37These are the initial results comparing the multi cache with the given size and a 1 hour access expiration with the single cache.
    2338
    2439||= '''Distance Test''' =||= '''Hazard Test''' =||