Changes between Version 5 and Version 6 of DistCaches
- Timestamp:
- Jun 10, 2014, 11:44:26 AM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
DistCaches
v5 v6 49 49 == Performance of Expiration Time == 50 50 51 I then ran the same Java 7 test as before, but with the multi cache expiration time disabled. Results are below. 51 I 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. 52 52 53 53 ||= '''Distance Test''' =||= '''Hazard Test''' =|| 54 54 ||[[Image(direct_3_java7_no_exp_results.png)]]||[[Image(hazard_3_java7_no_exp_results.png)]]|| 55 55 ||distance test, Java 7, multi cache without expiration||hazard test, Java 7, multi cache without expiration|| 56 57 == Hybrid Cache == 58 59 I 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||