Changes between Version 5 and Version 6 of DistCaches


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

--

Legend:

Unmodified
Added
Removed
Modified
  • DistCaches

    v5 v6  
    4949== Performance of Expiration Time ==
    5050
    51 I then ran the same Java 7 test as before, but with the multi cache expiration time disabled. Results are below.
     51I then ran the same Java 7 test as before, but with the multi cache expiration time disabled. Results are below. The multi cache now beats the single cache for threads > 1, but single cache is still best for the single threaded case.
    5252
    5353||= '''Distance Test''' =||= '''Hazard Test''' =||
    5454||[[Image(direct_3_java7_no_exp_results.png)]]||[[Image(hazard_3_java7_no_exp_results.png)]]||
    5555||distance test, Java 7, multi cache without expiration||hazard test, Java 7, multi cache without expiration||
     56
     57== Hybrid Cache ==
     58
     59I then implemented a hybrid cache which uses both a multi cache and single cache. If the distance is in the single cache (was the last value to be accessed), that value will be returned. Otherwise it will default to the multi cache (and then load that value into the single cache). Results are below. The hybrid cache either matches or beats the single cache in all cases, especially in the hazard calculation case.
     60
     61||= '''Distance Test''' =||= '''Hazard Test''' =||
     62||[[Image(direct_5_hybrid_no_exp_results.png)]]||[[Image(hazard_5_hybrid_no_exp_results.png)]]||
     63||distance test, Java 7, hybrid cache without expiration||hazard test, Java 7, hybrid cache without expiration||