feat: add cache simulation with experiments for TTL and eviction strategies
Introduce a new simulation for Age of Information (AoI) cache management, focusing on varying TTL values and eviction strategies (LRU and Random Eviction). This includes: - New Python script for event-driven cache simulations using . - Experiments for "No Refresh" across multiple TTL configurations (, , ..., ) with: - Hit rate and object age tracking (, , etc.). - Visualizations (e.g., , ). - Updated to describe experimental setup and configurations. - Log export file () for simulation results. - Refactor of with detailed strategy configurations and runtime notes. ### Reason The commit enhances the project by enabling detailed experiments with configurable cache parameters, supporting analysis of cache efficiency and AoI under varying conditions. This provides a foundation for more sophisticated simulations and insights. ### Performance - Runtime: ~4m 29s for . Co-authored experiments introduce structured data files and visualizations, improving clarity for future iterations. Signed-off-by: Tuan-Dat Tran <tuan-dat.tran@tudattr.dev>
This commit is contained in:
File diff suppressed because one or more lines are too long
306
aoi_cache_simulation.py
Normal file
306
aoi_cache_simulation.py
Normal file
@@ -0,0 +1,306 @@
|
|||||||
|
import simpy
|
||||||
|
import random
|
||||||
|
import numpy as np
|
||||||
|
import matplotlib.pyplot as plt
|
||||||
|
import pandas as pd
|
||||||
|
from enum import Enum
|
||||||
|
|
||||||
|
|
||||||
|
# Types of cache
|
||||||
|
class CacheType(Enum):
|
||||||
|
LRU = 1
|
||||||
|
RANDOM_EVICTION = 2
|
||||||
|
|
||||||
|
|
||||||
|
# Constants
|
||||||
|
SEED = 42
|
||||||
|
DATABASE_OBJECTS = 100 # Number of objects in the database
|
||||||
|
ACCESS_COUNT_LIMIT = 10 # Total time to run the simulation
|
||||||
|
EXPORT_NAME = "./logs/export.csv"
|
||||||
|
|
||||||
|
ZIPF_CONSTANT = (
|
||||||
|
2 # Shape parameter for the Zipf distribution (controls skewness) Needs to be: 1<
|
||||||
|
)
|
||||||
|
|
||||||
|
# Set random seeds
|
||||||
|
random.seed(SEED)
|
||||||
|
np.random.seed(SEED)
|
||||||
|
|
||||||
|
# Initialize simulation environment
|
||||||
|
env = simpy.Environment()
|
||||||
|
|
||||||
|
|
||||||
|
CACHE_CAPACITY = DATABASE_OBJECTS # Maximum number of objects the cache can hold
|
||||||
|
|
||||||
|
# MAX_REFRESH_RATE is used as the maximum for a uniform
|
||||||
|
# distribution for mu.
|
||||||
|
# If MAX_REFRESH_RATE is 0, we do not do any refreshes.
|
||||||
|
MAX_REFRESH_RATE = 10
|
||||||
|
|
||||||
|
cache_type = CacheType.LRU
|
||||||
|
|
||||||
|
# CACHE_TTL is used to determin which TTL to set when an
|
||||||
|
# object is pulled into the cache
|
||||||
|
# If CACHE_TTL is set to 0, the TTL is infinite
|
||||||
|
CACHE_TTL = 5
|
||||||
|
|
||||||
|
|
||||||
|
configurations = {
|
||||||
|
"default": (DATABASE_OBJECTS, 10, CacheType.LRU, 5),
|
||||||
|
"No Refresh": (DATABASE_OBJECTS, 0, CacheType.LRU, 5),
|
||||||
|
"Infinite TTL": (int(DATABASE_OBJECTS / 2), 0, CacheType.LRU, 0),
|
||||||
|
"Random Eviction": (int(DATABASE_OBJECTS / 2), 10, CacheType.RANDOM_EVICTION, 5),
|
||||||
|
"RE without Refresh": (int(DATABASE_OBJECTS / 2), 0, CacheType.RANDOM_EVICTION, 5),
|
||||||
|
}
|
||||||
|
|
||||||
|
config = configurations["default"]
|
||||||
|
|
||||||
|
CACHE_CAPACITY = config[0]
|
||||||
|
MAX_REFRESH_RATE = config[1]
|
||||||
|
cache_type = config[2]
|
||||||
|
CACHE_TTL = config[3]
|
||||||
|
|
||||||
|
|
||||||
|
class Database:
|
||||||
|
def __init__(self):
|
||||||
|
# Each object now has a specific refresh rate 'mu'
|
||||||
|
self.data = {i: f"Object {i}" for i in range(1, DATABASE_OBJECTS + 1)}
|
||||||
|
self.lambda_values = {
|
||||||
|
i: np.random.zipf(ZIPF_CONSTANT) for i in range(1, DATABASE_OBJECTS + 1)
|
||||||
|
} # Request rate 'lambda' for each object
|
||||||
|
# Refresh rate 'mu' for each object
|
||||||
|
if MAX_REFRESH_RATE == 0:
|
||||||
|
self.mu_values = {i: 0 for i in range(1, DATABASE_OBJECTS + 1)}
|
||||||
|
else:
|
||||||
|
self.mu_values = {
|
||||||
|
i: np.random.uniform(1, MAX_REFRESH_RATE)
|
||||||
|
for i in range(1, DATABASE_OBJECTS + 1)
|
||||||
|
}
|
||||||
|
self.next_request = {
|
||||||
|
i: np.random.exponential(self.lambda_values[i])
|
||||||
|
for i in range(1, DATABASE_OBJECTS + 1)
|
||||||
|
}
|
||||||
|
|
||||||
|
def get_object(self, obj_id):
|
||||||
|
# print(f"[{env.now:.2f}] Database: Fetched {self.data.get(obj_id, 'Unknown')} for ID {obj_id}")
|
||||||
|
return self.data.get(obj_id, None)
|
||||||
|
|
||||||
|
|
||||||
|
class Cache:
|
||||||
|
def __init__(self, env, db, cache_type):
|
||||||
|
self.cache_type = cache_type
|
||||||
|
self.env = env
|
||||||
|
self.db = db
|
||||||
|
self.storage = {} # Dictionary to store cached objects
|
||||||
|
self.ttl = {} # Dictionary to store TTLs
|
||||||
|
self.age = {} # Dictionary to store age of each object
|
||||||
|
self.cache_size_over_time = [] # To record cache state at each interval
|
||||||
|
self.cache_next_request_over_time = []
|
||||||
|
self.request_log = {i: [] for i in range(1, DATABASE_OBJECTS + 1)}
|
||||||
|
self.hits = {
|
||||||
|
i: 0 for i in range(1, DATABASE_OBJECTS + 1)
|
||||||
|
} # Track hits per object
|
||||||
|
self.misses = {
|
||||||
|
i: 0 for i in range(1, DATABASE_OBJECTS + 1)
|
||||||
|
} # Track misses per object
|
||||||
|
self.cumulative_age = {
|
||||||
|
i: 0 for i in range(1, DATABASE_OBJECTS + 1)
|
||||||
|
} # Track cumulative age per object
|
||||||
|
self.access_count = {
|
||||||
|
i: 0 for i in range(1, DATABASE_OBJECTS + 1)
|
||||||
|
} # Track access count per object
|
||||||
|
self.next_refresh = {} # Track the next refresh time for each cached object
|
||||||
|
|
||||||
|
def get(self, obj_id):
|
||||||
|
if obj_id in self.storage and (self.ttl[obj_id] > env.now or CACHE_TTL == 0):
|
||||||
|
# Cache hit: increment hit count and update cumulative age
|
||||||
|
self.hits[obj_id] += 1
|
||||||
|
self.cumulative_age[obj_id] += self.age[obj_id]
|
||||||
|
self.access_count[obj_id] += 1
|
||||||
|
else:
|
||||||
|
# Cache miss: increment miss count
|
||||||
|
self.misses[obj_id] += 1
|
||||||
|
self.access_count[obj_id] += 1
|
||||||
|
|
||||||
|
# Fetch the object from the database if it’s not in cache
|
||||||
|
obj = self.db.get_object(obj_id)
|
||||||
|
|
||||||
|
# If the cache is full, evict the oldest object
|
||||||
|
if len(self.storage) >= CACHE_CAPACITY:
|
||||||
|
if self.cache_type == CacheType.LRU:
|
||||||
|
self.evict_oldest()
|
||||||
|
elif self.cache_type == CacheType.RANDOM_EVICTION:
|
||||||
|
self.evict_random()
|
||||||
|
|
||||||
|
# Add the object to cache, set TTL, reset age, and schedule next refresh
|
||||||
|
self.storage[obj_id] = obj
|
||||||
|
if CACHE_TTL != 0:
|
||||||
|
self.ttl[obj_id] = env.now + CACHE_TTL
|
||||||
|
else:
|
||||||
|
self.ttl[obj_id] = 0
|
||||||
|
self.age[obj_id] = 0
|
||||||
|
if MAX_REFRESH_RATE != 0:
|
||||||
|
self.next_refresh[obj_id] = env.now + np.random.exponential(
|
||||||
|
self.db.mu_values[obj_id]
|
||||||
|
) # Schedule refresh
|
||||||
|
|
||||||
|
def evict_oldest(self):
|
||||||
|
"""Remove the oldest item from the cache to make space."""
|
||||||
|
oldest_id = max(self.age, key=self.age.get) # Find the oldest item by age
|
||||||
|
print(
|
||||||
|
f"[{env.now:.2f}] Cache: Evicting oldest object {oldest_id} to make space at {self.ttl[oldest_id]:.2f}"
|
||||||
|
)
|
||||||
|
del self.storage[oldest_id]
|
||||||
|
del self.ttl[oldest_id]
|
||||||
|
del self.age[oldest_id]
|
||||||
|
|
||||||
|
def evict_random(self):
|
||||||
|
"""Remove a random item from the cache to make space."""
|
||||||
|
random_id = np.random.choice(
|
||||||
|
list(self.storage.keys())
|
||||||
|
) # Select a random key from the cache
|
||||||
|
print(
|
||||||
|
f"[{env.now:.2f}] Cache: Evicting random object {random_id} to make space at {self.ttl[random_id]:.2f}"
|
||||||
|
)
|
||||||
|
del self.storage[random_id]
|
||||||
|
del self.ttl[random_id]
|
||||||
|
del self.age[random_id]
|
||||||
|
|
||||||
|
def refresh_object(self, obj_id):
|
||||||
|
"""Refresh the object from the database to keep it up-to-date. TTL is increased on refresh."""
|
||||||
|
obj = self.db.get_object(obj_id)
|
||||||
|
self.storage[obj_id] = obj
|
||||||
|
if CACHE_TTL != 0:
|
||||||
|
self.ttl[obj_id] = env.now + CACHE_TTL
|
||||||
|
else:
|
||||||
|
self.ttl[obj_id] = 0
|
||||||
|
self.age[obj_id] = 0
|
||||||
|
# print(f"[{env.now:.2f}] Cache: Refreshed object {obj_id}")
|
||||||
|
|
||||||
|
def age_objects(self):
|
||||||
|
"""Increment age of each cached object."""
|
||||||
|
for obj_id in list(self.age.keys()):
|
||||||
|
if CACHE_TTL != 0:
|
||||||
|
if self.ttl[obj_id] > env.now:
|
||||||
|
self.age[obj_id] += 1
|
||||||
|
# print(f"[{env.now:.2f}] Cache: Object {obj_id} aged to {self.age[obj_id]}")
|
||||||
|
else:
|
||||||
|
# Remove object if its TTL expired
|
||||||
|
# print(f"[{env.now:.2f}] Cache: Object {obj_id} expired")
|
||||||
|
del self.storage[obj_id]
|
||||||
|
del self.ttl[obj_id]
|
||||||
|
del self.age[obj_id]
|
||||||
|
else:
|
||||||
|
self.age[obj_id] += 1
|
||||||
|
|
||||||
|
def record_cache_state(self):
|
||||||
|
"""Record the current cache state (number of objects in cache) over time."""
|
||||||
|
self.cache_size_over_time.append((env.now, len(self.storage)))
|
||||||
|
self.cache_next_request_over_time.append((env.now, self.db.next_request.copy()))
|
||||||
|
|
||||||
|
|
||||||
|
def age_cache_process(env, cache):
|
||||||
|
"""Process that ages cache objects over time, removes expired items, and refreshes based on object-specific intervals."""
|
||||||
|
while True:
|
||||||
|
cache.age_objects() # Age objects and remove expired ones
|
||||||
|
|
||||||
|
if MAX_REFRESH_RATE != 0:
|
||||||
|
# Refresh objects based on their individual refresh intervals
|
||||||
|
for obj_id in list(cache.storage.keys()):
|
||||||
|
# Check if it's time to refresh this object based on next_refresh
|
||||||
|
if env.now >= cache.next_refresh[obj_id]:
|
||||||
|
cache.refresh_object(obj_id)
|
||||||
|
# Schedule the next refresh based on the object's mu
|
||||||
|
cache.next_refresh[obj_id] = env.now + np.random.exponential(
|
||||||
|
cache.db.mu_values[obj_id]
|
||||||
|
)
|
||||||
|
|
||||||
|
cache.record_cache_state() # Record cache state at each time step
|
||||||
|
yield env.timeout(1) # Run every second
|
||||||
|
|
||||||
|
|
||||||
|
def client_request_process(env, cache, event):
|
||||||
|
"""Client process that makes requests for objects from the cache."""
|
||||||
|
lowest_lambda_object = max(cache.db.lambda_values.items(), key=lambda x: x[1])
|
||||||
|
lowest_lambda_object = (
|
||||||
|
[lowest_lambda_object]
|
||||||
|
if isinstance(lowest_lambda_object, int)
|
||||||
|
else lowest_lambda_object
|
||||||
|
)
|
||||||
|
while True:
|
||||||
|
obj_id, next_request = min(cache.db.next_request.items(), key=lambda x: x[1])
|
||||||
|
yield env.timeout(next_request - env.now)
|
||||||
|
if env.now >= next_request:
|
||||||
|
# print(f"[{env.now:.2f}] Client: Requesting object {obj_id}")
|
||||||
|
cache.get(obj_id)
|
||||||
|
|
||||||
|
# print(f"[{env.now:.2f}] Client: Schedule next request for {obj_id}")
|
||||||
|
next_request = env.now + np.random.exponential(
|
||||||
|
cache.db.lambda_values[obj_id]
|
||||||
|
)
|
||||||
|
cache.request_log[obj_id].append(next_request)
|
||||||
|
cache.db.next_request[obj_id] = next_request
|
||||||
|
if all(
|
||||||
|
cache.access_count[obj] >= ACCESS_COUNT_LIMIT
|
||||||
|
for obj in lowest_lambda_object
|
||||||
|
):
|
||||||
|
event.succeed()
|
||||||
|
|
||||||
|
|
||||||
|
# Instantiate components
|
||||||
|
db = Database()
|
||||||
|
cache = Cache(env, db, cache_type)
|
||||||
|
stop_event = env.event()
|
||||||
|
|
||||||
|
# Start processes
|
||||||
|
env.process(age_cache_process(env, cache))
|
||||||
|
env.process(client_request_process(env, cache, stop_event))
|
||||||
|
|
||||||
|
# Run the simulation
|
||||||
|
env.run(until=stop_event)
|
||||||
|
|
||||||
|
# Calculate and print hit rate and average age for each object
|
||||||
|
for obj_id in range(1, DATABASE_OBJECTS + 1):
|
||||||
|
if cache.access_count[obj_id] != 0:
|
||||||
|
hit_rate = cache.hits[obj_id] / max(
|
||||||
|
1, cache.access_count[obj_id]
|
||||||
|
) # Avoid division by zero
|
||||||
|
avg_age = cache.cumulative_age[obj_id] / max(
|
||||||
|
1, cache.hits[obj_id]
|
||||||
|
) # Only average over hits
|
||||||
|
print(
|
||||||
|
f"Object {obj_id}: Hit Rate = {hit_rate:.2f}, Average Age = {avg_age:.2f}"
|
||||||
|
)
|
||||||
|
|
||||||
|
# Extract recorded data for plotting
|
||||||
|
times, cache_sizes = zip(*cache.cache_size_over_time)
|
||||||
|
|
||||||
|
# Plot the cache size over time
|
||||||
|
plt.figure(figsize=(30, 5))
|
||||||
|
plt.plot(times, cache_sizes, label="Objects in Cache")
|
||||||
|
plt.xlabel("Time (s)")
|
||||||
|
plt.ylabel("Number of Cached Objects")
|
||||||
|
plt.title("Number of Objects in Cache Over Time")
|
||||||
|
plt.legend()
|
||||||
|
plt.grid(True)
|
||||||
|
plt.savefig("./graphs/objects_in_cache_over_time.pdf")
|
||||||
|
|
||||||
|
access_count = pd.DataFrame.from_dict(
|
||||||
|
cache.access_count, orient="index", columns=["access_count"]
|
||||||
|
)
|
||||||
|
hits = pd.DataFrame.from_dict(cache.hits, orient="index", columns=["hits"])
|
||||||
|
misses = pd.DataFrame.from_dict(cache.misses, orient="index", columns=["misses"])
|
||||||
|
mu = pd.DataFrame.from_dict(db.mu_values, orient="index", columns=["mu"])
|
||||||
|
lmbda = pd.DataFrame.from_dict(db.lambda_values, orient="index", columns=["lambda"])
|
||||||
|
hit_rate = pd.DataFrame(
|
||||||
|
np.round((hits.to_numpy() / access_count.to_numpy()) * 100, 2), columns=["hit_rate"]
|
||||||
|
)
|
||||||
|
|
||||||
|
merged = (
|
||||||
|
access_count.merge(hits, left_index=True, right_index=True)
|
||||||
|
.merge(misses, left_index=True, right_index=True)
|
||||||
|
.merge(mu, left_index=True, right_index=True)
|
||||||
|
.merge(lmbda, left_index=True, right_index=True)
|
||||||
|
.merge(hit_rate, left_index=True, right_index=True)
|
||||||
|
)
|
||||||
|
merged.to_csv(EXPORT_NAME)
|
||||||
100
experiments/No_Refresh_0_5s_ttl/details.csv
Normal file
100
experiments/No_Refresh_0_5s_ttl/details.csv
Normal file
@@ -0,0 +1,100 @@
|
|||||||
|
,access_count,hits,misses,mu,lambda,hit_rate
|
||||||
|
1,664,224,440,0,1,10.38
|
||||||
|
2,212,22,190,0,3,32.39
|
||||||
|
3,673,218,455,0,1,34.6
|
||||||
|
4,711,246,465,0,1,19.13
|
||||||
|
5,345,66,279,0,2,31.74
|
||||||
|
6,649,206,443,0,1,10.22
|
||||||
|
7,137,14,123,0,5,32.45
|
||||||
|
8,681,221,460,0,1,34.4
|
||||||
|
9,689,237,452,0,1,34.18
|
||||||
|
10,667,228,439,0,1,21.95
|
||||||
|
11,328,72,256,0,2,34.97
|
||||||
|
12,692,242,450,0,1,32.21
|
||||||
|
13,683,220,463,0,1,33.62
|
||||||
|
14,696,234,462,0,1,20.35
|
||||||
|
15,344,70,274,0,2,18.4
|
||||||
|
16,326,60,266,0,2,29.9
|
||||||
|
17,689,206,483,0,1,32.85
|
||||||
|
18,691,227,464,0,1,11.87
|
||||||
|
19,219,26,193,0,3,34.84
|
||||||
|
20,732,255,477,0,1,35.05
|
||||||
|
21,739,259,480,0,1,34.55
|
||||||
|
22,683,236,447,0,1,35.22
|
||||||
|
23,670,236,434,0,1,19.94
|
||||||
|
24,331,66,265,0,2,34.67
|
||||||
|
25,724,251,473,0,1,32.08
|
||||||
|
26,692,222,470,0,1,34.18
|
||||||
|
27,705,241,464,0,1,8.76
|
||||||
|
28,137,12,125,0,5,34.23
|
||||||
|
29,672,230,442,0,1,31.7
|
||||||
|
30,694,220,474,0,1,33.09
|
||||||
|
31,674,223,451,0,1,9.03
|
||||||
|
32,144,13,131,0,4,34.63
|
||||||
|
33,670,232,438,0,1,7.09
|
||||||
|
34,141,10,131,0,4,32.78
|
||||||
|
35,659,216,443,0,1,32.27
|
||||||
|
36,691,223,468,0,1,36.91
|
||||||
|
37,737,272,465,0,1,14.16
|
||||||
|
38,219,31,188,0,3,5.0
|
||||||
|
39,100,5,95,0,8,32.77
|
||||||
|
40,714,234,480,0,1,12.5
|
||||||
|
41,184,23,161,0,4,7.45
|
||||||
|
42,161,12,149,0,4,21.55
|
||||||
|
43,362,78,284,0,2,32.61
|
||||||
|
44,696,227,469,0,1,29.98
|
||||||
|
45,627,188,439,0,1,32.56
|
||||||
|
46,648,211,437,0,1,1.89
|
||||||
|
47,53,1,52,0,10,31.51
|
||||||
|
48,676,213,463,0,1,31.35
|
||||||
|
49,638,200,438,0,1,32.69
|
||||||
|
50,673,220,453,0,1,12.5
|
||||||
|
51,128,16,112,0,5,3.53
|
||||||
|
52,85,3,82,0,9,33.33
|
||||||
|
53,747,249,498,0,1,33.0
|
||||||
|
54,700,231,469,0,1,35.08
|
||||||
|
55,687,241,446,0,1,37.5
|
||||||
|
56,720,270,450,0,1,31.3
|
||||||
|
57,690,216,474,0,1,0.0
|
||||||
|
58,40,0,40,0,17,19.18
|
||||||
|
59,318,61,257,0,2,31.31
|
||||||
|
60,674,211,463,0,1,13.04
|
||||||
|
61,23,3,20,0,26,35.22
|
||||||
|
62,724,255,469,0,1,32.32
|
||||||
|
63,628,203,425,0,1,24.93
|
||||||
|
64,345,86,259,0,2,35.1
|
||||||
|
65,681,239,442,0,1,4.11
|
||||||
|
66,73,3,70,0,10,33.79
|
||||||
|
67,651,220,431,0,1,0.0
|
||||||
|
68,10,0,10,0,69,33.02
|
||||||
|
69,636,210,426,0,1,32.77
|
||||||
|
70,656,215,441,0,1,22.58
|
||||||
|
71,372,84,288,0,2,33.48
|
||||||
|
72,678,227,451,0,1,33.7
|
||||||
|
73,638,215,423,0,1,33.28
|
||||||
|
74,685,228,457,0,1,10.45
|
||||||
|
75,201,21,180,0,3,20.35
|
||||||
|
76,344,70,274,0,2,21.16
|
||||||
|
77,345,73,272,0,2,17.24
|
||||||
|
78,261,45,216,0,3,4.26
|
||||||
|
79,47,2,45,0,15,33.79
|
||||||
|
80,660,223,437,0,1,30.28
|
||||||
|
81,634,192,442,0,1,5.84
|
||||||
|
82,137,8,129,0,5,18.45
|
||||||
|
83,309,57,252,0,2,34.11
|
||||||
|
84,686,234,452,0,1,32.99
|
||||||
|
85,682,225,457,0,1,19.25
|
||||||
|
86,322,62,260,0,2,32.99
|
||||||
|
87,676,223,453,0,1,20.92
|
||||||
|
88,325,68,257,0,2,35.27
|
||||||
|
89,689,243,446,0,1,32.95
|
||||||
|
90,695,229,466,0,1,21.91
|
||||||
|
91,324,71,253,0,2,20.47
|
||||||
|
92,337,69,268,0,2,13.96
|
||||||
|
93,222,31,191,0,3,31.78
|
||||||
|
94,686,218,468,0,1,19.94
|
||||||
|
95,351,70,281,0,2,33.89
|
||||||
|
96,717,243,474,0,1,32.53
|
||||||
|
97,664,216,448,0,1,0.0
|
||||||
|
98,23,0,23,0,37,11.6
|
||||||
|
99,181,21,160,0,4,22.85
|
||||||
|
101
experiments/No_Refresh_0_5s_ttl/hit_age.csv
Normal file
101
experiments/No_Refresh_0_5s_ttl/hit_age.csv
Normal file
@@ -0,0 +1,101 @@
|
|||||||
|
obj_id,hit_rate,avg_age
|
||||||
|
1,0.3373493975903614,0.25892857142857145
|
||||||
|
2,0.10377358490566038,0.36363636363636365
|
||||||
|
3,0.32392273402674593,0.24311926605504589
|
||||||
|
4,0.3459915611814346,0.25609756097560976
|
||||||
|
5,0.19130434782608696,0.24242424242424243
|
||||||
|
6,0.31741140215716485,0.24757281553398058
|
||||||
|
7,0.10218978102189781,0.21428571428571427
|
||||||
|
8,0.3245227606461087,0.2579185520361991
|
||||||
|
9,0.3439767779390421,0.23628691983122363
|
||||||
|
10,0.34182908545727136,0.2236842105263158
|
||||||
|
11,0.21951219512195122,0.2361111111111111
|
||||||
|
12,0.34971098265895956,0.30578512396694213
|
||||||
|
13,0.32210834553440704,0.22727272727272727
|
||||||
|
14,0.33620689655172414,0.2692307692307692
|
||||||
|
15,0.20348837209302326,0.2
|
||||||
|
16,0.18404907975460122,0.2
|
||||||
|
17,0.29898403483309144,0.2524271844660194
|
||||||
|
18,0.32850940665701883,0.24669603524229075
|
||||||
|
19,0.1187214611872146,0.2692307692307692
|
||||||
|
20,0.3483606557377049,0.25882352941176473
|
||||||
|
21,0.35047361299052776,0.21235521235521235
|
||||||
|
22,0.34553440702781846,0.288135593220339
|
||||||
|
23,0.3522388059701492,0.19915254237288135
|
||||||
|
24,0.19939577039274925,0.18181818181818182
|
||||||
|
25,0.34668508287292815,0.2589641434262948
|
||||||
|
26,0.3208092485549133,0.2072072072072072
|
||||||
|
27,0.34184397163120567,0.23651452282157676
|
||||||
|
28,0.08759124087591241,0.16666666666666666
|
||||||
|
29,0.34226190476190477,0.24782608695652175
|
||||||
|
30,0.3170028818443804,0.2818181818181818
|
||||||
|
31,0.33086053412462907,0.2600896860986547
|
||||||
|
32,0.09027777777777778,0.3076923076923077
|
||||||
|
33,0.34626865671641793,0.24568965517241378
|
||||||
|
34,0.07092198581560284,0.3
|
||||||
|
35,0.3277693474962064,0.2638888888888889
|
||||||
|
36,0.3227206946454414,0.29596412556053814
|
||||||
|
37,0.36906377204884666,0.22058823529411764
|
||||||
|
38,0.1415525114155251,0.3870967741935484
|
||||||
|
39,0.05,0.2
|
||||||
|
40,0.3277310924369748,0.27350427350427353
|
||||||
|
41,0.125,0.30434782608695654
|
||||||
|
42,0.07453416149068323,0.25
|
||||||
|
43,0.2154696132596685,0.32051282051282054
|
||||||
|
44,0.3261494252873563,0.24669603524229075
|
||||||
|
45,0.29984051036682613,0.3404255319148936
|
||||||
|
46,0.3256172839506173,0.27014218009478674
|
||||||
|
47,0.018867924528301886,0.0
|
||||||
|
48,0.3150887573964497,0.23943661971830985
|
||||||
|
49,0.31347962382445144,0.27
|
||||||
|
50,0.32689450222882616,0.22727272727272727
|
||||||
|
51,0.125,0.25
|
||||||
|
52,0.03529411764705882,0.3333333333333333
|
||||||
|
53,0.3333333333333333,0.26506024096385544
|
||||||
|
54,0.33,0.24675324675324675
|
||||||
|
55,0.3508005822416303,0.24481327800829875
|
||||||
|
56,0.375,0.25925925925925924
|
||||||
|
57,0.3130434782608696,0.2638888888888889
|
||||||
|
58,0.0,0.0
|
||||||
|
59,0.1918238993710692,0.14754098360655737
|
||||||
|
60,0.31305637982195844,0.1990521327014218
|
||||||
|
61,0.13043478260869565,0.0
|
||||||
|
62,0.35220994475138123,0.2549019607843137
|
||||||
|
63,0.3232484076433121,0.2315270935960591
|
||||||
|
64,0.2492753623188406,0.3372093023255814
|
||||||
|
65,0.3509544787077827,0.2803347280334728
|
||||||
|
66,0.0410958904109589,0.3333333333333333
|
||||||
|
67,0.3379416282642089,0.20909090909090908
|
||||||
|
68,0.0,0.0
|
||||||
|
69,0.330188679245283,0.32857142857142857
|
||||||
|
70,0.3277439024390244,0.26046511627906976
|
||||||
|
71,0.22580645161290322,0.2261904761904762
|
||||||
|
72,0.33480825958702065,0.2422907488986784
|
||||||
|
73,0.33699059561128525,0.2930232558139535
|
||||||
|
74,0.33284671532846716,0.19736842105263158
|
||||||
|
75,0.1044776119402985,0.2857142857142857
|
||||||
|
76,0.20348837209302326,0.3
|
||||||
|
77,0.21159420289855072,0.2054794520547945
|
||||||
|
78,0.1724137931034483,0.2
|
||||||
|
79,0.0425531914893617,0.0
|
||||||
|
80,0.3378787878787879,0.27802690582959644
|
||||||
|
81,0.3028391167192429,0.2604166666666667
|
||||||
|
82,0.058394160583941604,0.125
|
||||||
|
83,0.18446601941747573,0.24561403508771928
|
||||||
|
84,0.34110787172011664,0.2905982905982906
|
||||||
|
85,0.32991202346041054,0.26222222222222225
|
||||||
|
86,0.19254658385093168,0.3064516129032258
|
||||||
|
87,0.32988165680473375,0.20179372197309417
|
||||||
|
88,0.20923076923076922,0.25
|
||||||
|
89,0.35268505079825835,0.22633744855967078
|
||||||
|
90,0.3294964028776978,0.2794759825327511
|
||||||
|
91,0.2191358024691358,0.30985915492957744
|
||||||
|
92,0.20474777448071216,0.21739130434782608
|
||||||
|
93,0.13963963963963963,0.25806451612903225
|
||||||
|
94,0.3177842565597668,0.2889908256880734
|
||||||
|
95,0.19943019943019943,0.3142857142857143
|
||||||
|
96,0.3389121338912134,0.2139917695473251
|
||||||
|
97,0.3253012048192771,0.26851851851851855
|
||||||
|
98,0.0,0.0
|
||||||
|
99,0.11602209944751381,0.3333333333333333
|
||||||
|
100,0.228486646884273,0.24675324675324675
|
||||||
|
BIN
experiments/No_Refresh_0_5s_ttl/lambda_distribution.pdf
Normal file
BIN
experiments/No_Refresh_0_5s_ttl/lambda_distribution.pdf
Normal file
Binary file not shown.
BIN
experiments/No_Refresh_0_5s_ttl/objects_in_cache_over_time.pdf
Normal file
BIN
experiments/No_Refresh_0_5s_ttl/objects_in_cache_over_time.pdf
Normal file
Binary file not shown.
9
experiments/No_Refresh_0_5s_ttl/overall_hit_age.csv
Normal file
9
experiments/No_Refresh_0_5s_ttl/overall_hit_age.csv
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
,hit_rate,avg_age
|
||||||
|
count,100.0,100.0
|
||||||
|
mean,0.24997190226308422,0.24085664637735987
|
||||||
|
std,0.10967384888958667,0.07537398148292249
|
||||||
|
min,0.0,0.0
|
||||||
|
25%,0.1843617845017571,0.21978900255754474
|
||||||
|
50%,0.3172071420007726,0.25
|
||||||
|
75%,0.3351579188281965,0.2796906689079315
|
||||||
|
max,0.375,0.3870967741935484
|
||||||
|
100
experiments/No_Refresh_1_0s_ttl/details.csv
Normal file
100
experiments/No_Refresh_1_0s_ttl/details.csv
Normal file
@@ -0,0 +1,100 @@
|
|||||||
|
,access_count,hits,misses,mu,lambda,hit_rate
|
||||||
|
1,664,328,336,0,1,22.17
|
||||||
|
2,212,47,165,0,3,50.07
|
||||||
|
3,673,337,336,0,1,50.63
|
||||||
|
4,711,360,351,0,1,32.75
|
||||||
|
5,345,113,232,0,2,49.46
|
||||||
|
6,649,321,328,0,1,18.98
|
||||||
|
7,137,26,111,0,5,49.63
|
||||||
|
8,681,338,343,0,1,50.22
|
||||||
|
9,689,346,343,0,1,49.33
|
||||||
|
10,667,329,338,0,1,37.8
|
||||||
|
11,328,124,204,0,2,52.31
|
||||||
|
12,692,362,330,0,1,48.46
|
||||||
|
13,683,331,352,0,1,49.86
|
||||||
|
14,696,347,349,0,1,31.98
|
||||||
|
15,344,110,234,0,2,29.14
|
||||||
|
16,326,95,231,0,2,48.48
|
||||||
|
17,689,334,355,0,1,49.93
|
||||||
|
18,691,345,346,0,1,22.83
|
||||||
|
19,219,50,169,0,3,51.09
|
||||||
|
20,732,374,358,0,1,52.77
|
||||||
|
21,739,390,349,0,1,51.1
|
||||||
|
22,683,349,334,0,1,49.55
|
||||||
|
23,670,332,338,0,1,32.02
|
||||||
|
24,331,106,225,0,2,50.97
|
||||||
|
25,724,369,355,0,1,50.58
|
||||||
|
26,692,350,342,0,1,51.49
|
||||||
|
27,705,363,342,0,1,15.33
|
||||||
|
28,137,21,116,0,5,49.55
|
||||||
|
29,672,333,339,0,1,48.56
|
||||||
|
30,694,337,357,0,1,50.3
|
||||||
|
31,674,339,335,0,1,17.36
|
||||||
|
32,144,25,119,0,4,51.19
|
||||||
|
33,670,343,327,0,1,12.77
|
||||||
|
34,141,18,123,0,4,50.99
|
||||||
|
35,659,336,323,0,1,50.36
|
||||||
|
36,691,348,343,0,1,53.05
|
||||||
|
37,737,391,346,0,1,24.66
|
||||||
|
38,219,54,165,0,3,9.0
|
||||||
|
39,100,9,91,0,8,49.72
|
||||||
|
40,714,355,359,0,1,22.28
|
||||||
|
41,184,41,143,0,4,18.63
|
||||||
|
42,161,30,131,0,4,37.57
|
||||||
|
43,362,136,226,0,2,49.57
|
||||||
|
44,696,345,351,0,1,47.05
|
||||||
|
45,627,295,332,0,1,48.77
|
||||||
|
46,648,316,332,0,1,5.66
|
||||||
|
47,53,3,50,0,10,48.22
|
||||||
|
48,676,326,350,0,1,48.12
|
||||||
|
49,638,307,331,0,1,49.93
|
||||||
|
50,673,336,337,0,1,18.75
|
||||||
|
51,128,24,104,0,5,9.41
|
||||||
|
52,85,8,77,0,9,51.54
|
||||||
|
53,747,385,362,0,1,49.86
|
||||||
|
54,700,349,351,0,1,51.24
|
||||||
|
55,687,352,335,0,1,53.75
|
||||||
|
56,720,387,333,0,1,50.43
|
||||||
|
57,690,348,342,0,1,2.5
|
||||||
|
58,40,1,39,0,17,32.08
|
||||||
|
59,318,102,216,0,2,47.92
|
||||||
|
60,674,323,351,0,1,17.39
|
||||||
|
61,23,4,19,0,26,50.97
|
||||||
|
62,724,369,355,0,1,49.2
|
||||||
|
63,628,309,319,0,1,36.52
|
||||||
|
64,345,126,219,0,2,50.66
|
||||||
|
65,681,345,336,0,1,6.85
|
||||||
|
66,73,5,68,0,10,50.23
|
||||||
|
67,651,327,324,0,1,0.0
|
||||||
|
68,10,0,10,0,69,49.06
|
||||||
|
69,636,312,324,0,1,48.17
|
||||||
|
70,656,316,340,0,1,34.95
|
||||||
|
71,372,130,242,0,2,51.33
|
||||||
|
72,678,348,330,0,1,49.69
|
||||||
|
73,638,317,321,0,1,50.95
|
||||||
|
74,685,349,336,0,1,20.9
|
||||||
|
75,201,42,159,0,3,35.76
|
||||||
|
76,344,123,221,0,2,36.23
|
||||||
|
77,345,125,220,0,2,27.2
|
||||||
|
78,261,71,190,0,3,8.51
|
||||||
|
79,47,4,43,0,15,50.3
|
||||||
|
80,660,332,328,0,1,49.53
|
||||||
|
81,634,314,320,0,1,13.87
|
||||||
|
82,137,19,118,0,5,30.74
|
||||||
|
83,309,95,214,0,2,50.44
|
||||||
|
84,686,346,340,0,1,49.41
|
||||||
|
85,682,337,345,0,1,32.61
|
||||||
|
86,322,105,217,0,2,50.0
|
||||||
|
87,676,338,338,0,1,31.69
|
||||||
|
88,325,103,222,0,2,49.93
|
||||||
|
89,689,344,345,0,1,49.06
|
||||||
|
90,695,341,354,0,1,36.73
|
||||||
|
91,324,119,205,0,2,33.53
|
||||||
|
92,337,113,224,0,2,26.13
|
||||||
|
93,222,58,164,0,3,49.85
|
||||||
|
94,686,342,344,0,1,35.61
|
||||||
|
95,351,125,226,0,2,52.44
|
||||||
|
96,717,376,341,0,1,49.25
|
||||||
|
97,664,327,337,0,1,0.0
|
||||||
|
98,23,0,23,0,37,21.55
|
||||||
|
99,181,39,142,0,4,35.31
|
||||||
|
101
experiments/No_Refresh_1_0s_ttl/hit_age.csv
Normal file
101
experiments/No_Refresh_1_0s_ttl/hit_age.csv
Normal file
@@ -0,0 +1,101 @@
|
|||||||
|
obj_id,hit_rate,avg_age
|
||||||
|
1,0.4939759036144578,0.45426829268292684
|
||||||
|
2,0.22169811320754718,0.5106382978723404
|
||||||
|
3,0.5007429420505201,0.5133531157270029
|
||||||
|
4,0.5063291139240507,0.5166666666666667
|
||||||
|
5,0.32753623188405795,0.4247787610619469
|
||||||
|
6,0.4946070878274268,0.5171339563862928
|
||||||
|
7,0.1897810218978102,0.46153846153846156
|
||||||
|
8,0.49632892804698975,0.4556213017751479
|
||||||
|
9,0.502177068214804,0.476878612716763
|
||||||
|
10,0.49325337331334335,0.44376899696048633
|
||||||
|
11,0.3780487804878049,0.5483870967741935
|
||||||
|
12,0.523121387283237,0.5
|
||||||
|
13,0.48462664714494874,0.4743202416918429
|
||||||
|
14,0.4985632183908046,0.49279538904899134
|
||||||
|
15,0.31976744186046513,0.4727272727272727
|
||||||
|
16,0.29141104294478526,0.4421052631578947
|
||||||
|
17,0.4847605224963715,0.5988023952095808
|
||||||
|
18,0.4992764109985528,0.4927536231884058
|
||||||
|
19,0.228310502283105,0.52
|
||||||
|
20,0.5109289617486339,0.5053475935828877
|
||||||
|
21,0.5277401894451962,0.4897435897435897
|
||||||
|
22,0.5109809663250366,0.49283667621776506
|
||||||
|
23,0.4955223880597015,0.43373493975903615
|
||||||
|
24,0.3202416918429003,0.3867924528301887
|
||||||
|
25,0.5096685082872928,0.5013550135501355
|
||||||
|
26,0.5057803468208093,0.5057142857142857
|
||||||
|
27,0.5148936170212766,0.49586776859504134
|
||||||
|
28,0.15328467153284672,0.42857142857142855
|
||||||
|
29,0.4955357142857143,0.45645645645645644
|
||||||
|
30,0.48559077809798273,0.5608308605341247
|
||||||
|
31,0.5029673590504451,0.49557522123893805
|
||||||
|
32,0.1736111111111111,0.6
|
||||||
|
33,0.5119402985074627,0.44314868804664725
|
||||||
|
34,0.1276595744680851,0.5
|
||||||
|
35,0.5098634294385432,0.5297619047619048
|
||||||
|
36,0.5036179450072359,0.5
|
||||||
|
37,0.5305291723202171,0.4961636828644501
|
||||||
|
38,0.2465753424657534,0.6296296296296297
|
||||||
|
39,0.09,0.4444444444444444
|
||||||
|
40,0.49719887955182074,0.5014084507042254
|
||||||
|
41,0.22282608695652173,0.5853658536585366
|
||||||
|
42,0.18633540372670807,0.6666666666666666
|
||||||
|
43,0.3756906077348066,0.47794117647058826
|
||||||
|
44,0.4956896551724138,0.4956521739130435
|
||||||
|
45,0.4704944178628389,0.535593220338983
|
||||||
|
46,0.4876543209876543,0.4810126582278481
|
||||||
|
47,0.05660377358490566,0.3333333333333333
|
||||||
|
48,0.4822485207100592,0.4263803680981595
|
||||||
|
49,0.48119122257053293,0.50814332247557
|
||||||
|
50,0.49925705794947994,0.4523809523809524
|
||||||
|
51,0.1875,0.5
|
||||||
|
52,0.09411764705882353,0.5
|
||||||
|
53,0.5153949129852744,0.535064935064935
|
||||||
|
54,0.49857142857142855,0.5358166189111748
|
||||||
|
55,0.512372634643377,0.4943181818181818
|
||||||
|
56,0.5375,0.4728682170542636
|
||||||
|
57,0.5043478260869565,0.5431034482758621
|
||||||
|
58,0.025,1.0
|
||||||
|
59,0.32075471698113206,0.5196078431372549
|
||||||
|
60,0.4792284866468843,0.47678018575851394
|
||||||
|
61,0.17391304347826086,0.25
|
||||||
|
62,0.5096685082872928,0.46883468834688347
|
||||||
|
63,0.49203821656050956,0.47896440129449835
|
||||||
|
64,0.3652173913043478,0.5476190476190477
|
||||||
|
65,0.5066079295154186,0.5594202898550724
|
||||||
|
66,0.0684931506849315,0.6
|
||||||
|
67,0.5023041474654378,0.40978593272171254
|
||||||
|
68,0.0,0.0
|
||||||
|
69,0.49056603773584906,0.5416666666666666
|
||||||
|
70,0.4817073170731707,0.5
|
||||||
|
71,0.34946236559139787,0.5615384615384615
|
||||||
|
72,0.5132743362831859,0.49137931034482757
|
||||||
|
73,0.49686520376175547,0.5362776025236593
|
||||||
|
74,0.5094890510948905,0.4813753581661891
|
||||||
|
75,0.208955223880597,0.5238095238095238
|
||||||
|
76,0.35755813953488375,0.5853658536585366
|
||||||
|
77,0.36231884057971014,0.488
|
||||||
|
78,0.2720306513409962,0.4647887323943662
|
||||||
|
79,0.0851063829787234,0.5
|
||||||
|
80,0.503030303030303,0.5180722891566265
|
||||||
|
81,0.4952681388012618,0.49044585987261147
|
||||||
|
82,0.1386861313868613,0.47368421052631576
|
||||||
|
83,0.3074433656957929,0.5368421052631579
|
||||||
|
84,0.5043731778425656,0.5028901734104047
|
||||||
|
85,0.4941348973607038,0.5014836795252225
|
||||||
|
86,0.32608695652173914,0.5428571428571428
|
||||||
|
87,0.5,0.5029585798816568
|
||||||
|
88,0.3169230769230769,0.4368932038834951
|
||||||
|
89,0.49927431059506533,0.45058139534883723
|
||||||
|
90,0.4906474820143885,0.49266862170087977
|
||||||
|
91,0.36728395061728397,0.5630252100840336
|
||||||
|
92,0.3353115727002967,0.415929203539823
|
||||||
|
93,0.26126126126126126,0.4827586206896552
|
||||||
|
94,0.49854227405247814,0.52046783625731
|
||||||
|
95,0.3561253561253561,0.536
|
||||||
|
96,0.5244072524407253,0.4627659574468085
|
||||||
|
97,0.4924698795180723,0.5015290519877675
|
||||||
|
98,0.0,0.0
|
||||||
|
99,0.2154696132596685,0.5384615384615384
|
||||||
|
100,0.35311572700296734,0.4957983193277311
|
||||||
|
BIN
experiments/No_Refresh_1_0s_ttl/lambda_distribution.pdf
Normal file
BIN
experiments/No_Refresh_1_0s_ttl/lambda_distribution.pdf
Normal file
Binary file not shown.
BIN
experiments/No_Refresh_1_0s_ttl/objects_in_cache_over_time.pdf
Normal file
BIN
experiments/No_Refresh_1_0s_ttl/objects_in_cache_over_time.pdf
Normal file
Binary file not shown.
9
experiments/No_Refresh_1_0s_ttl/overall_hit_age.csv
Normal file
9
experiments/No_Refresh_1_0s_ttl/overall_hit_age.csv
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
,hit_rate,avg_age
|
||||||
|
count,100.0,100.0
|
||||||
|
mean,0.3881665606779017,0.4920888885617573
|
||||||
|
std,0.15249831056210744,0.10293321749563328
|
||||||
|
min,0.0,0.0
|
||||||
|
25%,0.30343528500804096,0.4717541266321754
|
||||||
|
50%,0.4866225495428185,0.49808184143222506
|
||||||
|
75%,0.5022088380274625,0.5252976190476191
|
||||||
|
max,0.5375,1.0
|
||||||
|
100
experiments/No_Refresh_2_0s_ttl/details.csv
Normal file
100
experiments/No_Refresh_2_0s_ttl/details.csv
Normal file
@@ -0,0 +1,100 @@
|
|||||||
|
,access_count,hits,misses,mu,lambda,hit_rate
|
||||||
|
1,664,445,219,0,1,37.74
|
||||||
|
2,212,80,132,0,3,66.42
|
||||||
|
3,673,447,226,0,1,67.37
|
||||||
|
4,711,479,232,0,1,51.01
|
||||||
|
5,345,176,169,0,2,64.56
|
||||||
|
6,649,419,230,0,1,29.2
|
||||||
|
7,137,40,97,0,5,66.37
|
||||||
|
8,681,452,229,0,1,66.76
|
||||||
|
9,689,460,229,0,1,66.57
|
||||||
|
10,667,444,223,0,1,52.13
|
||||||
|
11,328,171,157,0,2,67.92
|
||||||
|
12,692,470,222,0,1,66.03
|
||||||
|
13,683,451,232,0,1,66.67
|
||||||
|
14,696,464,232,0,1,48.55
|
||||||
|
15,344,167,177,0,2,48.47
|
||||||
|
16,326,158,168,0,2,66.33
|
||||||
|
17,689,457,232,0,1,65.99
|
||||||
|
18,691,456,235,0,1,41.1
|
||||||
|
19,219,90,129,0,3,68.58
|
||||||
|
20,732,502,230,0,1,68.88
|
||||||
|
21,739,509,230,0,1,66.76
|
||||||
|
22,683,456,227,0,1,66.57
|
||||||
|
23,670,446,224,0,1,49.85
|
||||||
|
24,331,165,166,0,2,68.09
|
||||||
|
25,724,493,231,0,1,66.91
|
||||||
|
26,692,463,229,0,1,68.09
|
||||||
|
27,705,480,225,0,1,28.47
|
||||||
|
28,137,39,98,0,5,65.92
|
||||||
|
29,672,443,229,0,1,66.28
|
||||||
|
30,694,460,234,0,1,66.62
|
||||||
|
31,674,449,225,0,1,29.17
|
||||||
|
32,144,42,102,0,4,66.72
|
||||||
|
33,670,447,223,0,1,26.95
|
||||||
|
34,141,38,103,0,4,66.77
|
||||||
|
35,659,440,219,0,1,67.15
|
||||||
|
36,691,464,227,0,1,69.06
|
||||||
|
37,737,509,228,0,1,39.27
|
||||||
|
38,219,86,133,0,3,21.0
|
||||||
|
39,100,21,79,0,8,66.81
|
||||||
|
40,714,477,237,0,1,32.07
|
||||||
|
41,184,59,125,0,4,34.78
|
||||||
|
42,161,56,105,0,4,53.87
|
||||||
|
43,362,195,167,0,2,66.52
|
||||||
|
44,696,463,233,0,1,64.59
|
||||||
|
45,627,405,222,0,1,64.97
|
||||||
|
46,648,421,227,0,1,9.43
|
||||||
|
47,53,5,48,0,10,64.79
|
||||||
|
48,676,438,238,0,1,65.52
|
||||||
|
49,638,418,220,0,1,66.12
|
||||||
|
50,673,445,228,0,1,29.69
|
||||||
|
51,128,38,90,0,5,16.47
|
||||||
|
52,85,14,71,0,9,68.14
|
||||||
|
53,747,509,238,0,1,67.71
|
||||||
|
54,700,474,226,0,1,66.67
|
||||||
|
55,687,458,229,0,1,68.89
|
||||||
|
56,720,496,224,0,1,67.25
|
||||||
|
57,690,464,226,0,1,5.0
|
||||||
|
58,40,2,38,0,17,48.11
|
||||||
|
59,318,153,165,0,2,66.32
|
||||||
|
60,674,447,227,0,1,17.39
|
||||||
|
61,23,4,19,0,26,68.09
|
||||||
|
62,724,493,231,0,1,64.49
|
||||||
|
63,628,405,223,0,1,52.46
|
||||||
|
64,345,181,164,0,2,67.11
|
||||||
|
65,681,457,224,0,1,16.44
|
||||||
|
66,73,12,61,0,10,66.36
|
||||||
|
67,651,432,219,0,1,0.0
|
||||||
|
68,10,0,10,0,69,65.41
|
||||||
|
69,636,416,220,0,1,65.7
|
||||||
|
70,656,431,225,0,1,50.81
|
||||||
|
71,372,189,183,0,2,67.7
|
||||||
|
72,678,459,219,0,1,66.14
|
||||||
|
73,638,422,216,0,1,65.69
|
||||||
|
74,685,450,235,0,1,32.84
|
||||||
|
75,201,66,135,0,3,52.33
|
||||||
|
76,344,180,164,0,2,51.88
|
||||||
|
77,345,179,166,0,2,41.76
|
||||||
|
78,261,109,152,0,3,10.64
|
||||||
|
79,47,5,42,0,15,66.52
|
||||||
|
80,660,439,221,0,1,65.3
|
||||||
|
81,634,414,220,0,1,29.2
|
||||||
|
82,137,40,97,0,5,46.93
|
||||||
|
83,309,145,164,0,2,67.49
|
||||||
|
84,686,463,223,0,1,66.72
|
||||||
|
85,682,455,227,0,1,49.07
|
||||||
|
86,322,158,164,0,2,64.94
|
||||||
|
87,676,439,237,0,1,48.92
|
||||||
|
88,325,159,166,0,2,66.62
|
||||||
|
89,689,459,230,0,1,67.05
|
||||||
|
90,695,466,229,0,1,51.23
|
||||||
|
91,324,166,158,0,2,51.63
|
||||||
|
92,337,174,163,0,2,39.64
|
||||||
|
93,222,88,134,0,3,66.18
|
||||||
|
94,686,454,232,0,1,50.71
|
||||||
|
95,351,178,173,0,2,67.78
|
||||||
|
96,717,486,231,0,1,66.72
|
||||||
|
97,664,443,221,0,1,0.0
|
||||||
|
98,23,0,23,0,37,38.12
|
||||||
|
99,181,69,112,0,4,50.15
|
||||||
|
101
experiments/No_Refresh_2_0s_ttl/hit_age.csv
Normal file
101
experiments/No_Refresh_2_0s_ttl/hit_age.csv
Normal file
@@ -0,0 +1,101 @@
|
|||||||
|
obj_id,hit_rate,avg_age
|
||||||
|
1,0.6701807228915663,1.0269662921348315
|
||||||
|
2,0.37735849056603776,1.2375
|
||||||
|
3,0.6641901931649331,0.9574944071588367
|
||||||
|
4,0.6736990154711674,1.0041753653444676
|
||||||
|
5,0.5101449275362319,0.9829545454545454
|
||||||
|
6,0.6456086286594761,0.9260143198090692
|
||||||
|
7,0.291970802919708,1.125
|
||||||
|
8,0.6637298091042585,0.9867256637168141
|
||||||
|
9,0.6676342525399129,0.9760869565217392
|
||||||
|
10,0.6656671664167916,0.9954954954954955
|
||||||
|
11,0.5213414634146342,0.9883040935672515
|
||||||
|
12,0.6791907514450867,0.9702127659574468
|
||||||
|
13,0.6603221083455344,1.0532150776053215
|
||||||
|
14,0.6666666666666666,1.0668103448275863
|
||||||
|
15,0.48546511627906974,1.0658682634730539
|
||||||
|
16,0.48466257668711654,1.0253164556962024
|
||||||
|
17,0.6632801161103048,1.0284463894967177
|
||||||
|
18,0.6599131693198264,0.9912280701754386
|
||||||
|
19,0.410958904109589,1.0
|
||||||
|
20,0.6857923497267759,1.00199203187251
|
||||||
|
21,0.6887686062246279,0.9194499017681729
|
||||||
|
22,0.6676427525622255,0.9780701754385965
|
||||||
|
23,0.6656716417910448,0.9618834080717489
|
||||||
|
24,0.4984894259818731,0.9939393939393939
|
||||||
|
25,0.680939226519337,1.028397565922921
|
||||||
|
26,0.6690751445086706,1.0172786177105833
|
||||||
|
27,0.6808510638297872,0.9458333333333333
|
||||||
|
28,0.2846715328467153,1.1538461538461537
|
||||||
|
29,0.6592261904761905,0.9616252821670429
|
||||||
|
30,0.6628242074927954,1.0456521739130435
|
||||||
|
31,0.6661721068249258,1.0311804008908685
|
||||||
|
32,0.2916666666666667,0.9523809523809523
|
||||||
|
33,0.6671641791044776,1.0067114093959733
|
||||||
|
34,0.2695035460992908,1.105263157894737
|
||||||
|
35,0.6676783004552352,1.0
|
||||||
|
36,0.6714905933429812,1.0581896551724137
|
||||||
|
37,0.6906377204884667,0.9823182711198428
|
||||||
|
38,0.3926940639269406,1.1162790697674418
|
||||||
|
39,0.21,1.1904761904761905
|
||||||
|
40,0.6680672268907563,1.0377358490566038
|
||||||
|
41,0.32065217391304346,0.8983050847457628
|
||||||
|
42,0.34782608695652173,1.0892857142857142
|
||||||
|
43,0.5386740331491713,0.958974358974359
|
||||||
|
44,0.6652298850574713,0.9395248380129589
|
||||||
|
45,0.645933014354067,1.0148148148148148
|
||||||
|
46,0.6496913580246914,1.0332541567695963
|
||||||
|
47,0.09433962264150944,0.6
|
||||||
|
48,0.6479289940828402,0.8972602739726028
|
||||||
|
49,0.6551724137931034,0.9497607655502392
|
||||||
|
50,0.6612184249628529,0.9775280898876404
|
||||||
|
51,0.296875,0.8947368421052632
|
||||||
|
52,0.16470588235294117,0.7857142857142857
|
||||||
|
53,0.6813922356091031,0.9960707269155207
|
||||||
|
54,0.6771428571428572,1.0168776371308017
|
||||||
|
55,0.6666666666666666,0.9541484716157205
|
||||||
|
56,0.6888888888888889,1.002016129032258
|
||||||
|
57,0.672463768115942,0.9612068965517241
|
||||||
|
58,0.05,1.0
|
||||||
|
59,0.4811320754716981,1.0065359477124183
|
||||||
|
60,0.6632047477744807,0.9798657718120806
|
||||||
|
61,0.17391304347826086,0.25
|
||||||
|
62,0.680939226519337,1.026369168356998
|
||||||
|
63,0.6449044585987261,0.945679012345679
|
||||||
|
64,0.5246376811594203,1.0165745856353592
|
||||||
|
65,0.671071953010279,1.0087527352297594
|
||||||
|
66,0.1643835616438356,1.0833333333333333
|
||||||
|
67,0.663594470046083,0.9652777777777778
|
||||||
|
68,0.0,0.0
|
||||||
|
69,0.6540880503144654,0.9447115384615384
|
||||||
|
70,0.6570121951219512,1.0092807424593968
|
||||||
|
71,0.5080645161290323,1.0052910052910053
|
||||||
|
72,0.6769911504424779,0.9368191721132898
|
||||||
|
73,0.6614420062695925,0.9881516587677726
|
||||||
|
74,0.656934306569343,0.94
|
||||||
|
75,0.3283582089552239,0.9393939393939394
|
||||||
|
76,0.5232558139534884,1.0055555555555555
|
||||||
|
77,0.518840579710145,0.994413407821229
|
||||||
|
78,0.41762452107279696,0.9724770642201835
|
||||||
|
79,0.10638297872340426,0.8
|
||||||
|
80,0.6651515151515152,1.0227790432801822
|
||||||
|
81,0.6529968454258676,0.9154589371980676
|
||||||
|
82,0.291970802919708,1.1
|
||||||
|
83,0.4692556634304207,1.0689655172413792
|
||||||
|
84,0.6749271137026239,0.9848812095032398
|
||||||
|
85,0.6671554252199413,0.9956043956043956
|
||||||
|
86,0.4906832298136646,1.0949367088607596
|
||||||
|
87,0.6494082840236687,1.0501138952164009
|
||||||
|
88,0.48923076923076925,0.9748427672955975
|
||||||
|
89,0.6661828737300436,0.9564270152505446
|
||||||
|
90,0.6705035971223021,0.9463519313304721
|
||||||
|
91,0.5123456790123457,1.0602409638554218
|
||||||
|
92,0.516320474777448,1.0
|
||||||
|
93,0.3963963963963964,0.9204545454545454
|
||||||
|
94,0.6618075801749271,1.002202643171806
|
||||||
|
95,0.5071225071225072,0.9157303370786517
|
||||||
|
96,0.6778242677824268,0.9732510288065843
|
||||||
|
97,0.6671686746987951,0.9977426636568849
|
||||||
|
98,0.0,0.0
|
||||||
|
99,0.3812154696132597,1.0289855072463767
|
||||||
|
100,0.5014836795252225,0.9467455621301775
|
||||||
|
BIN
experiments/No_Refresh_2_0s_ttl/lambda_distribution.pdf
Normal file
BIN
experiments/No_Refresh_2_0s_ttl/lambda_distribution.pdf
Normal file
Binary file not shown.
BIN
experiments/No_Refresh_2_0s_ttl/objects_in_cache_over_time.pdf
Normal file
BIN
experiments/No_Refresh_2_0s_ttl/objects_in_cache_over_time.pdf
Normal file
Binary file not shown.
9
experiments/No_Refresh_2_0s_ttl/overall_hit_age.csv
Normal file
9
experiments/No_Refresh_2_0s_ttl/overall_hit_age.csv
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
,hit_rate,avg_age
|
||||||
|
count,100.0,100.0
|
||||||
|
mean,0.5381173912695726,0.966399936751214
|
||||||
|
std,0.18361763609229173,0.17530494397945118
|
||||||
|
min,0.0,0.0
|
||||||
|
25%,0.47816297246137873,0.9537065918070284
|
||||||
|
50%,0.6546302320537845,0.9949544516583623
|
||||||
|
75%,0.667165303003057,1.0265184493014563
|
||||||
|
max,0.6906377204884667,1.2375
|
||||||
|
100
experiments/No_Refresh_3_0s_ttl/details.csv
Normal file
100
experiments/No_Refresh_3_0s_ttl/details.csv
Normal file
@@ -0,0 +1,100 @@
|
|||||||
|
,access_count,hits,misses,mu,lambda,hit_rate
|
||||||
|
1,664,494,170,0,1,45.28
|
||||||
|
2,212,96,116,0,3,74.15
|
||||||
|
3,673,499,174,0,1,76.65
|
||||||
|
4,711,545,166,0,1,60.0
|
||||||
|
5,345,207,138,0,2,73.96
|
||||||
|
6,649,480,169,0,1,38.69
|
||||||
|
7,137,53,84,0,5,74.3
|
||||||
|
8,681,506,175,0,1,74.6
|
||||||
|
9,689,514,175,0,1,74.66
|
||||||
|
10,667,498,169,0,1,60.37
|
||||||
|
11,328,198,130,0,2,75.29
|
||||||
|
12,692,521,171,0,1,74.96
|
||||||
|
13,683,512,171,0,1,74.71
|
||||||
|
14,696,520,176,0,1,60.76
|
||||||
|
15,344,209,135,0,2,59.2
|
||||||
|
16,326,193,133,0,2,75.47
|
||||||
|
17,689,520,169,0,1,75.11
|
||||||
|
18,691,519,172,0,1,51.6
|
||||||
|
19,219,113,106,0,3,75.96
|
||||||
|
20,732,556,176,0,1,76.32
|
||||||
|
21,739,564,175,0,1,75.26
|
||||||
|
22,683,514,169,0,1,74.78
|
||||||
|
23,670,501,169,0,1,57.4
|
||||||
|
24,331,190,141,0,2,75.83
|
||||||
|
25,724,549,175,0,1,74.86
|
||||||
|
26,692,518,174,0,1,75.74
|
||||||
|
27,705,534,171,0,1,37.23
|
||||||
|
28,137,51,86,0,5,75.15
|
||||||
|
29,672,505,167,0,1,74.64
|
||||||
|
30,694,518,176,0,1,74.78
|
||||||
|
31,674,504,170,0,1,38.89
|
||||||
|
32,144,56,88,0,4,74.93
|
||||||
|
33,670,502,168,0,1,31.91
|
||||||
|
34,141,45,96,0,4,74.66
|
||||||
|
35,659,492,167,0,1,75.4
|
||||||
|
36,691,521,170,0,1,76.12
|
||||||
|
37,737,561,176,0,1,48.86
|
||||||
|
38,219,107,112,0,3,28.0
|
||||||
|
39,100,28,72,0,8,75.91
|
||||||
|
40,714,542,172,0,1,42.39
|
||||||
|
41,184,78,106,0,4,43.48
|
||||||
|
42,161,70,91,0,4,61.88
|
||||||
|
43,362,224,138,0,2,75.43
|
||||||
|
44,696,525,171,0,1,73.21
|
||||||
|
45,627,459,168,0,1,75.15
|
||||||
|
46,648,487,161,0,1,22.64
|
||||||
|
47,53,12,41,0,10,74.85
|
||||||
|
48,676,506,170,0,1,73.98
|
||||||
|
49,638,472,166,0,1,74.59
|
||||||
|
50,673,502,171,0,1,39.06
|
||||||
|
51,128,50,78,0,5,21.18
|
||||||
|
52,85,18,67,0,9,76.57
|
||||||
|
53,747,572,175,0,1,76.0
|
||||||
|
54,700,532,168,0,1,75.25
|
||||||
|
55,687,517,170,0,1,75.42
|
||||||
|
56,720,543,177,0,1,75.36
|
||||||
|
57,690,520,170,0,1,10.0
|
||||||
|
58,40,4,36,0,17,60.69
|
||||||
|
59,318,193,125,0,2,74.93
|
||||||
|
60,674,505,169,0,1,21.74
|
||||||
|
61,23,5,18,0,26,75.55
|
||||||
|
62,724,547,177,0,1,74.2
|
||||||
|
63,628,466,162,0,1,60.29
|
||||||
|
64,345,208,137,0,2,74.89
|
||||||
|
65,681,510,171,0,1,23.29
|
||||||
|
66,73,17,56,0,10,74.35
|
||||||
|
67,651,484,167,0,1,0.0
|
||||||
|
68,10,0,10,0,69,73.9
|
||||||
|
69,636,470,166,0,1,74.7
|
||||||
|
70,656,490,166,0,1,61.56
|
||||||
|
71,372,229,143,0,2,75.52
|
||||||
|
72,678,512,166,0,1,73.51
|
||||||
|
73,638,469,169,0,1,74.89
|
||||||
|
74,685,513,172,0,1,44.28
|
||||||
|
75,201,89,112,0,3,59.88
|
||||||
|
76,344,206,138,0,2,61.45
|
||||||
|
77,345,212,133,0,2,50.19
|
||||||
|
78,261,131,130,0,3,10.64
|
||||||
|
79,47,5,42,0,15,75.3
|
||||||
|
80,660,497,163,0,1,74.29
|
||||||
|
81,634,471,163,0,1,37.96
|
||||||
|
82,137,52,85,0,5,57.28
|
||||||
|
83,309,177,132,0,2,75.51
|
||||||
|
84,686,518,168,0,1,74.63
|
||||||
|
85,682,509,173,0,1,58.39
|
||||||
|
86,322,188,134,0,2,74.7
|
||||||
|
87,676,505,171,0,1,58.15
|
||||||
|
88,325,189,136,0,2,75.62
|
||||||
|
89,689,521,168,0,1,75.11
|
||||||
|
90,695,522,173,0,1,62.35
|
||||||
|
91,324,202,122,0,2,60.53
|
||||||
|
92,337,204,133,0,2,47.75
|
||||||
|
93,222,106,116,0,3,75.07
|
||||||
|
94,686,515,171,0,1,62.39
|
||||||
|
95,351,219,132,0,2,76.29
|
||||||
|
96,717,547,170,0,1,74.4
|
||||||
|
97,664,494,170,0,1,8.7
|
||||||
|
98,23,2,21,0,37,46.96
|
||||||
|
99,181,85,96,0,4,59.64
|
||||||
|
101
experiments/No_Refresh_3_0s_ttl/hit_age.csv
Normal file
101
experiments/No_Refresh_3_0s_ttl/hit_age.csv
Normal file
@@ -0,0 +1,101 @@
|
|||||||
|
obj_id,hit_rate,avg_age
|
||||||
|
1,0.7439759036144579,1.45748987854251
|
||||||
|
2,0.4528301886792453,1.5416666666666667
|
||||||
|
3,0.7414561664190193,1.4909819639278556
|
||||||
|
4,0.7665260196905767,1.6018348623853211
|
||||||
|
5,0.6,1.5507246376811594
|
||||||
|
6,0.7395993836671803,1.5833333333333333
|
||||||
|
7,0.38686131386861317,1.6603773584905661
|
||||||
|
8,0.7430249632892805,1.4703557312252964
|
||||||
|
9,0.7460087082728593,1.461089494163424
|
||||||
|
10,0.7466266866566716,1.4759036144578312
|
||||||
|
11,0.6036585365853658,1.4444444444444444
|
||||||
|
12,0.7528901734104047,1.4491362763915547
|
||||||
|
13,0.7496339677891655,1.537109375
|
||||||
|
14,0.7471264367816092,1.5596153846153846
|
||||||
|
15,0.6075581395348837,1.5023923444976077
|
||||||
|
16,0.5920245398773006,1.5803108808290156
|
||||||
|
17,0.7547169811320755,1.6423076923076922
|
||||||
|
18,0.7510853835021708,1.5260115606936415
|
||||||
|
19,0.5159817351598174,1.6106194690265487
|
||||||
|
20,0.7595628415300546,1.4460431654676258
|
||||||
|
21,0.7631935047361299,1.5088652482269505
|
||||||
|
22,0.7525622254758418,1.5291828793774318
|
||||||
|
23,0.7477611940298508,1.403193612774451
|
||||||
|
24,0.5740181268882175,1.563157894736842
|
||||||
|
25,0.7582872928176796,1.5136612021857923
|
||||||
|
26,0.7485549132947977,1.5347490347490347
|
||||||
|
27,0.7574468085106383,1.4138576779026217
|
||||||
|
28,0.3722627737226277,1.5098039215686274
|
||||||
|
29,0.7514880952380952,1.506930693069307
|
||||||
|
30,0.7463976945244957,1.555984555984556
|
||||||
|
31,0.7477744807121661,1.5297619047619047
|
||||||
|
32,0.3888888888888889,1.5
|
||||||
|
33,0.7492537313432835,1.4302788844621515
|
||||||
|
34,0.3191489361702128,1.3777777777777778
|
||||||
|
35,0.7465857359635811,1.5142276422764227
|
||||||
|
36,0.7539797395079595,1.5009596928982725
|
||||||
|
37,0.7611940298507462,1.5080213903743316
|
||||||
|
38,0.4885844748858447,1.5794392523364487
|
||||||
|
39,0.28,1.6785714285714286
|
||||||
|
40,0.7591036414565826,1.6199261992619927
|
||||||
|
41,0.42391304347826086,1.7179487179487178
|
||||||
|
42,0.43478260869565216,1.6857142857142857
|
||||||
|
43,0.6187845303867403,1.3392857142857142
|
||||||
|
44,0.7543103448275862,1.5447619047619048
|
||||||
|
45,0.7320574162679426,1.5359477124183007
|
||||||
|
46,0.7515432098765432,1.5010266940451746
|
||||||
|
47,0.22641509433962265,1.9166666666666667
|
||||||
|
48,0.7485207100591716,1.5118577075098814
|
||||||
|
49,0.7398119122257053,1.4406779661016949
|
||||||
|
50,0.7459138187221397,1.4760956175298805
|
||||||
|
51,0.390625,1.44
|
||||||
|
52,0.21176470588235294,1.2777777777777777
|
||||||
|
53,0.7657295850066934,1.4912587412587412
|
||||||
|
54,0.76,1.5432330827067668
|
||||||
|
55,0.75254730713246,1.4700193423597678
|
||||||
|
56,0.7541666666666667,1.3922651933701657
|
||||||
|
57,0.7536231884057971,1.5288461538461537
|
||||||
|
58,0.1,1.5
|
||||||
|
59,0.6069182389937107,1.5025906735751295
|
||||||
|
60,0.7492581602373887,1.508910891089109
|
||||||
|
61,0.21739130434782608,0.6
|
||||||
|
62,0.755524861878453,1.5045703839122486
|
||||||
|
63,0.7420382165605095,1.4785407725321889
|
||||||
|
64,0.6028985507246377,1.4519230769230769
|
||||||
|
65,0.748898678414097,1.4843137254901961
|
||||||
|
66,0.2328767123287671,1.588235294117647
|
||||||
|
67,0.7434715821812596,1.493801652892562
|
||||||
|
68,0.0,0.0
|
||||||
|
69,0.7389937106918238,1.553191489361702
|
||||||
|
70,0.7469512195121951,1.530612244897959
|
||||||
|
71,0.6155913978494624,1.5327510917030567
|
||||||
|
72,0.7551622418879056,1.484375
|
||||||
|
73,0.7351097178683386,1.4179104477611941
|
||||||
|
74,0.7489051094890511,1.557504873294347
|
||||||
|
75,0.4427860696517413,1.5056179775280898
|
||||||
|
76,0.5988372093023255,1.441747572815534
|
||||||
|
77,0.6144927536231884,1.4433962264150944
|
||||||
|
78,0.5019157088122606,1.4885496183206106
|
||||||
|
79,0.10638297872340426,0.8
|
||||||
|
80,0.753030303030303,1.5070422535211268
|
||||||
|
81,0.7429022082018928,1.4692144373673035
|
||||||
|
82,0.3795620437956204,1.5192307692307692
|
||||||
|
83,0.5728155339805825,1.5197740112994351
|
||||||
|
84,0.7551020408163265,1.494208494208494
|
||||||
|
85,0.7463343108504399,1.3889980353634577
|
||||||
|
86,0.5838509316770186,1.5106382978723405
|
||||||
|
87,0.7470414201183432,1.4792079207920792
|
||||||
|
88,0.5815384615384616,1.3915343915343916
|
||||||
|
89,0.7561683599419449,1.5335892514395393
|
||||||
|
90,0.7510791366906475,1.496168582375479
|
||||||
|
91,0.6234567901234568,1.5792079207920793
|
||||||
|
92,0.6053412462908012,1.392156862745098
|
||||||
|
93,0.4774774774774775,1.4622641509433962
|
||||||
|
94,0.750728862973761,1.5728155339805825
|
||||||
|
95,0.6239316239316239,1.5342465753424657
|
||||||
|
96,0.7629009762900977,1.4204753199268738
|
||||||
|
97,0.7439759036144579,1.4412955465587045
|
||||||
|
98,0.08695652173913043,3.0
|
||||||
|
99,0.4696132596685083,1.411764705882353
|
||||||
|
100,0.5964391691394659,1.328358208955224
|
||||||
|
BIN
experiments/No_Refresh_3_0s_ttl/lambda_distribution.pdf
Normal file
BIN
experiments/No_Refresh_3_0s_ttl/lambda_distribution.pdf
Normal file
Binary file not shown.
BIN
experiments/No_Refresh_3_0s_ttl/objects_in_cache_over_time.pdf
Normal file
BIN
experiments/No_Refresh_3_0s_ttl/objects_in_cache_over_time.pdf
Normal file
Binary file not shown.
9
experiments/No_Refresh_3_0s_ttl/overall_hit_age.csv
Normal file
9
experiments/No_Refresh_3_0s_ttl/overall_hit_age.csv
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
,hit_rate,avg_age
|
||||||
|
count,100.0,100.0
|
||||||
|
mean,0.6224679450442043,1.4900421658850633
|
||||||
|
std,0.18900729549961315,0.2559552015594171
|
||||||
|
min,0.0,0.0
|
||||||
|
25%,0.5737174786613087,1.4512263767901963
|
||||||
|
50%,0.7429635857455866,1.5035805287436892
|
||||||
|
75%,0.7511860614361519,1.5382486979166667
|
||||||
|
max,0.7665260196905767,3.0
|
||||||
|
100
experiments/No_Refresh_4_0s_ttl/details.csv
Normal file
100
experiments/No_Refresh_4_0s_ttl/details.csv
Normal file
@@ -0,0 +1,100 @@
|
|||||||
|
,access_count,hits,misses,mu,lambda,hit_rate
|
||||||
|
1,664,527,137,0,1,52.83
|
||||||
|
2,212,112,100,0,3,79.79
|
||||||
|
3,673,537,136,0,1,80.87
|
||||||
|
4,711,575,136,0,1,68.99
|
||||||
|
5,345,238,107,0,2,79.35
|
||||||
|
6,649,515,134,0,1,43.8
|
||||||
|
7,137,60,77,0,5,80.32
|
||||||
|
8,681,547,134,0,1,79.97
|
||||||
|
9,689,551,138,0,1,79.31
|
||||||
|
10,667,529,138,0,1,68.29
|
||||||
|
11,328,224,104,0,2,80.2
|
||||||
|
12,692,555,137,0,1,80.09
|
||||||
|
13,683,547,136,0,1,80.6
|
||||||
|
14,696,561,135,0,1,67.15
|
||||||
|
15,344,231,113,0,2,65.64
|
||||||
|
16,326,214,112,0,2,80.12
|
||||||
|
17,689,552,137,0,1,80.32
|
||||||
|
18,691,555,136,0,1,55.71
|
||||||
|
19,219,122,97,0,3,80.87
|
||||||
|
20,732,592,140,0,1,81.33
|
||||||
|
21,739,601,138,0,1,79.8
|
||||||
|
22,683,545,138,0,1,79.85
|
||||||
|
23,670,535,135,0,1,67.07
|
||||||
|
24,331,222,109,0,2,80.66
|
||||||
|
25,724,584,140,0,1,80.35
|
||||||
|
26,692,556,136,0,1,80.85
|
||||||
|
27,705,570,135,0,1,43.8
|
||||||
|
28,137,60,77,0,5,79.76
|
||||||
|
29,672,536,136,0,1,79.83
|
||||||
|
30,694,554,140,0,1,79.82
|
||||||
|
31,674,538,136,0,1,47.92
|
||||||
|
32,144,69,75,0,4,79.55
|
||||||
|
33,670,533,137,0,1,43.26
|
||||||
|
34,141,61,80,0,4,79.51
|
||||||
|
35,659,524,135,0,1,80.03
|
||||||
|
36,691,553,138,0,1,80.73
|
||||||
|
37,737,595,142,0,1,57.08
|
||||||
|
38,219,125,94,0,3,37.0
|
||||||
|
39,100,37,63,0,8,80.39
|
||||||
|
40,714,574,140,0,1,50.54
|
||||||
|
41,184,93,91,0,4,47.83
|
||||||
|
42,161,77,84,0,4,68.51
|
||||||
|
43,362,248,114,0,2,80.6
|
||||||
|
44,696,561,135,0,1,78.63
|
||||||
|
45,627,493,134,0,1,79.63
|
||||||
|
46,648,516,132,0,1,24.53
|
||||||
|
47,53,13,40,0,10,79.73
|
||||||
|
48,676,539,137,0,1,78.68
|
||||||
|
49,638,502,136,0,1,79.35
|
||||||
|
50,673,534,139,0,1,42.97
|
||||||
|
51,128,55,73,0,5,30.59
|
||||||
|
52,85,26,59,0,9,81.12
|
||||||
|
53,747,606,141,0,1,81.0
|
||||||
|
54,700,567,133,0,1,80.2
|
||||||
|
55,687,551,136,0,1,81.25
|
||||||
|
56,720,585,135,0,1,79.57
|
||||||
|
57,690,549,141,0,1,12.5
|
||||||
|
58,40,5,35,0,17,65.72
|
||||||
|
59,318,209,109,0,2,79.82
|
||||||
|
60,674,538,136,0,1,21.74
|
||||||
|
61,23,5,18,0,26,80.94
|
||||||
|
62,724,586,138,0,1,78.34
|
||||||
|
63,628,492,136,0,1,66.96
|
||||||
|
64,345,231,114,0,2,80.62
|
||||||
|
65,681,549,132,0,1,28.77
|
||||||
|
66,73,21,52,0,10,79.57
|
||||||
|
67,651,518,133,0,1,0.0
|
||||||
|
68,10,0,10,0,69,78.46
|
||||||
|
69,636,499,137,0,1,79.73
|
||||||
|
70,656,523,133,0,1,67.74
|
||||||
|
71,372,252,120,0,2,80.38
|
||||||
|
72,678,545,133,0,1,79.31
|
||||||
|
73,638,506,132,0,1,79.85
|
||||||
|
74,685,547,138,0,1,52.24
|
||||||
|
75,201,105,96,0,3,65.99
|
||||||
|
76,344,227,117,0,2,68.41
|
||||||
|
77,345,236,109,0,2,59.0
|
||||||
|
78,261,154,107,0,3,14.89
|
||||||
|
79,47,7,40,0,15,79.7
|
||||||
|
80,660,526,134,0,1,79.02
|
||||||
|
81,634,501,133,0,1,43.07
|
||||||
|
82,137,59,78,0,5,65.05
|
||||||
|
83,309,201,108,0,2,80.47
|
||||||
|
84,686,552,134,0,1,79.47
|
||||||
|
85,682,542,140,0,1,64.91
|
||||||
|
86,322,209,113,0,2,79.14
|
||||||
|
87,676,535,141,0,1,65.23
|
||||||
|
88,325,212,113,0,2,80.41
|
||||||
|
89,689,554,135,0,1,80.43
|
||||||
|
90,695,559,136,0,1,67.59
|
||||||
|
91,324,219,105,0,2,67.36
|
||||||
|
92,337,227,110,0,2,56.76
|
||||||
|
93,222,126,96,0,3,79.74
|
||||||
|
94,686,547,139,0,1,68.38
|
||||||
|
95,351,240,111,0,2,80.61
|
||||||
|
96,717,578,139,0,1,79.52
|
||||||
|
97,664,528,136,0,1,17.39
|
||||||
|
98,23,4,19,0,37,53.04
|
||||||
|
99,181,96,85,0,4,68.25
|
||||||
|
101
experiments/No_Refresh_4_0s_ttl/hit_age.csv
Normal file
101
experiments/No_Refresh_4_0s_ttl/hit_age.csv
Normal file
@@ -0,0 +1,101 @@
|
|||||||
|
obj_id,hit_rate,avg_age
|
||||||
|
1,0.7936746987951807,1.9316888045540797
|
||||||
|
2,0.5283018867924528,2.080357142857143
|
||||||
|
3,0.7979197622585439,2.0242085661080074
|
||||||
|
4,0.8087201125175809,2.1339130434782607
|
||||||
|
5,0.6898550724637681,2.168067226890756
|
||||||
|
6,0.7935285053929122,1.9300970873786407
|
||||||
|
7,0.43795620437956206,1.9333333333333333
|
||||||
|
8,0.8032305433186491,2.03290676416819
|
||||||
|
9,0.7997097242380261,1.9945553539019965
|
||||||
|
10,0.7931034482758621,2.007561436672968
|
||||||
|
11,0.6829268292682927,1.9866071428571428
|
||||||
|
12,0.8020231213872833,1.936936936936937
|
||||||
|
13,0.8008784773060029,2.113345521023766
|
||||||
|
14,0.8060344827586207,1.9946524064171123
|
||||||
|
15,0.6715116279069767,1.8874458874458875
|
||||||
|
16,0.656441717791411,2.046728971962617
|
||||||
|
17,0.8011611030478955,1.9728260869565217
|
||||||
|
18,0.8031837916063675,2.045045045045045
|
||||||
|
19,0.5570776255707762,1.9344262295081966
|
||||||
|
20,0.8087431693989071,2.0591216216216215
|
||||||
|
21,0.8132611637347767,2.043261231281198
|
||||||
|
22,0.7979502196193266,1.9064220183486238
|
||||||
|
23,0.7985074626865671,1.97196261682243
|
||||||
|
24,0.6706948640483383,2.1036036036036037
|
||||||
|
25,0.8066298342541437,1.9777397260273972
|
||||||
|
26,0.8034682080924855,2.1097122302158273
|
||||||
|
27,0.8085106382978723,2.1070175438596492
|
||||||
|
28,0.43795620437956206,2.1666666666666665
|
||||||
|
29,0.7976190476190477,1.9011194029850746
|
||||||
|
30,0.7982708933717579,1.96028880866426
|
||||||
|
31,0.798219584569733,2.0780669144981414
|
||||||
|
32,0.4791666666666667,2.1594202898550723
|
||||||
|
33,0.7955223880597015,1.8818011257035647
|
||||||
|
34,0.4326241134751773,2.2131147540983607
|
||||||
|
35,0.795144157814871,2.068702290076336
|
||||||
|
36,0.8002894356005789,1.9620253164556962
|
||||||
|
37,0.8073270013568521,1.946218487394958
|
||||||
|
38,0.5707762557077626,2.096
|
||||||
|
39,0.37,2.27027027027027
|
||||||
|
40,0.803921568627451,2.06794425087108
|
||||||
|
41,0.5054347826086957,2.204301075268817
|
||||||
|
42,0.4782608695652174,2.1948051948051948
|
||||||
|
43,0.6850828729281768,1.8830645161290323
|
||||||
|
44,0.8060344827586207,2.0089126559714794
|
||||||
|
45,0.7862838915470495,1.997971602434077
|
||||||
|
46,0.7962962962962963,2.0174418604651163
|
||||||
|
47,0.24528301886792453,2.1538461538461537
|
||||||
|
48,0.7973372781065089,1.9851576994434137
|
||||||
|
49,0.786833855799373,2.0358565737051793
|
||||||
|
50,0.7934621099554234,1.9194756554307115
|
||||||
|
51,0.4296875,1.6363636363636365
|
||||||
|
52,0.3058823529411765,1.8846153846153846
|
||||||
|
53,0.8112449799196787,2.0132013201320134
|
||||||
|
54,0.81,2.0
|
||||||
|
55,0.8020378457059679,1.9310344827586208
|
||||||
|
56,0.8125,1.982905982905983
|
||||||
|
57,0.7956521739130434,2.0491803278688523
|
||||||
|
58,0.125,2.2
|
||||||
|
59,0.6572327044025157,1.9569377990430623
|
||||||
|
60,0.798219584569733,2.029739776951673
|
||||||
|
61,0.21739130434782608,0.6
|
||||||
|
62,0.8093922651933702,1.9112627986348123
|
||||||
|
63,0.7834394904458599,1.8333333333333333
|
||||||
|
64,0.6695652173913044,1.948051948051948
|
||||||
|
65,0.8061674008810573,2.034608378870674
|
||||||
|
66,0.2876712328767123,2.0952380952380953
|
||||||
|
67,0.7956989247311828,2.0656370656370657
|
||||||
|
68,0.0,0.0
|
||||||
|
69,0.7845911949685535,1.9799599198396793
|
||||||
|
70,0.7972560975609756,2.0095602294455066
|
||||||
|
71,0.6774193548387096,1.9722222222222223
|
||||||
|
72,0.803834808259587,1.891743119266055
|
||||||
|
73,0.7931034482758621,1.8893280632411067
|
||||||
|
74,0.7985401459854015,2.043875685557587
|
||||||
|
75,0.5223880597014925,2.2095238095238097
|
||||||
|
76,0.6598837209302325,1.9955947136563876
|
||||||
|
77,0.6840579710144927,2.0254237288135593
|
||||||
|
78,0.5900383141762452,2.0064935064935066
|
||||||
|
79,0.14893617021276595,1.5714285714285714
|
||||||
|
80,0.796969696969697,2.0
|
||||||
|
81,0.7902208201892744,2.0339321357285427
|
||||||
|
82,0.4306569343065693,1.8644067796610169
|
||||||
|
83,0.6504854368932039,2.2487562189054726
|
||||||
|
84,0.8046647230320699,1.9909420289855073
|
||||||
|
85,0.7947214076246334,1.985239852398524
|
||||||
|
86,0.6490683229813664,1.8229665071770336
|
||||||
|
87,0.7914201183431953,2.0261682242990653
|
||||||
|
88,0.6523076923076923,1.9575471698113207
|
||||||
|
89,0.8040638606676342,1.94043321299639
|
||||||
|
90,0.8043165467625899,2.0697674418604652
|
||||||
|
91,0.6759259259259259,1.9680365296803652
|
||||||
|
92,0.6735905044510386,1.9162995594713657
|
||||||
|
93,0.5675675675675675,1.9523809523809523
|
||||||
|
94,0.7973760932944607,2.1316270566727606
|
||||||
|
95,0.6837606837606838,2.0208333333333335
|
||||||
|
96,0.806136680613668,2.0328719723183393
|
||||||
|
97,0.7951807228915663,1.9109848484848484
|
||||||
|
98,0.17391304347826086,3.0
|
||||||
|
99,0.5303867403314917,1.8854166666666667
|
||||||
|
100,0.6824925816023739,1.8956521739130434
|
||||||
|
BIN
experiments/No_Refresh_4_0s_ttl/lambda_distribution.pdf
Normal file
BIN
experiments/No_Refresh_4_0s_ttl/lambda_distribution.pdf
Normal file
Binary file not shown.
BIN
experiments/No_Refresh_4_0s_ttl/objects_in_cache_over_time.pdf
Normal file
BIN
experiments/No_Refresh_4_0s_ttl/objects_in_cache_over_time.pdf
Normal file
Binary file not shown.
9
experiments/No_Refresh_4_0s_ttl/overall_hit_age.csv
Normal file
9
experiments/No_Refresh_4_0s_ttl/overall_hit_age.csv
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
,hit_rate,avg_age
|
||||||
|
count,100.0,100.0
|
||||||
|
mean,0.6783420943812974,1.9802754170895376
|
||||||
|
std,0.18732473237217517,0.28636988978093675
|
||||||
|
min,0.0,0.0
|
||||||
|
25%,0.6501311584152445,1.9341530054644809
|
||||||
|
50%,0.7932827791156427,1.9989858012170385
|
||||||
|
75%,0.800949133741476,2.0662138619455694
|
||||||
|
max,0.8132611637347767,3.0
|
||||||
|
100
experiments/No_Refresh_5_0s_ttl/details.csv
Normal file
100
experiments/No_Refresh_5_0s_ttl/details.csv
Normal file
@@ -0,0 +1,100 @@
|
|||||||
|
,access_count,hits,misses,mu,lambda,hit_rate
|
||||||
|
1,664,550,114,0,1,58.49
|
||||||
|
2,212,124,88,0,3,83.21
|
||||||
|
3,673,560,113,0,1,84.11
|
||||||
|
4,711,598,113,0,1,72.17
|
||||||
|
5,345,249,96,0,2,82.43
|
||||||
|
6,649,535,114,0,1,50.36
|
||||||
|
7,137,69,68,0,5,83.41
|
||||||
|
8,681,568,113,0,1,83.74
|
||||||
|
9,689,577,112,0,1,82.91
|
||||||
|
10,667,553,114,0,1,71.34
|
||||||
|
11,328,234,94,0,2,83.67
|
||||||
|
12,692,579,113,0,1,83.46
|
||||||
|
13,683,570,113,0,1,83.48
|
||||||
|
14,696,581,115,0,1,70.64
|
||||||
|
15,344,243,101,0,2,71.78
|
||||||
|
16,326,234,92,0,2,83.45
|
||||||
|
17,689,575,114,0,1,83.65
|
||||||
|
18,691,578,113,0,1,62.56
|
||||||
|
19,219,137,82,0,3,84.29
|
||||||
|
20,732,617,115,0,1,84.44
|
||||||
|
21,739,624,115,0,1,83.31
|
||||||
|
22,683,569,114,0,1,83.13
|
||||||
|
23,670,557,113,0,1,71.3
|
||||||
|
24,331,236,95,0,2,83.84
|
||||||
|
25,724,607,117,0,1,83.38
|
||||||
|
26,692,577,115,0,1,83.69
|
||||||
|
27,705,590,115,0,1,48.18
|
||||||
|
28,137,66,71,0,5,83.04
|
||||||
|
29,672,558,114,0,1,83.43
|
||||||
|
30,694,579,115,0,1,83.23
|
||||||
|
31,674,561,113,0,1,51.39
|
||||||
|
32,144,74,70,0,4,83.13
|
||||||
|
33,670,557,113,0,1,48.94
|
||||||
|
34,141,69,72,0,4,83.0
|
||||||
|
35,659,547,112,0,1,83.36
|
||||||
|
36,691,576,115,0,1,84.67
|
||||||
|
37,737,624,113,0,1,62.56
|
||||||
|
38,219,137,82,0,3,41.0
|
||||||
|
39,100,41,59,0,8,83.61
|
||||||
|
40,714,597,117,0,1,55.98
|
||||||
|
41,184,103,81,0,4,57.14
|
||||||
|
42,161,92,69,0,4,73.76
|
||||||
|
43,362,267,95,0,2,83.91
|
||||||
|
44,696,584,112,0,1,82.46
|
||||||
|
45,627,517,110,0,1,82.72
|
||||||
|
46,648,536,112,0,1,30.19
|
||||||
|
47,53,16,37,0,10,83.14
|
||||||
|
48,676,562,114,0,1,82.29
|
||||||
|
49,638,525,113,0,1,83.06
|
||||||
|
50,673,559,114,0,1,49.22
|
||||||
|
51,128,63,65,0,5,34.12
|
||||||
|
52,85,29,56,0,9,84.34
|
||||||
|
53,747,630,117,0,1,83.86
|
||||||
|
54,700,587,113,0,1,83.41
|
||||||
|
55,687,573,114,0,1,83.75
|
||||||
|
56,720,603,117,0,1,83.33
|
||||||
|
57,690,575,115,0,1,17.5
|
||||||
|
58,40,7,33,0,17,70.13
|
||||||
|
59,318,223,95,0,2,82.94
|
||||||
|
60,674,559,115,0,1,21.74
|
||||||
|
61,23,5,18,0,26,83.84
|
||||||
|
62,724,607,117,0,1,82.17
|
||||||
|
63,628,516,112,0,1,71.59
|
||||||
|
64,345,247,98,0,2,83.11
|
||||||
|
65,681,566,115,0,1,31.51
|
||||||
|
66,73,23,50,0,10,83.1
|
||||||
|
67,651,541,110,0,1,0.0
|
||||||
|
68,10,0,10,0,69,82.55
|
||||||
|
69,636,525,111,0,1,82.62
|
||||||
|
70,656,542,114,0,1,73.12
|
||||||
|
71,372,272,100,0,2,83.48
|
||||||
|
72,678,566,112,0,1,82.13
|
||||||
|
73,638,524,114,0,1,82.92
|
||||||
|
74,685,568,117,0,1,57.71
|
||||||
|
75,201,116,85,0,3,72.67
|
||||||
|
76,344,250,94,0,2,72.17
|
||||||
|
77,345,249,96,0,2,64.75
|
||||||
|
78,261,169,92,0,3,19.15
|
||||||
|
79,47,9,38,0,15,83.48
|
||||||
|
80,660,551,109,0,1,82.18
|
||||||
|
81,634,521,113,0,1,51.09
|
||||||
|
82,137,70,67,0,5,69.58
|
||||||
|
83,309,215,94,0,2,83.53
|
||||||
|
84,686,573,113,0,1,82.84
|
||||||
|
85,682,565,117,0,1,71.12
|
||||||
|
86,322,229,93,0,2,83.28
|
||||||
|
87,676,563,113,0,1,68.62
|
||||||
|
88,325,223,102,0,2,83.16
|
||||||
|
89,689,573,116,0,1,83.31
|
||||||
|
90,695,579,116,0,1,73.15
|
||||||
|
91,324,237,87,0,2,72.11
|
||||||
|
92,337,243,94,0,2,63.51
|
||||||
|
93,222,141,81,0,3,83.09
|
||||||
|
94,686,570,116,0,1,71.79
|
||||||
|
95,351,252,99,0,2,84.66
|
||||||
|
96,717,607,110,0,1,83.28
|
||||||
|
97,664,553,111,0,1,21.74
|
||||||
|
98,23,5,18,0,37,56.91
|
||||||
|
99,181,103,78,0,4,70.62
|
||||||
|
101
experiments/No_Refresh_5_0s_ttl/hit_age.csv
Normal file
101
experiments/No_Refresh_5_0s_ttl/hit_age.csv
Normal file
@@ -0,0 +1,101 @@
|
|||||||
|
obj_id,hit_rate,avg_age
|
||||||
|
1,0.8283132530120482,2.596363636363636
|
||||||
|
2,0.5849056603773585,2.524193548387097
|
||||||
|
3,0.8320950965824666,2.405357142857143
|
||||||
|
4,0.8410689170182841,2.4013377926421406
|
||||||
|
5,0.7217391304347827,2.4698795180722892
|
||||||
|
6,0.8243451463790447,2.3906542056074764
|
||||||
|
7,0.5036496350364964,2.739130434782609
|
||||||
|
8,0.8340675477239354,2.433098591549296
|
||||||
|
9,0.8374455732946299,2.5095320623916813
|
||||||
|
10,0.8290854572713643,2.5750452079566
|
||||||
|
11,0.7134146341463414,2.4188034188034186
|
||||||
|
12,0.8367052023121387,2.5250431778929188
|
||||||
|
13,0.8345534407027818,2.5526315789473686
|
||||||
|
14,0.8347701149425287,2.495697074010327
|
||||||
|
15,0.7063953488372093,2.522633744855967
|
||||||
|
16,0.7177914110429447,2.7777777777777777
|
||||||
|
17,0.8345428156748912,2.4991304347826087
|
||||||
|
18,0.8364688856729378,2.48961937716263
|
||||||
|
19,0.6255707762557078,2.562043795620438
|
||||||
|
20,0.842896174863388,2.521880064829822
|
||||||
|
21,0.8443843031123139,2.4759615384615383
|
||||||
|
22,0.8330893118594437,2.4938488576449913
|
||||||
|
23,0.8313432835820895,2.466786355475763
|
||||||
|
24,0.7129909365558912,2.5466101694915255
|
||||||
|
25,0.8383977900552486,2.3789126853377267
|
||||||
|
26,0.8338150289017341,2.5753899480069324
|
||||||
|
27,0.8368794326241135,2.422033898305085
|
||||||
|
28,0.48175182481751827,2.5757575757575757
|
||||||
|
29,0.8303571428571429,2.4408602150537635
|
||||||
|
30,0.8342939481268011,2.597582037996546
|
||||||
|
31,0.8323442136498517,2.443850267379679
|
||||||
|
32,0.5138888888888888,2.554054054054054
|
||||||
|
33,0.8313432835820895,2.443447037701975
|
||||||
|
34,0.48936170212765956,2.6231884057971016
|
||||||
|
35,0.8300455235204856,2.409506398537477
|
||||||
|
36,0.8335745296671491,2.4444444444444446
|
||||||
|
37,0.8466757123473542,2.3846153846153846
|
||||||
|
38,0.6255707762557078,2.81021897810219
|
||||||
|
39,0.41,2.5121951219512195
|
||||||
|
40,0.8361344537815126,2.5008375209380236
|
||||||
|
41,0.5597826086956522,2.5728155339805827
|
||||||
|
42,0.5714285714285714,2.6847826086956523
|
||||||
|
43,0.7375690607734806,2.397003745318352
|
||||||
|
44,0.8390804597701149,2.4914383561643834
|
||||||
|
45,0.8245614035087719,2.4545454545454546
|
||||||
|
46,0.8271604938271605,2.5167910447761193
|
||||||
|
47,0.3018867924528302,2.9375
|
||||||
|
48,0.8313609467455622,2.597864768683274
|
||||||
|
49,0.822884012539185,2.5238095238095237
|
||||||
|
50,0.8306092124814265,2.4991055456171734
|
||||||
|
51,0.4921875,2.3492063492063493
|
||||||
|
52,0.3411764705882353,2.1724137931034484
|
||||||
|
53,0.8433734939759037,2.5365079365079364
|
||||||
|
54,0.8385714285714285,2.5792163543441227
|
||||||
|
55,0.834061135371179,2.4223385689354275
|
||||||
|
56,0.8375,2.527363184079602
|
||||||
|
57,0.8333333333333334,2.3756521739130436
|
||||||
|
58,0.175,3.0
|
||||||
|
59,0.7012578616352201,2.506726457399103
|
||||||
|
60,0.8293768545994066,2.4686940966010735
|
||||||
|
61,0.21739130434782608,0.6
|
||||||
|
62,0.8383977900552486,2.6227347611202636
|
||||||
|
63,0.821656050955414,2.4108527131782944
|
||||||
|
64,0.7159420289855073,2.42914979757085
|
||||||
|
65,0.8311306901615272,2.57773851590106
|
||||||
|
66,0.3150684931506849,2.782608695652174
|
||||||
|
67,0.8310291858678955,2.478743068391867
|
||||||
|
68,0.0,0.0
|
||||||
|
69,0.8254716981132075,2.459047619047619
|
||||||
|
70,0.8262195121951219,2.559040590405904
|
||||||
|
71,0.7311827956989247,2.6544117647058822
|
||||||
|
72,0.8348082595870207,2.487632508833922
|
||||||
|
73,0.8213166144200627,2.427480916030534
|
||||||
|
74,0.8291970802919708,2.482394366197183
|
||||||
|
75,0.5771144278606966,2.7327586206896552
|
||||||
|
76,0.7267441860465116,2.576
|
||||||
|
77,0.7217391304347827,2.4859437751004014
|
||||||
|
78,0.6475095785440613,2.5562130177514795
|
||||||
|
79,0.19148936170212766,2.5555555555555554
|
||||||
|
80,0.8348484848484848,2.6515426497277677
|
||||||
|
81,0.8217665615141956,2.44721689059501
|
||||||
|
82,0.5109489051094891,2.557142857142857
|
||||||
|
83,0.6957928802588996,2.7209302325581395
|
||||||
|
84,0.8352769679300291,2.4694589877835953
|
||||||
|
85,0.8284457478005866,2.320353982300885
|
||||||
|
86,0.7111801242236024,2.6026200873362444
|
||||||
|
87,0.8328402366863905,2.644760213143872
|
||||||
|
88,0.6861538461538461,2.4260089686098656
|
||||||
|
89,0.8316400580551524,2.5095986038394416
|
||||||
|
90,0.8330935251798561,2.542314335060449
|
||||||
|
91,0.7314814814814815,2.261603375527426
|
||||||
|
92,0.7210682492581603,2.316872427983539
|
||||||
|
93,0.6351351351351351,2.5106382978723403
|
||||||
|
94,0.8309037900874635,2.507017543859649
|
||||||
|
95,0.717948717948718,2.373015873015873
|
||||||
|
96,0.8465829846582985,2.4365733113673804
|
||||||
|
97,0.8328313253012049,2.54249547920434
|
||||||
|
98,0.21739130434782608,3.4
|
||||||
|
99,0.569060773480663,2.320388349514563
|
||||||
|
100,0.7062314540059347,2.3529411764705883
|
||||||
|
BIN
experiments/No_Refresh_5_0s_ttl/lambda_distribution.pdf
Normal file
BIN
experiments/No_Refresh_5_0s_ttl/lambda_distribution.pdf
Normal file
Binary file not shown.
BIN
experiments/No_Refresh_5_0s_ttl/objects_in_cache_over_time.pdf
Normal file
BIN
experiments/No_Refresh_5_0s_ttl/objects_in_cache_over_time.pdf
Normal file
Binary file not shown.
9
experiments/No_Refresh_5_0s_ttl/overall_hit_age.csv
Normal file
9
experiments/No_Refresh_5_0s_ttl/overall_hit_age.csv
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
,hit_rate,avg_age
|
||||||
|
count,100.0,100.0
|
||||||
|
mean,0.7175225869007572,2.4791552890507336
|
||||||
|
std,0.1841955218651161,0.35131346514105605
|
||||||
|
min,0.0,0.0
|
||||||
|
25%,0.6933831217326363,2.4321113930546847
|
||||||
|
50%,0.8266900030111413,2.503781989168563
|
||||||
|
75%,0.8338765555190953,2.573372952474587
|
||||||
|
max,0.8466757123473542,3.4
|
||||||
|
15
experiments/README.md
Normal file
15
experiments/README.md
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
# Experiments: No Refresh with variable TTL
|
||||||
|
|
||||||
|
Explanation for files in each experiment:
|
||||||
|
|
||||||
|
- `details.csv`: Access Count, Hit, Miss, Mu, Lambda and Hit Rate for each object
|
||||||
|
- `hit_age.csv`: Shows hit rate/average age at time of request for each object.
|
||||||
|
- `lambda_distribution.pdf`: Lambda Distribution across all objects/discrete
|
||||||
|
values of the Zipf distribution
|
||||||
|
- `objects_in_cache_over_time.pdf`: Amount of cache entries at given time.
|
||||||
|
- `overall_hit_age.csv`: Cumulative description of `hit_age.csv`
|
||||||
|
|
||||||
|
Length of simulation doesn't change much since we're not touching the request
|
||||||
|
rate across the simulations.
|
||||||
|
Break condition for the simulation is when the each database object has been
|
||||||
|
requested at least `ACCESS_COUNT_LIMIT` (i.e. 10) times.
|
||||||
198
export.csv
198
export.csv
@@ -1,100 +1,100 @@
|
|||||||
,access_count,hits,misses,mu,lambda,hit_rate
|
,access_count,hits,misses,mu,lambda,hit_rate
|
||||||
1,338919,293278,45641,9.45073508577941,1,87.09
|
1,664,550,114,0,1,58.49
|
||||||
2,339569,295735,43834,8.14036449596436,1,87.19
|
2,212,124,88,0,3,83.21
|
||||||
3,339121,295683,43438,7.841130117448747,1,93.79
|
3,673,560,113,0,1,84.11
|
||||||
4,339726,318616,21110,2.2674748477937965,1,78.47
|
4,711,598,113,0,1,72.17
|
||||||
5,67728,53145,14583,1.9491614320948918,5,87.79
|
5,345,249,96,0,2,82.43
|
||||||
6,339470,298026,41444,6.571586635600101,1,77.43
|
6,649,535,114,0,1,50.36
|
||||||
7,170195,131783,38412,7.611334405003136,2,29.18
|
7,137,69,68,0,5,83.41
|
||||||
8,16126,4705,11421,4.4496294204831255,21,88.2
|
8,681,568,113,0,1,83.74
|
||||||
9,339776,299674,40102,5.998373656353862,1,87.76
|
9,689,577,112,0,1,82.91
|
||||||
10,339314,297783,41531,6.636819845113485,1,77.12
|
10,667,553,114,0,1,71.34
|
||||||
11,170006,131110,38896,8.045921601779977,2,92.35
|
11,328,234,94,0,2,83.67
|
||||||
12,338799,312870,25929,2.811627158825997,1,87.45
|
12,692,579,113,0,1,83.46
|
||||||
13,338380,295915,42465,7.143615488470383,1,95.62
|
13,683,570,113,0,1,83.48
|
||||||
14,339295,324424,14871,1.765483508758194,1,78.89
|
14,696,581,115,0,1,70.64
|
||||||
15,168900,133246,35654,5.959911292425263,2,41.86
|
15,344,243,101,0,2,71.78
|
||||||
16,37792,15821,21971,9.445879641550164,9,71.36
|
16,326,234,92,0,2,83.45
|
||||||
17,42276,30167,12109,1.835890334290284,8,73.65
|
17,689,575,114,0,1,83.65
|
||||||
18,113327,83461,29866,4.648600564543203,3,78.27
|
18,691,578,113,0,1,62.56
|
||||||
19,169939,133012,36927,6.632144547714242,2,96.59
|
19,219,137,82,0,3,84.29
|
||||||
20,339409,327834,11575,1.5219711334160873,1,86.89
|
20,732,617,115,0,1,84.44
|
||||||
21,339488,294970,44518,8.640804985015603,1,89.01
|
21,739,624,115,0,1,83.31
|
||||||
22,338488,301286,37202,4.948940599763346,1,93.0
|
22,683,569,114,0,1,83.13
|
||||||
23,339243,315511,23732,2.5215047387858385,1,93.5
|
23,670,557,113,0,1,71.3
|
||||||
24,338961,316939,22022,2.364507987541101,1,87.79
|
24,331,236,95,0,2,83.84
|
||||||
25,338323,297005,41318,6.599461843110775,1,78.51
|
25,724,607,117,0,1,83.38
|
||||||
26,169708,133242,36466,6.367528014392565,2,89.0
|
26,692,577,115,0,1,83.69
|
||||||
27,339195,301871,37324,5.003687539185309,1,86.83
|
27,705,590,115,0,1,48.18
|
||||||
28,338836,294227,44609,8.69089847442159,1,89.4
|
28,137,66,71,0,5,83.04
|
||||||
29,339057,303133,35924,4.636189613643649,1,79.99
|
29,672,558,114,0,1,83.43
|
||||||
30,169136,135290,33846,5.071027599242191,2,89.99
|
30,694,579,115,0,1,83.23
|
||||||
31,337940,304106,33834,4.08093995040424,1,23.8
|
31,674,561,113,0,1,51.39
|
||||||
32,13512,3216,10296,5.389385006998066,25,76.19
|
32,144,74,70,0,4,83.13
|
||||||
33,113049,86130,26919,3.6953335845304562,3,87.95
|
33,670,557,113,0,1,48.94
|
||||||
34,339556,298625,40931,6.455201262262219,1,88.24
|
34,141,69,72,0,4,83.0
|
||||||
35,339483,299569,39914,5.935488589201371,1,75.63
|
35,659,547,112,0,1,83.36
|
||||||
36,113404,85767,27637,3.880596047884128,3,89.06
|
36,691,576,115,0,1,84.67
|
||||||
37,339071,301962,37109,4.9810532504276015,1,68.83
|
37,737,624,113,0,1,62.56
|
||||||
38,37623,25897,11726,1.842940132793361,9,89.4
|
38,219,137,82,0,3,41.0
|
||||||
39,339457,303459,35998,4.646642146558106,1,90.35
|
39,100,41,59,0,8,83.61
|
||||||
40,338193,305568,32625,3.841385277835048,1,90.52
|
40,714,597,117,0,1,55.98
|
||||||
41,339194,307024,32170,3.755174466816314,1,62.3
|
41,184,103,81,0,4,57.14
|
||||||
42,67848,42269,25579,4.791783523908462,5,68.62
|
42,161,92,69,0,4,73.76
|
||||||
43,56919,39060,17859,2.5603665363948838,6,85.08
|
43,362,267,95,0,2,83.91
|
||||||
44,169214,143969,25245,2.9501977292188872,2,86.87
|
44,696,584,112,0,1,82.46
|
||||||
45,339975,295349,44626,8.660786623694852,1,92.94
|
45,627,517,110,0,1,82.72
|
||||||
46,339167,315235,23932,2.5477162793599124,1,86.54
|
46,648,536,112,0,1,30.19
|
||||||
47,339934,294192,45742,9.754540171481345,1,87.12
|
47,53,16,37,0,10,83.14
|
||||||
48,339091,295408,43683,7.997429679411413,1,90.35
|
48,676,562,114,0,1,82.29
|
||||||
49,339138,306397,32741,3.884597009502997,1,86.57
|
49,638,525,113,0,1,83.06
|
||||||
50,339966,294305,45661,9.586637018141543,1,88.32
|
50,673,559,114,0,1,49.22
|
||||||
51,84488,74624,9864,1.4658283776461758,4,97.73
|
51,128,63,65,0,5,34.12
|
||||||
52,339140,331438,7702,1.2656689838300985,1,92.44
|
52,85,29,56,0,9,84.34
|
||||||
53,339252,313600,25652,2.737252979299571,1,87.02
|
53,747,630,117,0,1,83.86
|
||||||
54,339109,295087,44022,8.251086295714982,1,94.48
|
54,700,587,113,0,1,83.41
|
||||||
55,339737,320982,18755,2.0610542552665496,1,87.81
|
55,687,573,114,0,1,83.75
|
||||||
56,170131,149390,20741,2.3501661595459855,2,18.76
|
56,720,603,117,0,1,83.33
|
||||||
57,12099,2270,9829,8.517893008102874,28,86.59
|
57,690,575,115,0,1,17.5
|
||||||
58,339603,294064,45539,9.51973718760753,1,79.07
|
58,40,7,33,0,17,70.13
|
||||||
59,169388,133936,35452,5.7533658385673965,2,73.65
|
59,318,223,95,0,2,82.94
|
||||||
60,112783,83061,29722,4.660963074614197,3,87.12
|
60,674,559,115,0,1,21.74
|
||||||
61,339803,296040,43763,8.03102930717676,1,77.07
|
61,23,5,18,0,26,83.84
|
||||||
62,169490,130630,38860,8.20890898481475,2,59.28
|
62,724,607,117,0,1,82.17
|
||||||
63,68277,40475,27802,6.460946859444955,5,87.65
|
63,628,516,112,0,1,71.59
|
||||||
64,340043,298043,42000,6.997089517135705,1,95.75
|
64,345,247,98,0,2,83.11
|
||||||
65,339335,324924,14411,1.7111982665882988,1,63.53
|
65,681,566,115,0,1,31.51
|
||||||
66,84598,53748,30850,7.195239628139434,4,87.83
|
66,73,23,50,0,10,83.1
|
||||||
67,337396,296343,41053,6.468823743568375,1,76.74
|
67,651,541,110,0,1,0.0
|
||||||
68,168813,129539,39274,8.584449622455724,2,76.87
|
68,10,0,10,0,69,82.55
|
||||||
69,168935,129852,39083,8.31382957264006,2,70.86
|
69,636,525,111,0,1,82.62
|
||||||
70,112790,79928,32862,6.32689728463079,3,27.82
|
70,656,542,114,0,1,73.12
|
||||||
71,18026,5015,13011,6.059882273135225,19,86.61
|
71,372,272,100,0,2,83.48
|
||||||
72,339602,294144,45458,9.326244637290127,1,89.2
|
72,678,566,112,0,1,82.13
|
||||||
73,337685,301201,36484,4.734530335572703,1,32.94
|
73,638,524,114,0,1,82.92
|
||||||
74,10000,3294,6706,2.0953399483975383,34,96.77
|
74,685,568,117,0,1,57.71
|
||||||
75,338999,328054,10945,1.4775733311410093,1,76.91
|
75,201,116,85,0,3,72.67
|
||||||
76,169928,130689,39239,8.406951084575,2,87.2
|
76,344,250,94,0,2,72.17
|
||||||
77,339808,296317,43491,7.860627209955007,1,91.27
|
77,345,249,96,0,2,64.75
|
||||||
78,340016,310335,29681,3.295575301583255,1,89.97
|
78,261,169,92,0,3,19.15
|
||||||
79,339322,305288,34034,4.1428568837538,1,61.61
|
79,47,9,38,0,15,83.48
|
||||||
80,85030,52384,32646,9.612329081824885,4,64.08
|
80,660,551,109,0,1,82.18
|
||||||
81,84888,54399,30489,6.8654731084167215,4,86.01
|
81,634,521,113,0,1,51.09
|
||||||
82,169804,146055,23749,2.7190649943185607,2,86.62
|
82,137,70,67,0,5,69.58
|
||||||
83,339457,294036,45421,9.374682516586324,1,79.3
|
83,309,215,94,0,2,83.53
|
||||||
84,169248,134215,35033,5.59505906586539,2,86.85
|
84,686,573,113,0,1,82.84
|
||||||
85,338584,294054,44530,8.791458898209017,1,88.42
|
85,682,565,117,0,1,71.12
|
||||||
86,338920,299662,39258,5.68526209949427,1,86.69
|
86,322,229,93,0,2,83.28
|
||||||
87,338880,293780,45100,9.141536447646898,1,73.22
|
87,676,563,113,0,1,68.62
|
||||||
88,112317,82242,30075,4.8033650741674165,3,89.16
|
88,325,223,102,0,2,83.16
|
||||||
89,169307,150951,18356,2.106599827358843,2,87.4
|
89,689,573,116,0,1,83.31
|
||||||
90,338997,296291,42706,7.364331823831616,1,86.62
|
90,695,579,116,0,1,73.15
|
||||||
91,339905,294417,45488,9.303831880532016,1,33.3
|
91,324,237,87,0,2,72.11
|
||||||
92,26197,8723,17474,9.509741988265437,13,87.41
|
92,337,243,94,0,2,63.51
|
||||||
93,112773,98573,14200,1.8012576813912844,3,49.96
|
93,222,141,81,0,3,83.09
|
||||||
94,48507,24233,24274,7.076409771949383,7,87.43
|
94,686,570,116,0,1,71.79
|
||||||
95,339988,297246,42742,7.388599144805513,1,88.05
|
95,351,252,99,0,2,84.66
|
||||||
96,338400,297960,40440,6.1158358642271375,1,85.57
|
96,717,607,110,0,1,83.28
|
||||||
97,168252,143969,24283,2.8133122321600794,2,87.44
|
97,664,553,111,0,1,21.74
|
||||||
98,338729,296200,42529,7.193050310873352,1,95.99
|
98,23,5,18,0,37,56.91
|
||||||
99,338235,324673,13562,1.6556673379589992,1,52.28
|
99,181,103,78,0,4,70.62
|
||||||
|
|||||||
|
BIN
graphs/objects_in_cache_over_time.pdf
Normal file
BIN
graphs/objects_in_cache_over_time.pdf
Normal file
Binary file not shown.
100
logs/export.csv
Normal file
100
logs/export.csv
Normal file
@@ -0,0 +1,100 @@
|
|||||||
|
,access_count,hits,misses,mu,lambda,hit_rate
|
||||||
|
1,1053,968,85,2.7571868901824006,1,68.51
|
||||||
|
2,362,248,114,7.502069037353548,3,90.93
|
||||||
|
3,1047,952,95,3.526951261967702,1,98.1
|
||||||
|
4,1107,1086,21,1.2188436978830846,1,78.25
|
||||||
|
5,538,421,117,6.80925066316451,2,92.7
|
||||||
|
6,1124,1042,82,2.5939961146634403,1,55.61
|
||||||
|
7,205,114,91,9.464127259176228,5,85.77
|
||||||
|
8,1075,922,153,9.585357193023286,1,86.16
|
||||||
|
9,1084,934,150,9.233779511984036,1,89.6
|
||||||
|
10,1106,991,115,4.331428302298999,1,95.9
|
||||||
|
11,536,514,22,1.1391095487598069,2,85.53
|
||||||
|
12,1009,863,146,9.354867063289529,1,88.57
|
||||||
|
13,1076,953,123,4.8536573348558285,1,86.6
|
||||||
|
14,1097,950,147,9.699893371393026,1,76.43
|
||||||
|
15,543,415,128,9.672579793803276,2,76.4
|
||||||
|
16,517,395,122,8.677085099206241,2,90.62
|
||||||
|
17,1087,985,102,3.6500400286262713,1,89.63
|
||||||
|
18,1090,977,113,4.465879557417328,1,72.41
|
||||||
|
19,377,273,104,8.660230043651712,3,90.34
|
||||||
|
20,1128,1019,109,3.852298046406499,1,93.49
|
||||||
|
21,1137,1063,74,2.5254347201748324,1,87.43
|
||||||
|
22,1042,911,131,6.0112113621251515,1,86.9
|
||||||
|
23,1137,988,149,9.425392967447028,1,77.88
|
||||||
|
24,547,426,121,7.264268170074757,2,88.12
|
||||||
|
25,1027,905,122,6.1305505308042845,1,95.64
|
||||||
|
26,1054,1008,46,1.8745884439369167,1,87.89
|
||||||
|
27,1140,1002,138,6.535065040292528,1,53.92
|
||||||
|
28,204,110,94,9.91048465093837,5,94.17
|
||||||
|
29,1080,1017,63,2.260756137128716,1,89.02
|
||||||
|
30,1138,1013,125,5.664966871273631,1,86.26
|
||||||
|
31,1048,904,144,8.8963576473516,1,64.55
|
||||||
|
32,268,173,95,7.66691755978784,4,86.83
|
||||||
|
33,1071,930,141,7.273141668957412,1,62.7
|
||||||
|
34,252,158,94,7.322356755883983,4,90.78
|
||||||
|
35,1085,985,100,4.2354203609777965,1,91.22
|
||||||
|
36,1059,966,93,3.64232659838044,1,87.16
|
||||||
|
37,1067,930,137,8.284250399306622,1,69.41
|
||||||
|
38,353,245,108,8.291020552112627,3,43.75
|
||||||
|
39,128,56,72,8.803650867220934,8,86.82
|
||||||
|
40,1077,935,142,9.219164973008242,1,65.84
|
||||||
|
41,281,185,96,5.60208158974844,4,63.97
|
||||||
|
42,247,158,89,5.513646652184796,4,78.62
|
||||||
|
43,594,467,127,8.184656610700976,2,88.03
|
||||||
|
44,1145,1008,137,6.849675376999887,1,88.24
|
||||||
|
45,1131,998,133,7.31770189531933,1,86.75
|
||||||
|
46,1087,943,144,8.16213402492491,1,46.15
|
||||||
|
47,130,60,70,9.010048076358096,10,90.53
|
||||||
|
48,1067,966,101,4.041956411663822,1,89.66
|
||||||
|
49,1102,988,114,4.380246573759496,1,95.39
|
||||||
|
50,1106,1055,51,1.845837458567821,1,57.4
|
||||||
|
51,223,128,95,6.204521268965566,5,89.08
|
||||||
|
52,119,106,13,1.3234804641706788,9,88.1
|
||||||
|
53,1101,970,131,5.190382163192141,1,87.69
|
||||||
|
54,1064,933,131,5.883801712368189,1,89.78
|
||||||
|
55,1067,958,109,3.5788712691545594,1,88.12
|
||||||
|
56,1094,964,130,6.317499345121097,1,97.01
|
||||||
|
57,1038,1007,31,1.2745022494514449,1,67.12
|
||||||
|
58,73,49,24,1.3361336987429298,17,77.12
|
||||||
|
59,555,428,127,8.403405045936925,2,89.38
|
||||||
|
60,1073,959,114,4.241715772701366,1,36.0
|
||||||
|
61,50,18,32,2.143544613866963,26,87.54
|
||||||
|
62,1027,899,128,5.700189340493239,1,86.95
|
||||||
|
63,1050,913,137,7.9299419778874976,1,85.48
|
||||||
|
64,544,465,79,2.9423892474715885,2,88.14
|
||||||
|
65,1071,944,127,6.606014282371002,1,73.28
|
||||||
|
66,116,85,31,1.768127184943912,10,96.89
|
||||||
|
67,1094,1060,34,1.4651354905174694,1,20.0
|
||||||
|
68,10,2,8,5.782191684113332,69,88.47
|
||||||
|
69,1110,982,128,5.865716094490959,1,87.52
|
||||||
|
70,1026,898,128,6.736869113483859,1,78.7
|
||||||
|
71,554,436,118,7.534822003503954,2,87.38
|
||||||
|
72,1125,983,142,9.782668715162812,1,88.33
|
||||||
|
73,1088,961,127,5.646703134710758,1,90.57
|
||||||
|
74,1082,980,102,3.9066082564712135,1,71.39
|
||||||
|
75,346,247,99,8.156675752918332,3,82.14
|
||||||
|
76,515,423,92,3.437490261358668,2,80.9
|
||||||
|
77,602,487,115,4.950742786350725,2,89.05
|
||||||
|
78,347,309,38,1.7061074320803935,3,69.09
|
||||||
|
79,55,38,17,1.2281566907391177,15,85.73
|
||||||
|
80,1093,937,156,9.663835732101326,1,85.45
|
||||||
|
81,1010,863,147,8.523821084609853,1,55.03
|
||||||
|
82,189,104,85,7.263767854843282,5,82.06
|
||||||
|
83,602,494,108,4.680576499728429,2,92.34
|
||||||
|
84,1044,964,80,2.559648880637612,1,93.88
|
||||||
|
85,1078,1012,66,2.4079333840397745,1,83.67
|
||||||
|
86,539,451,88,3.252186083481358,2,87.74
|
||||||
|
87,1028,902,126,5.943039982355084,1,77.05
|
||||||
|
88,549,423,126,7.431363304300561,2,87.84
|
||||||
|
89,1069,939,130,6.941776390459581,1,91.73
|
||||||
|
90,1113,1021,92,3.5194050725134858,1,76.14
|
||||||
|
91,528,402,126,9.593787525968747,2,76.1
|
||||||
|
92,544,414,130,7.641072250261916,2,70.49
|
||||||
|
93,349,246,103,5.989186472602606,3,88.21
|
||||||
|
94,1077,950,127,6.5054867161091705,1,79.77
|
||||||
|
95,519,414,105,4.776400561850109,2,90.72
|
||||||
|
96,1035,939,96,3.229578905510417,1,90.06
|
||||||
|
97,1066,960,106,4.2037541078613545,1,27.59
|
||||||
|
98,29,8,21,7.820614994179322,37,92.96
|
||||||
|
99,270,251,19,1.1295413976678028,4,88.95
|
||||||
|
47
note.md
47
note.md
@@ -42,38 +42,45 @@ miss requests and cache updates should not go over the bandwidth
|
|||||||
|
|
||||||
### Two versions
|
### Two versions
|
||||||
|
|
||||||
1.
|
- [x] Default
|
||||||
|
|
||||||
- Do Refresh
|
- Do Refresh
|
||||||
- Do Request
|
- Do Request
|
||||||
|
|
||||||
2.
|
- [x] No Refresh
|
||||||
|
|
||||||
- Just Request
|
- Just Request
|
||||||
- No Refresh
|
- No Refresh
|
||||||
|
|
||||||
3.
|
- [x] Infinite TTL
|
||||||
|
|
||||||
- LRU
|
- LRU
|
||||||
- Infinite TTL
|
- Infinite TTL
|
||||||
- No Refresh
|
- No Refresh
|
||||||
|
|
||||||
4.
|
- [x] Random Eviction
|
||||||
|
|
||||||
- Random eviction
|
- Random eviction
|
||||||
- Regular TTL
|
- Regular TTL
|
||||||
- With Refresh
|
- With Refresh
|
||||||
|
|
||||||
5.
|
|
||||||
|
|
||||||
- Random eviction
|
|
||||||
- Regular TTL
|
|
||||||
- Without Refresh
|
|
||||||
|
|
||||||
|
- [x] Random Eviction w/o Refresh
|
||||||
|
- Random eviction
|
||||||
|
- Regular TTL
|
||||||
|
- No Refresh
|
||||||
|
|
||||||
|
| Name | Cache Capacity | MAX_REFRESH_RATE | cache_type | CACHE_TTL |
|
||||||
|
| -------------------- | -------------------- | ---------------- | ------------------------- | --------- |
|
||||||
|
| Default | DATABASE_OBJECTS | 1< | CacheType.LRU | 5 |
|
||||||
|
| No Refresh | DATABASE_OBJECTS | 0 | CacheType.LRU | 5 |
|
||||||
|
| Infinite TTL | DATABASE_OBJECTS / 2 | 0 | CacheType.LRU | 0 |
|
||||||
|
| Random Eviction (RE) | DATABASE_OBJECTS / 2 | 1< | CacheType.RANDOM_EVICTION | 5 |
|
||||||
|
| RE without Refresh | DATABASE_OBJECTS / 2 | 0 | CacheType.RANDOM_EVICTION | 5 |
|
||||||
|
|
||||||
### Runtime
|
### Runtime
|
||||||
|
|
||||||
CPU times: user 3min 46s, sys: 43 s, total: 4min 29s
|
CPU times: user 3min 46s, sys: 43 s, total: 4min 29s
|
||||||
Wall time: 4min 29s
|
Wall time: 4min 29s
|
||||||
for ACCESS_COUNT_LIMIT = 10_000 # Total time to run the simulation
|
for ACCESS_COUNT_LIMIT = 10_000 # Total time to run the simulation
|
||||||
|
|
||||||
|
## Notes 11/27/2024
|
||||||
|
|||||||
BIN
objects_in_cache_over_time.pdf
Normal file
BIN
objects_in_cache_over_time.pdf
Normal file
Binary file not shown.
Reference in New Issue
Block a user