Changes between Version 3 and Version 4 of DistCaches
- Timestamp:
- Jun 10, 2014, 11:17:06 AM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
DistCaches
v3 v4 8 8 * Google guava loading cache with variable size: org.opensha.sha.faultSurface.cache.MultiDistanceCache 9 9 * Hybrid of both caches: org.opensha.sha.faultSurface.cache.HybridDistanceCache 10 11 Caching 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. 10 12 11 13 I 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: … … 20 22 Sites 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). 21 23 24 === Plot Legend === 25 26 Each 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 28 The 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 22 35 == First Results and Sensitivity to Java Version == 36 37 These are the initial results comparing the multi cache with the given size and a 1 hour access expiration with the single cache. 23 38 24 39 ||= '''Distance Test''' =||= '''Hazard Test''' =||