refactor: Restructure Repository to add eta optimization
Signed-off-by: Tuan-Dat Tran <tuan-dat.tran@tudattr.dev>
This commit is contained in:
1
00_aoi_caching_simulation/.gitignore
vendored
Normal file
1
00_aoi_caching_simulation/.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.ipynb_checkpoints/
|
||||
441
00_aoi_caching_simulation/aoi_cache_experiment_eval.ipynb
Normal file
441
00_aoi_caching_simulation/aoi_cache_experiment_eval.ipynb
Normal file
File diff suppressed because one or more lines are too long
1093
00_aoi_caching_simulation/aoi_cache_simulation.ipynb
Normal file
1093
00_aoi_caching_simulation/aoi_cache_simulation.ipynb
Normal file
File diff suppressed because one or more lines are too long
306
00_aoi_caching_simulation/aoi_cache_simulation.py
Normal file
306
00_aoi_caching_simulation/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)
|
||||
@@ -0,0 +1,101 @@
|
||||
obj_id,access_count,hits,misses,mu,lambda,hit_rate,avg_age,expected_age,age_delta
|
||||
1,1060,347,713,0,1,0.3273584905660377,0.08679245283018867,0.053581790672837304,0.03321066215735137
|
||||
2,3141,1878,1263,0,3,0.5978987583572111,0.14804202483285578,0.17874146262254734,-0.030699437789691558
|
||||
3,1060,336,724,0,1,0.3169811320754717,0.09245283018867924,0.05023851904592381,0.04221431114275543
|
||||
4,1053,360,693,0,1,0.3418803418803419,0.08072174738841406,0.058441084082109726,0.022280663306304335
|
||||
5,2073,1033,1040,0,2,0.4983116256632899,0.1297636275928606,0.12415723813559539,0.005606389457265201
|
||||
6,1063,357,706,0,1,0.33584195672624645,0.07714016933207903,0.05639490994885699,0.020745259383222033
|
||||
7,5210,3700,1510,0,5,0.710172744721689,0.16756238003838772,0.25217266367276864,-0.08461028363438092
|
||||
8,1083,367,716,0,1,0.33887349953831947,0.08033240997229917,0.0574176243446737,0.022914785627625466
|
||||
9,1070,360,710,0,1,0.3364485981308411,0.07570093457943926,0.056598829592104105,0.019102104987335153
|
||||
10,1047,341,706,0,1,0.3256924546322827,0.08118433619866285,0.053037787502200756,0.02814654869646209
|
||||
11,2132,1070,1062,0,2,0.50187617260788,0.1299249530956848,0.12593984631576727,0.0039851067799175355
|
||||
12,1090,390,700,0,1,0.3577981651376147,0.0908256880733945,0.0640097634879219,0.026815924585472606
|
||||
13,1081,382,699,0,1,0.35337650323774283,0.09250693802035152,0.06243747652026724,0.030069461500084285
|
||||
14,1029,328,701,0,1,0.31875607385811466,0.08843537414965986,0.050802717310719926,0.03763265683893994
|
||||
15,2099,1040,1059,0,2,0.49547403525488326,0.12720343020485947,0.12274725980587865,0.004456170398980816
|
||||
16,2130,1100,1030,0,2,0.5164319248826291,0.12347417840375587,0.13335096651898876,-0.00987678811523289
|
||||
17,1073,375,698,0,1,0.3494874184529357,0.08294501397949673,0.06107072782844868,0.02187428615104805
|
||||
18,1051,352,699,0,1,0.33491912464319695,0.0960989533777355,0.056085410025882645,0.04001354335185285
|
||||
19,3035,1795,1240,0,3,0.5914332784184514,0.1456342668863262,0.17489666141039872,-0.029262394524072532
|
||||
20,1037,358,679,0,1,0.3452266152362584,0.09064609450337512,0.059590707933741806,0.03105538656963331
|
||||
21,1069,360,709,0,1,0.33676333021515437,0.07015902712815715,0.05670477028880055,0.013454256839356603
|
||||
22,1061,363,698,0,1,0.34213006597549483,0.09707822808671066,0.05852649102219822,0.03855173706451243
|
||||
23,1092,365,727,0,1,0.3342490842490842,0.08058608058608059,0.0558612251606757,0.02472485542540489
|
||||
24,2163,1112,1051,0,2,0.5141007859454462,0.12528895053166897,0.13214980905486273,-0.0068608585231937635
|
||||
25,1075,371,704,0,1,0.34511627906976744,0.08093023255813954,0.0595526230394808,0.02137760951865874
|
||||
26,1061,369,692,0,1,0.3477851083883129,0.08294062205466542,0.060477240808335275,0.02246338124633014
|
||||
27,1076,369,707,0,1,0.3429368029739777,0.08364312267657993,0.058802825417006405,0.024840297259573527
|
||||
28,5197,3680,1517,0,5,0.7081008274004233,0.169905714835482,0.2507033908825821,-0.08079767604710009
|
||||
29,1065,359,706,0,1,0.3370892018779343,0.07981220657276995,0.05681456501135137,0.022997641561418584
|
||||
30,1033,343,690,0,1,0.33204259438528555,0.08422071636011616,0.055126142243055634,0.029094574117060526
|
||||
31,1013,306,707,0,1,0.3020730503455084,0.07206317867719644,0.04562406387252003,0.026439114804676415
|
||||
32,4160,2742,1418,0,4,0.6591346153846154,0.1596153846153846,0.21722922059911243,-0.057613835983727824
|
||||
33,1072,353,719,0,1,0.3292910447761194,0.08675373134328358,0.05421629608487415,0.032537435258409436
|
||||
34,4331,2901,1430,0,4,0.6698222119602864,0.17293927499422765,0.2243308978176854,-0.051391622823457744
|
||||
35,1046,334,712,0,1,0.3193116634799235,0.07934990439770555,0.05097996921715796,0.02836993518054759
|
||||
36,1050,348,702,0,1,0.3314285714285714,0.08761904761904762,0.05492244897959183,0.032696598639455794
|
||||
37,1120,393,727,0,1,0.3508928571428571,0.09642857142857143,0.06156289859693877,0.034865672831632666
|
||||
38,3135,1867,1268,0,3,0.5955342902711324,0.1448165869218501,0.17733054544437066,-0.032513958522520564
|
||||
39,8478,6794,1684,0,8,0.8013682472281198,0.19992922859164897,0.3210955338327345,-0.12116630524108551
|
||||
40,1031,345,686,0,1,0.33462657613967023,0.07953443258971872,0.05598747272947926,0.023546959860239462
|
||||
41,4223,2808,1415,0,4,0.6649301444470755,0.14965664219748995,0.22106604849720438,-0.07140940629971443
|
||||
42,4290,2887,1403,0,4,0.6729603729603729,0.1606060606060606,0.2264378317874821,-0.0658317711814215
|
||||
43,2029,1024,1005,0,2,0.5046821094135042,0.12222769837358305,0.1273520157810321,-0.005124317407449064
|
||||
44,1059,357,702,0,1,0.3371104815864023,0.07743153918791312,0.05682173839770804,0.020609800790205086
|
||||
45,1074,359,715,0,1,0.33426443202979517,0.07728119180633147,0.055866355260100774,0.0214148365462307
|
||||
46,1078,362,716,0,1,0.3358070500927644,0.07142857142857142,0.05638318744600219,0.015045383982569237
|
||||
47,10634,8863,1771,0,10,0.833458717321798,0.2097987586985142,0.3473267167398484,-0.1375279580413342
|
||||
48,1067,349,718,0,1,0.3270852858481724,0.07685098406747891,0.05349239210919033,0.02335859195828858
|
||||
49,1035,360,675,0,1,0.34782608695652173,0.08985507246376812,0.060491493383742906,0.02936357908002521
|
||||
50,1035,335,700,0,1,0.32367149758454106,0.08019323671497584,0.052381619174309786,0.027811617540666057
|
||||
51,5256,3753,1503,0,5,0.714041095890411,0.1767503805175038,0.25492734331018957,-0.07817696279268577
|
||||
52,9399,7660,1739,0,9,0.8149803170550058,0.2014044047239068,0.3320964585935389,-0.13069205386963212
|
||||
53,1080,358,722,0,1,0.3314814814814815,0.06666666666666667,0.05493998628257888,0.011726680384087786
|
||||
54,1075,366,709,0,1,0.3404651162790698,0.08930232558139535,0.057958247701460255,0.031344077879935095
|
||||
55,1007,309,698,0,1,0.30685203574975173,0.09930486593843098,0.04707908592188346,0.05222578001654752
|
||||
56,1031,332,699,0,1,0.32201745877788557,0.07856450048496605,0.051847621878883615,0.026716878606082434
|
||||
57,1101,368,733,0,1,0.33424159854677565,0.08537693006357856,0.05585872309955197,0.029518206964026593
|
||||
58,17979,16087,1892,0,17,0.8947661160242505,0.2267645586517604,0.40030320119256124,-0.17353864254080084
|
||||
59,2067,1009,1058,0,2,0.4881470730527334,0.11320754716981132,0.11914378246497533,-0.005936235295164002
|
||||
60,1118,385,733,0,1,0.3443649373881932,0.07692307692307693,0.0592936050511871,0.017629471871889825
|
||||
61,27500,25538,1962,0,26,0.9286545454545454,0.22876363636363636,0.4311996323966942,-0.2024359960330578
|
||||
62,1046,337,709,0,1,0.32217973231357555,0.06405353728489484,0.0518998899568236,0.01215364732807124
|
||||
63,1067,348,719,0,1,0.3261480787253983,0.10684161199625117,0.0531862846281343,0.053655327368116866
|
||||
64,2126,1052,1074,0,2,0.49482596425211667,0.13734713076199437,0.12242636744901852,0.014920763312975843
|
||||
65,1113,375,738,0,1,0.33692722371967654,0.06558849955076371,0.05675997704172448,0.008828522509039226
|
||||
66,10716,8952,1764,0,10,0.8353863381858903,0.20296752519596864,0.3489351670138153,-0.14596764181784663
|
||||
67,1093,362,731,0,1,0.3311985361390668,0.09881061299176579,0.05484623517033037,0.04396437782143542
|
||||
68,72910,70855,2055,0,69,0.9718145659031683,0.23700452612810313,0.47221177525078173,-0.2352072491226786
|
||||
69,1070,373,697,0,1,0.3485981308411215,0.10093457943925234,0.060760328412961834,0.040174251026290506
|
||||
70,1041,365,676,0,1,0.3506243996157541,0.08261287223823247,0.061468734802954006,0.02114413743527846
|
||||
71,2094,1029,1065,0,2,0.49140401146131807,0.12129894937917861,0.12073895124013762,0.000559998139040993
|
||||
72,1094,358,736,0,1,0.3272394881170018,0.08135283363802559,0.05354284129153869,0.0278099923464869
|
||||
73,1086,358,728,0,1,0.3296500920810313,0.072744014732965,0.05433459160451621,0.018409423128448794
|
||||
74,1128,389,739,0,1,0.3448581560283688,0.07801418439716312,0.05946357388964337,0.01855061050751975
|
||||
75,3074,1815,1259,0,3,0.5904359141184125,0.15517241379310345,0.17430728434042267,-0.019134870547319216
|
||||
76,2044,999,1045,0,2,0.48874755381604695,0.12426614481409001,0.11943708568058485,0.004829059133505162
|
||||
77,2144,1074,1070,0,2,0.5009328358208955,0.11333955223880597,0.12546685300178215,-0.012127300762976176
|
||||
78,3206,1937,1269,0,3,0.6041796631316282,0.14597629444791016,0.18251653267092385,-0.036540238223013694
|
||||
79,15808,13944,1864,0,15,0.882085020242915,0.20850202429149797,0.3890369914684719,-0.18053496717697395
|
||||
80,1045,353,692,0,1,0.33779904306220093,0.07272727272727272,0.05705409674686934,0.01567317598040338
|
||||
81,1027,344,683,0,1,0.3349561830574489,0.09737098344693282,0.05609782228420761,0.04127316116272521
|
||||
82,5309,3800,1509,0,5,0.7157656809191938,0.17799962328122057,0.2561602549908586,-0.07816063170963802
|
||||
83,2121,1053,1068,0,2,0.49646393210749645,0.12965582272512965,0.12323821794181843,0.006417604783311229
|
||||
84,1066,354,712,0,1,0.3320825515947467,0.09287054409005628,0.0551394105368388,0.03773113355321748
|
||||
85,1034,322,712,0,1,0.3114119922630561,0.0725338491295938,0.04848871446262286,0.024045134666970946
|
||||
86,2027,1005,1022,0,2,0.4958066107548101,0.11840157868771584,0.12291209763408588,-0.004510518946370043
|
||||
87,1106,381,725,0,1,0.3444846292947559,0.08589511754068715,0.059334829910172686,0.02656028763051447
|
||||
88,2056,997,1059,0,2,0.48492217898832685,0.13764591439688717,0.11757475983739345,0.020071154559493723
|
||||
89,1058,340,718,0,1,0.32136105860113423,0.08034026465028356,0.05163646499262081,0.028703799657662746
|
||||
90,1073,353,720,0,1,0.32898415657036345,0.06616961789375582,0.05411528763715671,0.012054330256599112
|
||||
91,2087,1024,1063,0,2,0.490656444657403,0.12697652132247245,0.12037187334192158,0.006604647980550868
|
||||
92,2048,1009,1039,0,2,0.49267578125,0.11279296875,0.12136471271514893,-0.008571743965148926
|
||||
93,3171,1908,1263,0,3,0.6017029328287606,0.15641753390097762,0.18102320968736602,-0.024605675786388392
|
||||
94,1000,308,692,0,1,0.308,0.072,0.047432,0.024567999999999993
|
||||
95,2119,1083,1036,0,2,0.511090136857008,0.11420481359131666,0.13060656399625759,-0.01640175040494092
|
||||
96,1026,353,673,0,1,0.34405458089668617,0.09064327485380116,0.05918677731799718,0.031456497535803984
|
||||
97,1015,323,692,0,1,0.31822660098522165,0.07980295566502463,0.05063408478730374,0.02916887087772089
|
||||
98,39278,37270,2008,0,37,0.9488772340750548,0.23626457558938846,0.4501840026729631,-0.21391942708357464
|
||||
99,4158,2768,1390,0,4,0.6657046657046657,0.17412217412217412,0.22158135097048035,-0.04745917684830622
|
||||
100,2084,1019,1065,0,2,0.48896353166986567,0.12092130518234165,0.11954266765153386,0.0013786375308077886
|
||||
|
@@ -0,0 +1,101 @@
|
||||
obj_id,hit_rate,avg_age,expected_age
|
||||
1,0.3273584905660377,0.08679245283018867,0.053581790672837304
|
||||
2,0.5978987583572111,0.14804202483285578,0.17874146262254734
|
||||
3,0.3169811320754717,0.09245283018867924,0.05023851904592381
|
||||
4,0.3418803418803419,0.08072174738841406,0.058441084082109726
|
||||
5,0.4983116256632899,0.1297636275928606,0.12415723813559539
|
||||
6,0.33584195672624645,0.07714016933207903,0.05639490994885699
|
||||
7,0.710172744721689,0.16756238003838772,0.25217266367276864
|
||||
8,0.33887349953831947,0.08033240997229917,0.0574176243446737
|
||||
9,0.3364485981308411,0.07570093457943926,0.056598829592104105
|
||||
10,0.3256924546322827,0.08118433619866285,0.053037787502200756
|
||||
11,0.50187617260788,0.1299249530956848,0.12593984631576727
|
||||
12,0.3577981651376147,0.0908256880733945,0.0640097634879219
|
||||
13,0.35337650323774283,0.09250693802035152,0.06243747652026724
|
||||
14,0.31875607385811466,0.08843537414965986,0.050802717310719926
|
||||
15,0.49547403525488326,0.12720343020485947,0.12274725980587865
|
||||
16,0.5164319248826291,0.12347417840375587,0.13335096651898876
|
||||
17,0.3494874184529357,0.08294501397949673,0.06107072782844868
|
||||
18,0.33491912464319695,0.0960989533777355,0.056085410025882645
|
||||
19,0.5914332784184514,0.1456342668863262,0.17489666141039872
|
||||
20,0.3452266152362584,0.09064609450337512,0.059590707933741806
|
||||
21,0.33676333021515437,0.07015902712815715,0.05670477028880055
|
||||
22,0.34213006597549483,0.09707822808671066,0.05852649102219822
|
||||
23,0.3342490842490842,0.08058608058608059,0.0558612251606757
|
||||
24,0.5141007859454462,0.12528895053166897,0.13214980905486273
|
||||
25,0.34511627906976744,0.08093023255813954,0.0595526230394808
|
||||
26,0.3477851083883129,0.08294062205466542,0.060477240808335275
|
||||
27,0.3429368029739777,0.08364312267657993,0.058802825417006405
|
||||
28,0.7081008274004233,0.169905714835482,0.2507033908825821
|
||||
29,0.3370892018779343,0.07981220657276995,0.05681456501135137
|
||||
30,0.33204259438528555,0.08422071636011616,0.055126142243055634
|
||||
31,0.3020730503455084,0.07206317867719644,0.04562406387252003
|
||||
32,0.6591346153846154,0.1596153846153846,0.21722922059911243
|
||||
33,0.3292910447761194,0.08675373134328358,0.05421629608487415
|
||||
34,0.6698222119602864,0.17293927499422765,0.2243308978176854
|
||||
35,0.3193116634799235,0.07934990439770555,0.05097996921715796
|
||||
36,0.3314285714285714,0.08761904761904762,0.05492244897959183
|
||||
37,0.3508928571428571,0.09642857142857143,0.06156289859693877
|
||||
38,0.5955342902711324,0.1448165869218501,0.17733054544437066
|
||||
39,0.8013682472281198,0.19992922859164897,0.3210955338327345
|
||||
40,0.33462657613967023,0.07953443258971872,0.05598747272947926
|
||||
41,0.6649301444470755,0.14965664219748995,0.22106604849720438
|
||||
42,0.6729603729603729,0.1606060606060606,0.2264378317874821
|
||||
43,0.5046821094135042,0.12222769837358305,0.1273520157810321
|
||||
44,0.3371104815864023,0.07743153918791312,0.05682173839770804
|
||||
45,0.33426443202979517,0.07728119180633147,0.055866355260100774
|
||||
46,0.3358070500927644,0.07142857142857142,0.05638318744600219
|
||||
47,0.833458717321798,0.2097987586985142,0.3473267167398484
|
||||
48,0.3270852858481724,0.07685098406747891,0.05349239210919033
|
||||
49,0.34782608695652173,0.08985507246376812,0.060491493383742906
|
||||
50,0.32367149758454106,0.08019323671497584,0.052381619174309786
|
||||
51,0.714041095890411,0.1767503805175038,0.25492734331018957
|
||||
52,0.8149803170550058,0.2014044047239068,0.3320964585935389
|
||||
53,0.3314814814814815,0.06666666666666667,0.05493998628257888
|
||||
54,0.3404651162790698,0.08930232558139535,0.057958247701460255
|
||||
55,0.30685203574975173,0.09930486593843098,0.04707908592188346
|
||||
56,0.32201745877788557,0.07856450048496605,0.051847621878883615
|
||||
57,0.33424159854677565,0.08537693006357856,0.05585872309955197
|
||||
58,0.8947661160242505,0.2267645586517604,0.40030320119256124
|
||||
59,0.4881470730527334,0.11320754716981132,0.11914378246497533
|
||||
60,0.3443649373881932,0.07692307692307693,0.0592936050511871
|
||||
61,0.9286545454545454,0.22876363636363636,0.4311996323966942
|
||||
62,0.32217973231357555,0.06405353728489484,0.0518998899568236
|
||||
63,0.3261480787253983,0.10684161199625117,0.0531862846281343
|
||||
64,0.49482596425211667,0.13734713076199437,0.12242636744901852
|
||||
65,0.33692722371967654,0.06558849955076371,0.05675997704172448
|
||||
66,0.8353863381858903,0.20296752519596864,0.3489351670138153
|
||||
67,0.3311985361390668,0.09881061299176579,0.05484623517033037
|
||||
68,0.9718145659031683,0.23700452612810313,0.47221177525078173
|
||||
69,0.3485981308411215,0.10093457943925234,0.060760328412961834
|
||||
70,0.3506243996157541,0.08261287223823247,0.061468734802954006
|
||||
71,0.49140401146131807,0.12129894937917861,0.12073895124013762
|
||||
72,0.3272394881170018,0.08135283363802559,0.05354284129153869
|
||||
73,0.3296500920810313,0.072744014732965,0.05433459160451621
|
||||
74,0.3448581560283688,0.07801418439716312,0.05946357388964337
|
||||
75,0.5904359141184125,0.15517241379310345,0.17430728434042267
|
||||
76,0.48874755381604695,0.12426614481409001,0.11943708568058485
|
||||
77,0.5009328358208955,0.11333955223880597,0.12546685300178215
|
||||
78,0.6041796631316282,0.14597629444791016,0.18251653267092385
|
||||
79,0.882085020242915,0.20850202429149797,0.3890369914684719
|
||||
80,0.33779904306220093,0.07272727272727272,0.05705409674686934
|
||||
81,0.3349561830574489,0.09737098344693282,0.05609782228420761
|
||||
82,0.7157656809191938,0.17799962328122057,0.2561602549908586
|
||||
83,0.49646393210749645,0.12965582272512965,0.12323821794181843
|
||||
84,0.3320825515947467,0.09287054409005628,0.0551394105368388
|
||||
85,0.3114119922630561,0.0725338491295938,0.04848871446262286
|
||||
86,0.4958066107548101,0.11840157868771584,0.12291209763408588
|
||||
87,0.3444846292947559,0.08589511754068715,0.059334829910172686
|
||||
88,0.48492217898832685,0.13764591439688717,0.11757475983739345
|
||||
89,0.32136105860113423,0.08034026465028356,0.05163646499262081
|
||||
90,0.32898415657036345,0.06616961789375582,0.05411528763715671
|
||||
91,0.490656444657403,0.12697652132247245,0.12037187334192158
|
||||
92,0.49267578125,0.11279296875,0.12136471271514893
|
||||
93,0.6017029328287606,0.15641753390097762,0.18102320968736602
|
||||
94,0.308,0.072,0.047432
|
||||
95,0.511090136857008,0.11420481359131666,0.13060656399625759
|
||||
96,0.34405458089668617,0.09064327485380116,0.05918677731799718
|
||||
97,0.31822660098522165,0.07980295566502463,0.05063408478730374
|
||||
98,0.9488772340750548,0.23626457558938846,0.4501840026729631
|
||||
99,0.6657046657046657,0.17412217412217412,0.22158135097048035
|
||||
100,0.48896353166986567,0.12092130518234165,0.11954266765153386
|
||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,9 @@
|
||||
,hit_rate,avg_age,expected_age
|
||||
count,100.0,100.0,100.0
|
||||
mean,0.45981069707251754,0.11391944713713928,0.12146997628380753
|
||||
std,0.1784163653354017,0.04442280017621094,0.10323302566896679
|
||||
min,0.3020730503455084,0.06405353728489484,0.04562406387252003
|
||||
25%,0.3337018368087684,0.08033830098078745,0.05567889495887368
|
||||
50%,0.34650586181228565,0.0944847487338959,0.06003397437103854
|
||||
75%,0.5146835706797419,0.13742182667071756,0.13245009842089422
|
||||
max,0.9718145659031683,0.23700452612810313,0.47221177525078173
|
||||
|
@@ -0,0 +1,101 @@
|
||||
obj_id,access_count,hits,misses,mu,lambda,hit_rate,avg_age,expected_age,age_delta
|
||||
1,8497,7552,945,0,8,0.8887842768035777,0.4606331646463458,0.39496874534662935,0.06566441929971645
|
||||
2,1059,533,526,0,1,0.5033050047214354,0.24834749763928235,0.12665796388882203,0.12168953375046032
|
||||
3,1114,579,535,0,1,0.5197486535008977,0.2585278276481149,0.13506933140799812,0.12345849624011676
|
||||
4,3208,2416,792,0,3,0.7531172069825436,0.38154613466334164,0.2835927637265937,0.09795337093674794
|
||||
5,1085,547,538,0,1,0.504147465437788,0.24792626728110598,0.1270823334536728,0.12084393382743316
|
||||
6,72758,71706,1052,0,68,0.9855411088814976,0.4781329888122268,0.48564563864768595,-0.007512649835459129
|
||||
7,5291,4397,894,0,5,0.831033831033831,0.4379134379134379,0.345308614161383,0.09260482375205492
|
||||
8,2045,1354,691,0,2,0.6621026894865526,0.3212713936430318,0.21918998571266315,0.10208140793036866
|
||||
9,1078,544,534,0,1,0.5046382189239332,0.23840445269016697,0.12732986599935978,0.11107458669080719
|
||||
10,1068,541,527,0,1,0.5065543071161048,0.25842696629213485,0.1282986330289385,0.13012833326319634
|
||||
11,1096,551,545,0,1,0.5027372262773723,0.2527372262773723,0.1263723593425329,0.12636486693483936
|
||||
12,6409,5485,924,0,6,0.8558277422374786,0.44874395381494775,0.36622056219165006,0.08252339162329769
|
||||
13,1052,528,524,0,1,0.5019011406844106,0.2461977186311787,0.12595237751015625,0.12024534112102245
|
||||
14,1047,521,526,0,1,0.4976122254059217,0.25501432664756446,0.12380896343671692,0.13120536321084753
|
||||
15,1067,534,533,0,1,0.5004686035613871,0.24461105904404873,0.12523441157534243,0.1193766474687063
|
||||
16,1004,488,516,0,1,0.4860557768924303,0.2300796812749004,0.11812510912525198,0.11195457214964841
|
||||
17,1034,511,523,0,1,0.4941972920696325,0.26305609284332687,0.12211548174447881,0.14094061109884806
|
||||
18,2189,1476,713,0,2,0.6742804933759707,0.33805390589310186,0.22732709187367126,0.1107268140194306
|
||||
19,1079,545,534,0,1,0.505097312326228,0.25301204819277107,0.12756164745958956,0.1254504007331815
|
||||
20,3251,2439,812,0,3,0.7502306982466933,0.3888034450938173,0.2814230502958605,0.1073803947979568
|
||||
21,1035,504,531,0,1,0.48695652173913045,0.24154589371980675,0.11856332703213611,0.12298256668767064
|
||||
22,106777,105720,1057,0,100,0.9901008644183672,0.4812178652706107,0.490149860860999,-0.008931995590388264
|
||||
23,1052,524,528,0,1,0.49809885931558934,0.2623574144486692,0.12405123682574563,0.13830617762292358
|
||||
24,1093,556,537,0,1,0.5086916742909423,0.25434583714547115,0.12938360974646107,0.12496222739901008
|
||||
25,1091,550,541,0,1,0.5041246562786434,0.24289642529789185,0.1270708345340302,0.11582559076386165
|
||||
26,2158,1444,714,0,2,0.6691380908248378,0.34615384615384615,0.22387289229635443,0.12228095385749171
|
||||
27,1115,570,545,0,1,0.5112107623318386,0.273542600896861,0.13066822176194978,0.14287437913491122
|
||||
28,1026,496,530,0,1,0.4834307992202729,0.23391812865497075,0.1168526688173759,0.11706545983759485
|
||||
29,1148,601,547,0,1,0.5235191637630662,0.25435540069686413,0.13703615741359004,0.11731924328327409
|
||||
30,1051,518,533,0,1,0.4928639391056137,0.2445290199809705,0.12145743123535105,0.12307158874561946
|
||||
31,4276,3424,852,0,4,0.8007483629560337,0.3931244153414406,0.3205989703883839,0.07252544495305668
|
||||
32,1082,549,533,0,1,0.5073937153419593,0.2587800369685767,0.12872419118425862,0.13005584578431809
|
||||
33,1047,520,527,0,1,0.49665711556829034,0.25501432664756446,0.12333414522230705,0.1316801814252574
|
||||
34,1070,542,528,0,1,0.5065420560747663,0.25794392523364484,0.12829242728622586,0.12965149794741898
|
||||
35,2102,1394,708,0,2,0.6631779257849667,0.33206470028544244,0.2199024806242254,0.11216221966121703
|
||||
36,3123,2337,786,0,3,0.7483189241114313,0.3682356708293308,0.27999060609164506,0.08824506473768573
|
||||
37,1086,544,542,0,1,0.5009208103130756,0.2605893186003683,0.12546082910235412,0.1351284894980142
|
||||
38,16017,15016,1001,0,15,0.9375039021040145,0.4535181369794593,0.43945678323012677,0.014061353749332539
|
||||
39,14803,13809,994,0,14,0.9328514490306019,0.47882186043369585,0.43510591297924683,0.04371594745444901
|
||||
40,1097,551,546,0,1,0.5022789425706472,0.26071103008204194,0.12614206807494374,0.1345689620070982
|
||||
41,9511,8550,961,0,9,0.8989590999894859,0.43843970139838084,0.4040637317269532,0.03437596967142764
|
||||
42,2122,1407,715,0,2,0.6630537229029217,0.33176248821866167,0.21982011972771226,0.1119423684909494
|
||||
43,1032,512,520,0,1,0.49612403100775193,0.2315891472868217,0.1230695270716904,0.1085196202151313
|
||||
44,1072,530,542,0,1,0.4944029850746269,0.23507462686567165,0.12221715582535086,0.11285747104032079
|
||||
45,2067,1361,706,0,2,0.6584421867440735,0.3217223028543783,0.21677305664215868,0.10494924621221963
|
||||
46,4131,3282,849,0,4,0.794480755265069,0.3793270394577584,0.3155998352432772,0.06372720421448119
|
||||
47,1018,503,515,0,1,0.49410609037328096,0.2475442043222004,0.12207041427198445,0.12547379005021594
|
||||
48,2107,1400,707,0,2,0.6644518272425249,0.34219269102990035,0.2207481153629651,0.12144457566693526
|
||||
49,2089,1375,714,0,2,0.6582096696984203,0.32168501675442795,0.2166199846422518,0.10506503211217616
|
||||
50,3203,2404,799,0,3,0.7505463627848892,0.3999375585388698,0.2816599213448132,0.1182776371940566
|
||||
51,8539,7589,950,0,8,0.8887457547722216,0.43506265370652303,0.39493450831282295,0.040128145393700076
|
||||
52,1011,490,521,0,1,0.4846686449060336,0.24727992087042533,0.11745184767752545,0.12982807319289988
|
||||
53,2127,1426,701,0,2,0.6704278326281147,0.31969910672308416,0.22473673938121566,0.0949623673418685
|
||||
54,1117,580,537,0,1,0.5192479856759177,0.2739480752014324,0.13480923531424902,0.13913883988718337
|
||||
55,1018,494,524,0,1,0.48526522593320237,0.2593320235756385,0.11774116975000097,0.14159085382563752
|
||||
56,1031,498,533,0,1,0.4830261881668283,0.25897187196896215,0.11665714922748811,0.14231472274147405
|
||||
57,3214,2411,803,0,3,0.7501555693839452,0.3690105787181083,0.2813666891388755,0.08764388957923275
|
||||
58,2074,1369,705,0,2,0.6600771456123433,0.32690453230472516,0.21785091907986934,0.10905361322485582
|
||||
59,1093,557,536,0,1,0.5096065873741995,0.2808783165599268,0.12984943694758883,0.15102887961233796
|
||||
60,1110,568,542,0,1,0.5117117117117117,0.2702702702702703,0.13092443795146497,0.13934583231880532
|
||||
61,3122,2330,792,0,3,0.7463164638052531,0.35490070467648943,0.2784941320733888,0.07640657260310063
|
||||
62,1020,500,520,0,1,0.49019607843137253,0.2519607843137255,0.12014609765474817,0.13181468665897733
|
||||
63,1128,572,556,0,1,0.5070921985815603,0.26773049645390073,0.1285712489311403,0.13915924752276043
|
||||
64,1065,524,541,0,1,0.492018779342723,0.2300469483568075,0.12104123961295156,0.10900570874385594
|
||||
65,1090,557,533,0,1,0.5110091743119266,0.25871559633027524,0.1305651881154785,0.12815040821479676
|
||||
66,1050,522,528,0,1,0.49714285714285716,0.24666666666666667,0.12357551020408164,0.12309115646258503
|
||||
67,1036,520,516,0,1,0.5019305019305019,0.2528957528957529,0.1259671143841028,0.1269286385116501
|
||||
68,1109,569,540,0,1,0.5130748422001803,0.27051397655545534,0.13162289684936995,0.13889107970608539
|
||||
69,2172,1451,721,0,2,0.66804788213628,0.3287292817679558,0.2231439864133845,0.10558529535457128
|
||||
70,1056,521,535,0,1,0.4933712121212121,0.2547348484848485,0.12170757647497703,0.13302727200987147
|
||||
71,2040,1334,706,0,2,0.653921568627451,0.3137254901960784,0.21380670895809303,0.0999187812379854
|
||||
72,3181,2376,805,0,3,0.7469349261238605,0.37346746306193024,0.27895589193182846,0.09451157113010178
|
||||
73,4293,3429,864,0,4,0.7987421383647799,0.3908688562776613,0.3189945017997706,0.0718743544778907
|
||||
74,1058,526,532,0,1,0.497164461247637,0.2637051039697543,0.1235862507638266,0.14011885320592768
|
||||
75,3147,2356,791,0,3,0.7486495074674293,0.3708293612964728,0.28023804251561224,0.09059131878086057
|
||||
76,1000,483,517,0,1,0.483,0.259,0.1166445,0.14235550000000002
|
||||
77,1089,549,540,0,1,0.5041322314049587,0.2433425160697888,0.1270746533706714,0.1162678626991174
|
||||
78,82735,81681,1054,0,78,0.9872605306097783,0.48756874357889646,0.48734167764995046,0.00022706592894600197
|
||||
79,1065,539,526,0,1,0.5061032863849765,0.2403755868544601,0.12807026824483675,0.11230531860962334
|
||||
80,3172,2376,796,0,3,0.7490542244640606,0.38871374527112235,0.28054111559372763,0.10817262967739472
|
||||
81,1089,541,548,0,1,0.4967860422405877,0.2460973370064279,0.1233981858825335,0.12269915112389441
|
||||
82,2086,1388,698,0,2,0.6653883029721956,0.32358581016299137,0.22137079686610922,0.10221501329688215
|
||||
83,1132,598,534,0,1,0.5282685512367491,0.2570671378091873,0.1395338311128869,0.11753330669630038
|
||||
84,1097,550,547,0,1,0.5013673655423884,0.2515952597994531,0.12568461761545743,0.12591064218399564
|
||||
85,27763,26736,1027,0,26,0.9630083204264669,0.4707704498793358,0.46369251260530236,0.007077937274033441
|
||||
86,1093,549,544,0,1,0.5022872827081427,0.23787740164684354,0.12614625718516484,0.1117311444616787
|
||||
87,1072,551,521,0,1,0.5139925373134329,0.25,0.13209416420695033,0.11790583579304967
|
||||
88,6527,5606,921,0,6,0.8588938256473112,0.42699555691741997,0.3688493018675369,0.05814625504988308
|
||||
89,1083,552,531,0,1,0.5096952908587258,0.25577100646352724,0.12989464476178053,0.1258763617017467
|
||||
90,1096,563,533,0,1,0.5136861313868614,0.2518248175182482,0.1319367207895999,0.11988809672864831
|
||||
91,1066,529,537,0,1,0.49624765478424016,0.2298311444652908,0.12313086743942919,0.1067002770258616
|
||||
92,1051,521,530,0,1,0.49571836346336823,0.263558515699334,0.12286834793740002,0.14069016776193394
|
||||
93,3116,2324,792,0,3,0.7458279845956355,0.3796534017971759,0.27812969130299375,0.10152371049418213
|
||||
94,1061,519,542,0,1,0.4891611687087653,0.25164938737040526,0.11963932448626258,0.1320100628841427
|
||||
95,1079,543,536,0,1,0.5032437442075997,0.2715477293790547,0.12662713304204198,0.1449205963370127
|
||||
96,1080,542,538,0,1,0.5018518518518519,0.25092592592592594,0.12592764060356654,0.1249982853223594
|
||||
97,1059,530,529,0,1,0.5004721435316336,0.23418319169027385,0.12523618322557403,0.10894700846469982
|
||||
98,1049,516,533,0,1,0.4918970448045758,0.25738798856053385,0.12098135134373743,0.1364066372167964
|
||||
99,2158,1438,720,0,2,0.6663577386468953,0.33086190917516217,0.222016317927302,0.10884559124786017
|
||||
100,4233,3382,851,0,4,0.7989605480746516,0.40184266477675407,0.3191689786898738,0.08267368608688025
|
||||
|
@@ -0,0 +1,101 @@
|
||||
obj_id,hit_rate,avg_age,expected_age
|
||||
1,0.8887842768035777,0.4606331646463458,0.39496874534662935
|
||||
2,0.5033050047214354,0.24834749763928235,0.12665796388882203
|
||||
3,0.5197486535008977,0.2585278276481149,0.13506933140799812
|
||||
4,0.7531172069825436,0.38154613466334164,0.2835927637265937
|
||||
5,0.504147465437788,0.24792626728110598,0.1270823334536728
|
||||
6,0.9855411088814976,0.4781329888122268,0.48564563864768595
|
||||
7,0.831033831033831,0.4379134379134379,0.345308614161383
|
||||
8,0.6621026894865526,0.3212713936430318,0.21918998571266315
|
||||
9,0.5046382189239332,0.23840445269016697,0.12732986599935978
|
||||
10,0.5065543071161048,0.25842696629213485,0.1282986330289385
|
||||
11,0.5027372262773723,0.2527372262773723,0.1263723593425329
|
||||
12,0.8558277422374786,0.44874395381494775,0.36622056219165006
|
||||
13,0.5019011406844106,0.2461977186311787,0.12595237751015625
|
||||
14,0.4976122254059217,0.25501432664756446,0.12380896343671692
|
||||
15,0.5004686035613871,0.24461105904404873,0.12523441157534243
|
||||
16,0.4860557768924303,0.2300796812749004,0.11812510912525198
|
||||
17,0.4941972920696325,0.26305609284332687,0.12211548174447881
|
||||
18,0.6742804933759707,0.33805390589310186,0.22732709187367126
|
||||
19,0.505097312326228,0.25301204819277107,0.12756164745958956
|
||||
20,0.7502306982466933,0.3888034450938173,0.2814230502958605
|
||||
21,0.48695652173913045,0.24154589371980675,0.11856332703213611
|
||||
22,0.9901008644183672,0.4812178652706107,0.490149860860999
|
||||
23,0.49809885931558934,0.2623574144486692,0.12405123682574563
|
||||
24,0.5086916742909423,0.25434583714547115,0.12938360974646107
|
||||
25,0.5041246562786434,0.24289642529789185,0.1270708345340302
|
||||
26,0.6691380908248378,0.34615384615384615,0.22387289229635443
|
||||
27,0.5112107623318386,0.273542600896861,0.13066822176194978
|
||||
28,0.4834307992202729,0.23391812865497075,0.1168526688173759
|
||||
29,0.5235191637630662,0.25435540069686413,0.13703615741359004
|
||||
30,0.4928639391056137,0.2445290199809705,0.12145743123535105
|
||||
31,0.8007483629560337,0.3931244153414406,0.3205989703883839
|
||||
32,0.5073937153419593,0.2587800369685767,0.12872419118425862
|
||||
33,0.49665711556829034,0.25501432664756446,0.12333414522230705
|
||||
34,0.5065420560747663,0.25794392523364484,0.12829242728622586
|
||||
35,0.6631779257849667,0.33206470028544244,0.2199024806242254
|
||||
36,0.7483189241114313,0.3682356708293308,0.27999060609164506
|
||||
37,0.5009208103130756,0.2605893186003683,0.12546082910235412
|
||||
38,0.9375039021040145,0.4535181369794593,0.43945678323012677
|
||||
39,0.9328514490306019,0.47882186043369585,0.43510591297924683
|
||||
40,0.5022789425706472,0.26071103008204194,0.12614206807494374
|
||||
41,0.8989590999894859,0.43843970139838084,0.4040637317269532
|
||||
42,0.6630537229029217,0.33176248821866167,0.21982011972771226
|
||||
43,0.49612403100775193,0.2315891472868217,0.1230695270716904
|
||||
44,0.4944029850746269,0.23507462686567165,0.12221715582535086
|
||||
45,0.6584421867440735,0.3217223028543783,0.21677305664215868
|
||||
46,0.794480755265069,0.3793270394577584,0.3155998352432772
|
||||
47,0.49410609037328096,0.2475442043222004,0.12207041427198445
|
||||
48,0.6644518272425249,0.34219269102990035,0.2207481153629651
|
||||
49,0.6582096696984203,0.32168501675442795,0.2166199846422518
|
||||
50,0.7505463627848892,0.3999375585388698,0.2816599213448132
|
||||
51,0.8887457547722216,0.43506265370652303,0.39493450831282295
|
||||
52,0.4846686449060336,0.24727992087042533,0.11745184767752545
|
||||
53,0.6704278326281147,0.31969910672308416,0.22473673938121566
|
||||
54,0.5192479856759177,0.2739480752014324,0.13480923531424902
|
||||
55,0.48526522593320237,0.2593320235756385,0.11774116975000097
|
||||
56,0.4830261881668283,0.25897187196896215,0.11665714922748811
|
||||
57,0.7501555693839452,0.3690105787181083,0.2813666891388755
|
||||
58,0.6600771456123433,0.32690453230472516,0.21785091907986934
|
||||
59,0.5096065873741995,0.2808783165599268,0.12984943694758883
|
||||
60,0.5117117117117117,0.2702702702702703,0.13092443795146497
|
||||
61,0.7463164638052531,0.35490070467648943,0.2784941320733888
|
||||
62,0.49019607843137253,0.2519607843137255,0.12014609765474817
|
||||
63,0.5070921985815603,0.26773049645390073,0.1285712489311403
|
||||
64,0.492018779342723,0.2300469483568075,0.12104123961295156
|
||||
65,0.5110091743119266,0.25871559633027524,0.1305651881154785
|
||||
66,0.49714285714285716,0.24666666666666667,0.12357551020408164
|
||||
67,0.5019305019305019,0.2528957528957529,0.1259671143841028
|
||||
68,0.5130748422001803,0.27051397655545534,0.13162289684936995
|
||||
69,0.66804788213628,0.3287292817679558,0.2231439864133845
|
||||
70,0.4933712121212121,0.2547348484848485,0.12170757647497703
|
||||
71,0.653921568627451,0.3137254901960784,0.21380670895809303
|
||||
72,0.7469349261238605,0.37346746306193024,0.27895589193182846
|
||||
73,0.7987421383647799,0.3908688562776613,0.3189945017997706
|
||||
74,0.497164461247637,0.2637051039697543,0.1235862507638266
|
||||
75,0.7486495074674293,0.3708293612964728,0.28023804251561224
|
||||
76,0.483,0.259,0.1166445
|
||||
77,0.5041322314049587,0.2433425160697888,0.1270746533706714
|
||||
78,0.9872605306097783,0.48756874357889646,0.48734167764995046
|
||||
79,0.5061032863849765,0.2403755868544601,0.12807026824483675
|
||||
80,0.7490542244640606,0.38871374527112235,0.28054111559372763
|
||||
81,0.4967860422405877,0.2460973370064279,0.1233981858825335
|
||||
82,0.6653883029721956,0.32358581016299137,0.22137079686610922
|
||||
83,0.5282685512367491,0.2570671378091873,0.1395338311128869
|
||||
84,0.5013673655423884,0.2515952597994531,0.12568461761545743
|
||||
85,0.9630083204264669,0.4707704498793358,0.46369251260530236
|
||||
86,0.5022872827081427,0.23787740164684354,0.12614625718516484
|
||||
87,0.5139925373134329,0.25,0.13209416420695033
|
||||
88,0.8588938256473112,0.42699555691741997,0.3688493018675369
|
||||
89,0.5096952908587258,0.25577100646352724,0.12989464476178053
|
||||
90,0.5136861313868614,0.2518248175182482,0.1319367207895999
|
||||
91,0.49624765478424016,0.2298311444652908,0.12313086743942919
|
||||
92,0.49571836346336823,0.263558515699334,0.12286834793740002
|
||||
93,0.7458279845956355,0.3796534017971759,0.27812969130299375
|
||||
94,0.4891611687087653,0.25164938737040526,0.11963932448626258
|
||||
95,0.5032437442075997,0.2715477293790547,0.12662713304204198
|
||||
96,0.5018518518518519,0.25092592592592594,0.12592764060356654
|
||||
97,0.5004721435316336,0.23418319169027385,0.12523618322557403
|
||||
98,0.4918970448045758,0.25738798856053385,0.12098135134373743
|
||||
99,0.6663577386468953,0.33086190917516217,0.222016317927302
|
||||
100,0.7989605480746516,0.40184266477675407,0.3191689786898738
|
||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,9 @@
|
||||
,hit_rate,avg_age,expected_age
|
||||
count,100.0,100.0,100.0
|
||||
mean,0.6106589394405821,0.30587256128357304,0.19778779049710413
|
||||
std,0.15132826274882488,0.0747023603322759,0.10470840495778753
|
||||
min,0.483,0.2298311444652908,0.1166445
|
||||
25%,0.4998761674999377,0.2516358554776672,0.12493861788794323
|
||||
50%,0.5103522325853262,0.26270675364599805,0.13022991643862952
|
||||
75%,0.7459501043980399,0.3582344462146998,0.27822080149559253
|
||||
max,0.9901008644183672,0.48756874357889646,0.490149860860999
|
||||
|
@@ -0,0 +1,101 @@
|
||||
obj_id,access_count,hits,misses,mu,lambda,hit_rate,avg_age,expected_age,age_delta
|
||||
1,34341,33813,528,0,32,0.9846247925220581,0.9879153198800268,0.48474299102455304,0.5031723288554737
|
||||
2,1078,716,362,0,1,0.6641929499072357,0.6781076066790352,0.22057613735323783,0.4575314693257974
|
||||
3,5386,4900,486,0,5,0.9097660601559598,0.8821017452655031,0.41383714210584877,0.46826460315965435
|
||||
4,15013,14494,519,0,14,0.9654299607007261,0.9555052288017052,0.46602750450930275,0.48947772429240244
|
||||
5,1042,689,353,0,1,0.6612284069097889,0.6180422264875239,0.21861150305222868,0.3994307234352953
|
||||
6,3175,2719,456,0,3,0.8563779527559056,0.8620472440944882,0.36669159898319803,0.49535564511129015
|
||||
7,1046,693,353,0,1,0.6625239005736138,0.6759082217973231,0.21946895941563782,0.4564392623816853
|
||||
8,2109,1679,430,0,2,0.7961119013750593,0.7652916073968705,0.3168970797555061,0.44839452764136445
|
||||
9,3328,2863,465,0,3,0.8602764423076923,0.8572716346153846,0.3700377785947901,0.4872338560205945
|
||||
10,1105,752,353,0,1,0.6805429864253394,0.6760180995475114,0.23156937818635984,0.44444872136115154
|
||||
11,2158,1730,428,0,2,0.8016682113067656,0.7873030583873958,0.3213359605098945,0.4659670978775013
|
||||
12,1069,708,361,0,1,0.6623012160898035,0.6557530402245089,0.2193214504170163,0.4364315898074925
|
||||
13,1076,713,363,0,1,0.662639405204461,0.6756505576208178,0.2195454906648609,0.45610506695595693
|
||||
14,1102,741,361,0,1,0.6724137931034483,0.6542649727767695,0.2260701545778835,0.42819481819888605
|
||||
15,1054,703,351,0,1,0.6669829222011385,0.6764705882352942,0.22243310925398502,0.45403747898130914
|
||||
16,1088,728,360,0,1,0.6691176470588235,0.6387867647058824,0.22385921280276813,0.41492755190311426
|
||||
17,1103,739,364,0,1,0.6699909338168631,0.6772438803263826,0.22444392569839614,0.4527999546279865
|
||||
18,1091,726,365,0,1,0.6654445462878094,0.6269477543538039,0.22140822209209424,0.4055395322617097
|
||||
19,1065,712,353,0,1,0.6685446009389672,0.6835680751173709,0.22347594172232144,0.4600921333950495
|
||||
20,1087,726,361,0,1,0.6678932842686293,0.6669733210671573,0.223040719585568,0.4439326014815893
|
||||
21,1060,698,362,0,1,0.6584905660377358,0.6679245283018868,0.21680491278034886,0.4511196155215379
|
||||
22,4199,3722,477,0,4,0.886401524172422,0.8994998809240295,0.3928538310275964,0.5066460498964331
|
||||
23,1096,735,361,0,1,0.6706204379562044,0.666058394160584,0.2248658859022857,0.44119250825829825
|
||||
24,1057,689,368,0,1,0.651844843897824,0.6811731315042573,0.2124508502580893,0.468722281246168
|
||||
25,1036,681,355,0,1,0.6573359073359073,0.6766409266409267,0.21604524753656026,0.4605956791043664
|
||||
26,4312,3833,479,0,4,0.8889146567717996,0.8919294990723562,0.3950846335118631,0.49684486556049307
|
||||
27,2200,1772,428,0,2,0.8054545454545454,0.7895454545454546,0.3243785123966942,0.46516694214876037
|
||||
28,1042,688,354,0,1,0.6602687140115163,0.6746641074856046,0.21797738735121078,0.4566867201343938
|
||||
29,1095,737,358,0,1,0.6730593607305936,0.6940639269406392,0.22650445153353765,0.4675594754071016
|
||||
30,2176,1742,434,0,2,0.8005514705882353,0.7886029411764706,0.32044132853049306,0.4681616126459775
|
||||
31,1000,654,346,0,1,0.654,0.63,0.21385800000000002,0.416142
|
||||
32,1069,706,363,0,1,0.6604303086997194,0.6950420954162769,0.21808409632460335,0.4769579990916736
|
||||
33,1075,705,370,0,1,0.6558139534883721,0.6827906976744186,0.21504597079502435,0.4677447268793942
|
||||
34,1119,752,367,0,1,0.6720285969615728,0.6586237712243074,0.22581121756707004,0.43281255365723736
|
||||
35,1129,763,366,0,1,0.6758193091231178,0.6634189548272807,0.22836586929182415,0.43505308553545663
|
||||
36,1057,700,357,0,1,0.6622516556291391,0.6357615894039735,0.21928862769176793,0.4164729617122056
|
||||
37,2166,1731,435,0,2,0.7991689750692521,0.8125577100646353,0.31933552535661947,0.4932221847080158
|
||||
38,1089,735,354,0,1,0.6749311294765841,0.657483930211203,0.22776601476826874,0.42971791544293425
|
||||
39,11957,11444,513,0,11,0.9570962616040813,0.9723174709375262,0.45801662698825407,0.5143008439492721
|
||||
40,2166,1732,434,0,2,0.7996306555863343,0.7488457987072945,0.31970459267671536,0.42914120603057915
|
||||
41,1084,725,359,0,1,0.6688191881918819,0.6595940959409594,0.22365955324682396,0.43593454269413545
|
||||
42,2131,1703,428,0,2,0.7991553261379634,0.8047864852182074,0.31932461764733727,0.4854618675708701
|
||||
43,1085,721,364,0,1,0.6645161290322581,0.6626728110599078,0.22079084287200834,0.4418819681878995
|
||||
44,24442,23916,526,0,23,0.9784796661484331,0.9847802962114394,0.47871122853297454,0.5060690676784648
|
||||
45,2086,1660,426,0,2,0.7957813998082455,0.7761265580057526,0.31663401814038533,0.45949253986536726
|
||||
46,1067,709,358,0,1,0.6644798500468604,0.669165885660731,0.22076673555914902,0.44839915010158193
|
||||
47,1073,722,351,0,1,0.6728797763280522,0.6551724137931034,0.22638359669564476,0.42878881709745864
|
||||
48,1058,690,368,0,1,0.6521739130434783,0.6351606805293005,0.21266540642722118,0.4224952741020793
|
||||
49,2162,1731,431,0,2,0.8006475485661425,0.803422756706753,0.3205182485124868,0.4829045081942662
|
||||
50,1033,682,351,0,1,0.6602129719264279,0.6427879961277831,0.21794058414996315,0.42484741197782
|
||||
51,1139,769,370,0,1,0.675153643546971,0.6935908691834943,0.22791622119737523,0.46567464798611913
|
||||
52,1061,707,354,0,1,0.6663524976437323,0.6833176248821866,0.22201282555802013,0.46130479932416646
|
||||
53,1094,739,355,0,1,0.6755027422303473,0.6983546617915904,0.22815197738035956,0.4702026844112309
|
||||
54,1091,737,354,0,1,0.6755270394133822,0.6727772685609532,0.22816839048930462,0.4446088780716486
|
||||
55,4245,3765,480,0,4,0.8869257950530035,0.8829210836277974,0.39331868296520117,0.48960240066259625
|
||||
56,2059,1635,424,0,2,0.7940747935891209,0.7931034482758621,0.3152773889068025,0.4778260593690596
|
||||
57,1114,759,355,0,1,0.6813285457809695,0.6651705565529623,0.2321042936480053,0.433066262904957
|
||||
58,1047,693,354,0,1,0.66189111747851,0.6838586437440306,0.2190499256984754,0.46480871804555524
|
||||
59,1031,682,349,0,1,0.6614936954413191,0.6576139670223085,0.2187869545543063,0.43882701246800215
|
||||
60,3272,2813,459,0,3,0.8597188264058679,0.8331295843520783,0.36955823023834145,0.46357135411373684
|
||||
61,1131,774,357,0,1,0.6843501326259946,0.695844385499558,0.23416755201260822,0.46167683348694977
|
||||
62,1087,733,354,0,1,0.6743330266789328,0.6614535418583257,0.22736251543498515,0.4340910264233406
|
||||
63,1057,693,364,0,1,0.6556291390728477,0.6281929990539262,0.21492478400070172,0.41326821505322453
|
||||
64,1140,777,363,0,1,0.6815789473684211,0.7096491228070175,0.23227493074792244,0.4773741920590951
|
||||
65,1073,710,363,0,1,0.6616961789375583,0.684995340167754,0.21892091661028257,0.4660744235574714
|
||||
66,1149,789,360,0,1,0.6866840731070496,0.6422976501305483,0.23576750812944391,0.4065301420011044
|
||||
67,4365,3885,480,0,4,0.8900343642611683,0.8923253150057274,0.39608058478289104,0.4962447302228364
|
||||
68,18168,17646,522,0,17,0.9712681638044914,0.9745706737120211,0.4716809230100742,0.502889750701947
|
||||
69,4226,3749,477,0,4,0.8871273071462376,0.8556554661618552,0.39349742954226746,0.4621580366195877
|
||||
70,1156,781,375,0,1,0.6756055363321799,0.6868512110726643,0.22822142036134624,0.4586297907113181
|
||||
71,2120,1693,427,0,2,0.7985849056603773,0.7768867924528302,0.3188689257742969,0.45801786667853334
|
||||
72,1090,728,362,0,1,0.6678899082568808,0.7018348623853211,0.2230384647756923,0.4787963976096288
|
||||
73,1078,712,366,0,1,0.660482374768089,0.6669758812615956,0.2181184836896472,0.44885739757194837
|
||||
74,1078,714,364,0,1,0.6623376623376623,0.7022263450834879,0.2193455894754596,0.48288075560802834
|
||||
75,1105,748,357,0,1,0.676923076923077,0.6950226244343891,0.229112426035503,0.46591019839888614
|
||||
76,1072,725,347,0,1,0.6763059701492538,0.6781716417910447,0.22869488262976165,0.44947675916128305
|
||||
77,7483,6981,502,0,7,0.9329146064412669,0.9204864359214219,0.4351648314557319,0.48532160446568995
|
||||
78,1068,706,362,0,1,0.6610486891385767,0.6657303370786517,0.21849268470591532,0.4472376523727364
|
||||
79,1091,731,360,0,1,0.6700274977085243,0.6324472960586618,0.2244684238427733,0.40797887221588847
|
||||
80,1164,803,361,0,1,0.6898625429553265,0.6872852233676976,0.2379551640863948,0.44933005928130276
|
||||
81,1020,659,361,0,1,0.6460784313725491,0.6568627450980392,0.2087086697424068,0.44815407535563245
|
||||
82,1084,716,368,0,1,0.6605166051660517,0.6392988929889298,0.21814109285004293,0.42115780013888693
|
||||
83,2147,1719,428,0,2,0.8006520726595249,0.8267349790405216,0.32052187072699656,0.5062131083135251
|
||||
84,1061,705,356,0,1,0.6644674835061263,0.6361922714420358,0.2207585183184821,0.41543375312355374
|
||||
85,1098,741,357,0,1,0.674863387978142,0.6757741347905283,0.22772029621666814,0.44805383857386016
|
||||
86,1082,727,355,0,1,0.6719038817005545,0.6811460258780037,0.22572741312213634,0.4554186127558673
|
||||
87,1099,735,364,0,1,0.6687898089171974,0.6696997270245678,0.22363990425575073,0.44605982276881706
|
||||
88,1049,685,364,0,1,0.6530028598665396,0.6539561487130601,0.21320636749693977,0.4407497812161203
|
||||
89,2139,1711,428,0,2,0.7999064983637214,0.7980364656381487,0.31992520306225514,0.47811126257589354
|
||||
90,1148,789,359,0,1,0.6872822299651568,0.662020905923345,0.2361784318129393,0.42584247411040566
|
||||
91,1118,755,363,0,1,0.6753130590339893,0.6699463327370304,0.22802386385092216,0.44192246888610826
|
||||
92,1088,723,365,0,1,0.6645220588235294,0.6773897058823529,0.22079478333153116,0.4565949225508218
|
||||
93,1137,770,367,0,1,0.6772207563764292,0.6693051890941073,0.22931397643353144,0.43999121266057584
|
||||
94,1064,702,362,0,1,0.6597744360902256,0.6663533834586466,0.21765115325908757,0.448702230199559
|
||||
95,213645,213109,536,0,199,0.9974911652507664,0.9526878700648271,0.4974943123766659,0.4551935576881612
|
||||
96,2160,1737,423,0,2,0.8041666666666667,0.7935185185185185,0.3233420138888889,0.4701765046296296
|
||||
97,2104,1674,430,0,2,0.7956273764258555,0.7842205323193916,0.31651146105914496,0.46770907126024663
|
||||
98,1085,727,358,0,1,0.6700460829493088,0.6700460829493088,0.22448087663785599,0.4455652063114528
|
||||
99,1112,755,357,0,1,0.6789568345323741,0.6924460431654677,0.2304911915791108,0.46195485158635685
|
||||
100,1059,692,367,0,1,0.6534466477809254,0.6553352219074599,0.2134962607480644,0.44183896115939547
|
||||
|
@@ -0,0 +1,101 @@
|
||||
obj_id,hit_rate,avg_age,expected_age
|
||||
1,0.9846247925220581,0.9879153198800268,0.48474299102455304
|
||||
2,0.6641929499072357,0.6781076066790352,0.22057613735323783
|
||||
3,0.9097660601559598,0.8821017452655031,0.41383714210584877
|
||||
4,0.9654299607007261,0.9555052288017052,0.46602750450930275
|
||||
5,0.6612284069097889,0.6180422264875239,0.21861150305222868
|
||||
6,0.8563779527559056,0.8620472440944882,0.36669159898319803
|
||||
7,0.6625239005736138,0.6759082217973231,0.21946895941563782
|
||||
8,0.7961119013750593,0.7652916073968705,0.3168970797555061
|
||||
9,0.8602764423076923,0.8572716346153846,0.3700377785947901
|
||||
10,0.6805429864253394,0.6760180995475114,0.23156937818635984
|
||||
11,0.8016682113067656,0.7873030583873958,0.3213359605098945
|
||||
12,0.6623012160898035,0.6557530402245089,0.2193214504170163
|
||||
13,0.662639405204461,0.6756505576208178,0.2195454906648609
|
||||
14,0.6724137931034483,0.6542649727767695,0.2260701545778835
|
||||
15,0.6669829222011385,0.6764705882352942,0.22243310925398502
|
||||
16,0.6691176470588235,0.6387867647058824,0.22385921280276813
|
||||
17,0.6699909338168631,0.6772438803263826,0.22444392569839614
|
||||
18,0.6654445462878094,0.6269477543538039,0.22140822209209424
|
||||
19,0.6685446009389672,0.6835680751173709,0.22347594172232144
|
||||
20,0.6678932842686293,0.6669733210671573,0.223040719585568
|
||||
21,0.6584905660377358,0.6679245283018868,0.21680491278034886
|
||||
22,0.886401524172422,0.8994998809240295,0.3928538310275964
|
||||
23,0.6706204379562044,0.666058394160584,0.2248658859022857
|
||||
24,0.651844843897824,0.6811731315042573,0.2124508502580893
|
||||
25,0.6573359073359073,0.6766409266409267,0.21604524753656026
|
||||
26,0.8889146567717996,0.8919294990723562,0.3950846335118631
|
||||
27,0.8054545454545454,0.7895454545454546,0.3243785123966942
|
||||
28,0.6602687140115163,0.6746641074856046,0.21797738735121078
|
||||
29,0.6730593607305936,0.6940639269406392,0.22650445153353765
|
||||
30,0.8005514705882353,0.7886029411764706,0.32044132853049306
|
||||
31,0.654,0.63,0.21385800000000002
|
||||
32,0.6604303086997194,0.6950420954162769,0.21808409632460335
|
||||
33,0.6558139534883721,0.6827906976744186,0.21504597079502435
|
||||
34,0.6720285969615728,0.6586237712243074,0.22581121756707004
|
||||
35,0.6758193091231178,0.6634189548272807,0.22836586929182415
|
||||
36,0.6622516556291391,0.6357615894039735,0.21928862769176793
|
||||
37,0.7991689750692521,0.8125577100646353,0.31933552535661947
|
||||
38,0.6749311294765841,0.657483930211203,0.22776601476826874
|
||||
39,0.9570962616040813,0.9723174709375262,0.45801662698825407
|
||||
40,0.7996306555863343,0.7488457987072945,0.31970459267671536
|
||||
41,0.6688191881918819,0.6595940959409594,0.22365955324682396
|
||||
42,0.7991553261379634,0.8047864852182074,0.31932461764733727
|
||||
43,0.6645161290322581,0.6626728110599078,0.22079084287200834
|
||||
44,0.9784796661484331,0.9847802962114394,0.47871122853297454
|
||||
45,0.7957813998082455,0.7761265580057526,0.31663401814038533
|
||||
46,0.6644798500468604,0.669165885660731,0.22076673555914902
|
||||
47,0.6728797763280522,0.6551724137931034,0.22638359669564476
|
||||
48,0.6521739130434783,0.6351606805293005,0.21266540642722118
|
||||
49,0.8006475485661425,0.803422756706753,0.3205182485124868
|
||||
50,0.6602129719264279,0.6427879961277831,0.21794058414996315
|
||||
51,0.675153643546971,0.6935908691834943,0.22791622119737523
|
||||
52,0.6663524976437323,0.6833176248821866,0.22201282555802013
|
||||
53,0.6755027422303473,0.6983546617915904,0.22815197738035956
|
||||
54,0.6755270394133822,0.6727772685609532,0.22816839048930462
|
||||
55,0.8869257950530035,0.8829210836277974,0.39331868296520117
|
||||
56,0.7940747935891209,0.7931034482758621,0.3152773889068025
|
||||
57,0.6813285457809695,0.6651705565529623,0.2321042936480053
|
||||
58,0.66189111747851,0.6838586437440306,0.2190499256984754
|
||||
59,0.6614936954413191,0.6576139670223085,0.2187869545543063
|
||||
60,0.8597188264058679,0.8331295843520783,0.36955823023834145
|
||||
61,0.6843501326259946,0.695844385499558,0.23416755201260822
|
||||
62,0.6743330266789328,0.6614535418583257,0.22736251543498515
|
||||
63,0.6556291390728477,0.6281929990539262,0.21492478400070172
|
||||
64,0.6815789473684211,0.7096491228070175,0.23227493074792244
|
||||
65,0.6616961789375583,0.684995340167754,0.21892091661028257
|
||||
66,0.6866840731070496,0.6422976501305483,0.23576750812944391
|
||||
67,0.8900343642611683,0.8923253150057274,0.39608058478289104
|
||||
68,0.9712681638044914,0.9745706737120211,0.4716809230100742
|
||||
69,0.8871273071462376,0.8556554661618552,0.39349742954226746
|
||||
70,0.6756055363321799,0.6868512110726643,0.22822142036134624
|
||||
71,0.7985849056603773,0.7768867924528302,0.3188689257742969
|
||||
72,0.6678899082568808,0.7018348623853211,0.2230384647756923
|
||||
73,0.660482374768089,0.6669758812615956,0.2181184836896472
|
||||
74,0.6623376623376623,0.7022263450834879,0.2193455894754596
|
||||
75,0.676923076923077,0.6950226244343891,0.229112426035503
|
||||
76,0.6763059701492538,0.6781716417910447,0.22869488262976165
|
||||
77,0.9329146064412669,0.9204864359214219,0.4351648314557319
|
||||
78,0.6610486891385767,0.6657303370786517,0.21849268470591532
|
||||
79,0.6700274977085243,0.6324472960586618,0.2244684238427733
|
||||
80,0.6898625429553265,0.6872852233676976,0.2379551640863948
|
||||
81,0.6460784313725491,0.6568627450980392,0.2087086697424068
|
||||
82,0.6605166051660517,0.6392988929889298,0.21814109285004293
|
||||
83,0.8006520726595249,0.8267349790405216,0.32052187072699656
|
||||
84,0.6644674835061263,0.6361922714420358,0.2207585183184821
|
||||
85,0.674863387978142,0.6757741347905283,0.22772029621666814
|
||||
86,0.6719038817005545,0.6811460258780037,0.22572741312213634
|
||||
87,0.6687898089171974,0.6696997270245678,0.22363990425575073
|
||||
88,0.6530028598665396,0.6539561487130601,0.21320636749693977
|
||||
89,0.7999064983637214,0.7980364656381487,0.31992520306225514
|
||||
90,0.6872822299651568,0.662020905923345,0.2361784318129393
|
||||
91,0.6753130590339893,0.6699463327370304,0.22802386385092216
|
||||
92,0.6645220588235294,0.6773897058823529,0.22079478333153116
|
||||
93,0.6772207563764292,0.6693051890941073,0.22931397643353144
|
||||
94,0.6597744360902256,0.6663533834586466,0.21765115325908757
|
||||
95,0.9974911652507664,0.9526878700648271,0.4974943123766659
|
||||
96,0.8041666666666667,0.7935185185185185,0.3233420138888889
|
||||
97,0.7956273764258555,0.7842205323193916,0.31651146105914496
|
||||
98,0.6700460829493088,0.6700460829493088,0.22448087663785599
|
||||
99,0.6789568345323741,0.6924460431654677,0.2304911915791108
|
||||
100,0.6534466477809254,0.6553352219074599,0.2134962607480644
|
||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,9 @@
|
||||
,hit_rate,avg_age,expected_age
|
||||
count,100.0,100.0,100.0
|
||||
mean,0.7277601169941756,0.725354977657859,0.26960103666887586
|
||||
std,0.09830526281613299,0.09672906827673554,0.07800437176172385
|
||||
min,0.6460784313725491,0.6180422264875239,0.2087086697424068
|
||||
25%,0.6626105290467492,0.6632324188854375,0.21952635785255514
|
||||
50%,0.6745982073285375,0.6796588338345242,0.22754140582582666
|
||||
75%,0.7991587383707855,0.7876280290846644,0.31932734457465783
|
||||
max,0.9974911652507664,0.9879153198800268,0.4974943123766659
|
||||
|
@@ -0,0 +1,101 @@
|
||||
obj_id,access_count,hits,misses,mu,lambda,hit_rate,avg_age,expected_age,age_delta
|
||||
1,3243,2919,324,0,3,0.9000925069380203,1.3200740055504163,0.4050832605229851,0.9149907450274313
|
||||
2,1114,842,272,0,1,0.755834829443447,1.1301615798922802,0.2856431446999023,0.8445184351923778
|
||||
3,1070,805,265,0,1,0.7523364485981309,1.1158878504672898,0.283005065944624,0.8328827845226658
|
||||
4,4305,3973,332,0,4,0.9228803716608595,1.3440185830429734,0.42585409019844306,0.9181644928445303
|
||||
5,1115,843,272,0,1,0.7560538116591928,1.105829596412556,0.2858086830621971,0.8200209133503589
|
||||
6,28028,27673,355,0,26,0.9873340944769516,1.4631796774653918,0.487414307058311,0.9757653704070808
|
||||
7,2159,1853,306,0,2,0.8582677165354331,1.2802223251505327,0.3683117366234733,0.9119105885270594
|
||||
8,1082,819,263,0,1,0.7569316081330869,1.156192236598891,0.2864727296954705,0.8697195069034205
|
||||
9,1081,805,276,0,1,0.7446808510638298,1.0555041628122108,0.2772747849705749,0.7782293778416359
|
||||
10,1095,832,263,0,1,0.7598173515981735,1.1461187214611872,0.28866120389483124,0.8574575175663559
|
||||
11,3252,2930,322,0,3,0.9009840098400984,1.3766912669126692,0.40588609299377126,0.9708051739188979
|
||||
12,4343,4012,331,0,4,0.9237854017959936,1.388671425282063,0.4266897342856926,0.9619816909963705
|
||||
13,1074,801,273,0,1,0.7458100558659218,1.1517690875232776,0.27811631971536466,0.8736527678079129
|
||||
14,2071,1767,304,0,2,0.8532110091743119,1.3109608884596813,0.3639845130881239,0.9469763753715574
|
||||
15,1088,819,269,0,1,0.7527573529411765,1.1865808823529411,0.2833218162035035,0.9032590661494376
|
||||
16,7567,7223,344,0,7,0.9545394476014273,1.4121844852649663,0.455572778513619,0.9566117067513473
|
||||
17,12012,11663,349,0,11,0.970945720945721,1.4805194805194806,0.4713677965114029,1.0091516840080776
|
||||
18,3250,2929,321,0,3,0.9012307692307693,1.361846153846154,0.40610844970414206,0.9557377041420119
|
||||
19,1085,812,273,0,1,0.7483870967741936,1.1216589861751152,0.2800416233090531,0.8416173628660621
|
||||
20,1061,795,266,0,1,0.7492931196983977,1.1225259189443921,0.2807200896136787,0.8418058293307134
|
||||
21,1036,771,265,0,1,0.7442084942084942,1.1447876447876448,0.2769231414260372,0.8678645033616077
|
||||
22,3152,2825,327,0,3,0.896256345177665,1.3480329949238579,0.40163771813561283,0.9463952767882451
|
||||
23,2119,1814,305,0,2,0.8560641812175555,1.315714959886739,0.3664229411818418,0.9492920187048972
|
||||
24,1040,771,269,0,1,0.7413461538461539,1.0913461538461537,0.27479705991124265,0.8165490939349112
|
||||
25,1078,807,271,0,1,0.74860853432282,1.1456400742115027,0.2802073688304804,0.8654327053810222
|
||||
26,58220,57862,358,0,54,0.9938509103400893,1.4793713500515286,0.49386981599191215,0.9855015340596165
|
||||
27,242887,242528,359,0,225,0.9985219464195284,1.4382531794620543,0.4985230387407218,0.9397301407213325
|
||||
28,1045,779,266,0,1,0.7454545454545455,1.1330143540669857,0.2778512396694215,0.8551631143975642
|
||||
29,1034,759,275,0,1,0.7340425531914894,1.1179883945841393,0.2694092349479402,0.8485791596361991
|
||||
30,1092,819,273,0,1,0.75,1.1007326007326008,0.28125,0.8194826007326008
|
||||
31,2118,1811,307,0,2,0.8550519357884797,1.2889518413597734,0.3655569064478132,0.9233949349119601
|
||||
32,1000,740,260,0,1,0.74,1.128,0.2738,0.8541999999999998
|
||||
33,8585,8240,345,0,8,0.9598136284216657,1.4399534071054165,0.4606211006519817,0.9793323064534348
|
||||
34,2217,1911,306,0,2,0.8619756427604871,1.298150654036987,0.37150100435617744,0.9266496496808094
|
||||
35,2169,1858,311,0,2,0.8566159520516367,1.2706316274781004,0.36689544465466595,0.9037361828234345
|
||||
36,2144,1837,307,0,2,0.8568097014925373,1.2630597014925373,0.36706143228586546,0.8959982692066719
|
||||
37,1097,821,276,0,1,0.7484047402005469,1.1330902461257977,0.2800548275773241,0.8530354185484736
|
||||
38,1090,813,277,0,1,0.7458715596330275,1.110091743119266,0.27816219173470247,0.8319295513845636
|
||||
39,1051,777,274,0,1,0.7392959086584205,1.076117982873454,0.2732792202795398,0.8028387625939142
|
||||
40,1060,792,268,0,1,0.7471698113207547,1.1226415094339623,0.27913136347454603,0.8435101459594163
|
||||
41,1119,844,275,0,1,0.7542448614834674,1.1438784629133154,0.28444265553710746,0.859435807376208
|
||||
42,1049,779,270,0,1,0.7426120114394662,1.0972354623450906,0.2757362997670849,0.8214991625780057
|
||||
43,1130,854,276,0,1,0.7557522123893805,1.14070796460177,0.28558070326572166,0.8551272613360483
|
||||
44,1131,866,265,0,1,0.7656940760389036,1.169761273209549,0.29314370904053516,0.8766175641690139
|
||||
45,5320,4981,339,0,5,0.9362781954887218,1.3855263157894737,0.4383084296738086,0.947217886115665
|
||||
46,1106,831,275,0,1,0.7513562386980108,1.1157323688969258,0.28226809871521114,0.8334642701817148
|
||||
47,5611,5272,339,0,5,0.9395829620388523,1.3671359828907503,0.44140807127685167,0.9257279116138987
|
||||
48,5314,4976,338,0,5,0.9363944298080542,1.4002634550244637,0.4384172640877755,0.9618461909366882
|
||||
49,19463,19110,353,0,18,0.981863022144582,1.4851256229769305,0.48202749712744597,1.0030981258494847
|
||||
50,5327,4991,336,0,5,0.9369250985545335,1.3974094236906327,0.4389143201507112,0.9584951035399215
|
||||
51,1134,864,270,0,1,0.7619047619047619,1.13668430335097,0.2902494331065759,0.846434870244394
|
||||
52,1151,876,275,0,1,0.7610773240660296,1.1685490877497828,0.2896193466037541,0.8789297411460287
|
||||
53,1148,876,272,0,1,0.7630662020905923,1.1724738675958188,0.2911350143864803,0.8813388532093385
|
||||
54,1073,801,272,0,1,0.7465051258154707,1.0987884436160298,0.2786349514343859,0.8201534921816439
|
||||
55,1087,816,271,0,1,0.7506899724011039,1.1352345906163754,0.2817677173317851,0.8534668732845904
|
||||
56,1011,748,263,0,1,0.7398615232443125,1.1612265084075173,0.2736975367886972,0.8875289716188202
|
||||
57,34310,33954,356,0,32,0.9896240163217721,1.4917516758962401,0.48967784684041754,1.0020738290558227
|
||||
58,1075,809,266,0,1,0.7525581395348837,1.1590697674418604,0.28317187669010274,0.8758978907517576
|
||||
59,1077,810,267,0,1,0.7520891364902507,1.1188486536675952,0.28281903461332547,0.8360296190542698
|
||||
60,4269,3938,331,0,4,0.9224642773483251,1.3799484656828298,0.4254701714918839,0.954478294190946
|
||||
61,1112,840,272,0,1,0.7553956834532374,1.0845323741007193,0.2853113192898918,0.7992210548108276
|
||||
62,1084,810,274,0,1,0.7472324723247232,1.1439114391143912,0.27917818384825915,0.864733255266132
|
||||
63,6354,6013,341,0,6,0.946333018570979,1.4186339313818068,0.4477730910188304,0.9708608403629764
|
||||
64,1046,781,265,0,1,0.7466539196940727,1.054493307839388,0.2787460378972614,0.7757472699421267
|
||||
65,4457,4127,330,0,4,0.925959165357864,1.3874803679605117,0.4287001879551161,0.9587801800053956
|
||||
66,1160,888,272,0,1,0.7655172413793103,1.1594827586206897,0.2930083234244946,0.866474435196195
|
||||
67,2106,1800,306,0,2,0.8547008547008547,1.2692307692307692,0.36525677551318575,0.9039739937175835
|
||||
68,1049,790,259,0,1,0.7530981887511916,1.1782650142993327,0.2835784409501627,0.89468657334917
|
||||
69,1105,837,268,0,1,0.7574660633484163,1.1402714932126696,0.2868774185622735,0.8533940746503961
|
||||
70,5405,5067,338,0,5,0.9374653098982424,1.3851988899167438,0.4394206036313038,0.94577828628544
|
||||
71,1073,802,271,0,1,0.7474370922646785,1.1295433364398881,0.2793311034465387,0.8502122329933495
|
||||
72,1050,783,267,0,1,0.7457142857142857,1.1361904761904762,0.27804489795918363,0.8581455782312926
|
||||
73,1075,805,270,0,1,0.7488372093023256,1.0465116279069768,0.28037858301784746,0.7661330448891294
|
||||
74,2225,1913,312,0,2,0.8597752808988764,1.2957303370786517,0.3696067668223709,0.9261235702562808
|
||||
75,1090,814,276,0,1,0.7467889908256881,1.1055045871559632,0.2788468984092248,0.8266576887467385
|
||||
76,1089,816,273,0,1,0.7493112947658402,1.0312213039485767,0.28073370823182997,0.7504875957167467
|
||||
77,1162,893,269,0,1,0.7685025817555938,1.1686746987951808,0.2952981090825066,0.8733765897126742
|
||||
78,1062,789,273,0,1,0.7429378531073446,1.128060263653484,0.27597832678987516,0.8520819368636088
|
||||
79,1084,812,272,0,1,0.7490774907749077,1.080258302583026,0.28055854359281596,0.79969975899021
|
||||
80,1079,812,267,0,1,0.752548656163114,1.118628359592215,0.28316473994645436,0.8354636196457608
|
||||
81,6563,6222,341,0,6,0.9480420539387475,1.4360810604906293,0.4493918680181995,0.9866891924724298
|
||||
82,2168,1860,308,0,2,0.8579335793357934,1.3044280442804428,0.36802501327596304,0.9364030310044797
|
||||
83,1112,843,269,0,1,0.7580935251798561,1.1573741007194245,0.28735289645981055,0.8700212042596139
|
||||
84,1071,796,275,0,1,0.7432306255835668,1.1727357609710551,0.27619588140267004,0.8965398795683851
|
||||
85,1048,786,262,0,1,0.75,1.133587786259542,0.28125,0.852337786259542
|
||||
86,6450,6109,341,0,6,0.9471317829457364,1.4203100775193798,0.4485293071329848,0.971780770386395
|
||||
87,1112,840,272,0,1,0.7553956834532374,1.1267985611510791,0.2853113192898918,0.8414872418611874
|
||||
88,1103,830,273,0,1,0.7524932003626473,1.0942883046237535,0.28312300829600967,0.8111652963277438
|
||||
89,1112,841,271,0,1,0.7562949640287769,1.143884892086331,0.2859910363076445,0.8578938557786864
|
||||
90,4311,3981,330,0,4,0.9234516353514266,1.3825098585015079,0.4263814614166121,0.9561283970848957
|
||||
91,2191,1885,306,0,2,0.8603377453217709,1.2765860337745323,0.3700905180126741,0.9064955157618582
|
||||
92,3237,2914,323,0,3,0.90021624961384,1.3710225517454433,0.4051946480344037,0.9658279037110395
|
||||
93,1055,791,264,0,1,0.7497630331753554,1.1601895734597156,0.28107230295815455,0.8791172705015611
|
||||
94,1047,776,271,0,1,0.7411652340019103,1.0983763132760267,0.27466295204655317,0.8237133612294736
|
||||
95,1090,821,269,0,1,0.7532110091743119,1.1394495412844037,0.2836634121706927,0.855786129113711
|
||||
96,1073,801,272,0,1,0.7465051258154707,1.1286113699906803,0.2786349514343859,0.8499764185562945
|
||||
97,2155,1848,307,0,2,0.8575406032482599,1.265429234338747,0.3676879431096947,0.8977412912290523
|
||||
98,2170,1860,310,0,2,0.8571428571428571,1.2792626728110599,0.36734693877551017,0.9119157340355497
|
||||
99,1086,819,267,0,1,0.7541436464088398,1.156537753222836,0.2843663197094106,0.8721714335134254
|
||||
100,4283,3951,332,0,4,0.9224842400186785,1.394349754844735,0.4254885865414194,0.9688611683033156
|
||||
|
@@ -0,0 +1,101 @@
|
||||
obj_id,hit_rate,avg_age,expected_age
|
||||
1,0.9000925069380203,1.3200740055504163,0.4050832605229851
|
||||
2,0.755834829443447,1.1301615798922802,0.2856431446999023
|
||||
3,0.7523364485981309,1.1158878504672898,0.283005065944624
|
||||
4,0.9228803716608595,1.3440185830429734,0.42585409019844306
|
||||
5,0.7560538116591928,1.105829596412556,0.2858086830621971
|
||||
6,0.9873340944769516,1.4631796774653918,0.487414307058311
|
||||
7,0.8582677165354331,1.2802223251505327,0.3683117366234733
|
||||
8,0.7569316081330869,1.156192236598891,0.2864727296954705
|
||||
9,0.7446808510638298,1.0555041628122108,0.2772747849705749
|
||||
10,0.7598173515981735,1.1461187214611872,0.28866120389483124
|
||||
11,0.9009840098400984,1.3766912669126692,0.40588609299377126
|
||||
12,0.9237854017959936,1.388671425282063,0.4266897342856926
|
||||
13,0.7458100558659218,1.1517690875232776,0.27811631971536466
|
||||
14,0.8532110091743119,1.3109608884596813,0.3639845130881239
|
||||
15,0.7527573529411765,1.1865808823529411,0.2833218162035035
|
||||
16,0.9545394476014273,1.4121844852649663,0.455572778513619
|
||||
17,0.970945720945721,1.4805194805194806,0.4713677965114029
|
||||
18,0.9012307692307693,1.361846153846154,0.40610844970414206
|
||||
19,0.7483870967741936,1.1216589861751152,0.2800416233090531
|
||||
20,0.7492931196983977,1.1225259189443921,0.2807200896136787
|
||||
21,0.7442084942084942,1.1447876447876448,0.2769231414260372
|
||||
22,0.896256345177665,1.3480329949238579,0.40163771813561283
|
||||
23,0.8560641812175555,1.315714959886739,0.3664229411818418
|
||||
24,0.7413461538461539,1.0913461538461537,0.27479705991124265
|
||||
25,0.74860853432282,1.1456400742115027,0.2802073688304804
|
||||
26,0.9938509103400893,1.4793713500515286,0.49386981599191215
|
||||
27,0.9985219464195284,1.4382531794620543,0.4985230387407218
|
||||
28,0.7454545454545455,1.1330143540669857,0.2778512396694215
|
||||
29,0.7340425531914894,1.1179883945841393,0.2694092349479402
|
||||
30,0.75,1.1007326007326008,0.28125
|
||||
31,0.8550519357884797,1.2889518413597734,0.3655569064478132
|
||||
32,0.74,1.128,0.2738
|
||||
33,0.9598136284216657,1.4399534071054165,0.4606211006519817
|
||||
34,0.8619756427604871,1.298150654036987,0.37150100435617744
|
||||
35,0.8566159520516367,1.2706316274781004,0.36689544465466595
|
||||
36,0.8568097014925373,1.2630597014925373,0.36706143228586546
|
||||
37,0.7484047402005469,1.1330902461257977,0.2800548275773241
|
||||
38,0.7458715596330275,1.110091743119266,0.27816219173470247
|
||||
39,0.7392959086584205,1.076117982873454,0.2732792202795398
|
||||
40,0.7471698113207547,1.1226415094339623,0.27913136347454603
|
||||
41,0.7542448614834674,1.1438784629133154,0.28444265553710746
|
||||
42,0.7426120114394662,1.0972354623450906,0.2757362997670849
|
||||
43,0.7557522123893805,1.14070796460177,0.28558070326572166
|
||||
44,0.7656940760389036,1.169761273209549,0.29314370904053516
|
||||
45,0.9362781954887218,1.3855263157894737,0.4383084296738086
|
||||
46,0.7513562386980108,1.1157323688969258,0.28226809871521114
|
||||
47,0.9395829620388523,1.3671359828907503,0.44140807127685167
|
||||
48,0.9363944298080542,1.4002634550244637,0.4384172640877755
|
||||
49,0.981863022144582,1.4851256229769305,0.48202749712744597
|
||||
50,0.9369250985545335,1.3974094236906327,0.4389143201507112
|
||||
51,0.7619047619047619,1.13668430335097,0.2902494331065759
|
||||
52,0.7610773240660296,1.1685490877497828,0.2896193466037541
|
||||
53,0.7630662020905923,1.1724738675958188,0.2911350143864803
|
||||
54,0.7465051258154707,1.0987884436160298,0.2786349514343859
|
||||
55,0.7506899724011039,1.1352345906163754,0.2817677173317851
|
||||
56,0.7398615232443125,1.1612265084075173,0.2736975367886972
|
||||
57,0.9896240163217721,1.4917516758962401,0.48967784684041754
|
||||
58,0.7525581395348837,1.1590697674418604,0.28317187669010274
|
||||
59,0.7520891364902507,1.1188486536675952,0.28281903461332547
|
||||
60,0.9224642773483251,1.3799484656828298,0.4254701714918839
|
||||
61,0.7553956834532374,1.0845323741007193,0.2853113192898918
|
||||
62,0.7472324723247232,1.1439114391143912,0.27917818384825915
|
||||
63,0.946333018570979,1.4186339313818068,0.4477730910188304
|
||||
64,0.7466539196940727,1.054493307839388,0.2787460378972614
|
||||
65,0.925959165357864,1.3874803679605117,0.4287001879551161
|
||||
66,0.7655172413793103,1.1594827586206897,0.2930083234244946
|
||||
67,0.8547008547008547,1.2692307692307692,0.36525677551318575
|
||||
68,0.7530981887511916,1.1782650142993327,0.2835784409501627
|
||||
69,0.7574660633484163,1.1402714932126696,0.2868774185622735
|
||||
70,0.9374653098982424,1.3851988899167438,0.4394206036313038
|
||||
71,0.7474370922646785,1.1295433364398881,0.2793311034465387
|
||||
72,0.7457142857142857,1.1361904761904762,0.27804489795918363
|
||||
73,0.7488372093023256,1.0465116279069768,0.28037858301784746
|
||||
74,0.8597752808988764,1.2957303370786517,0.3696067668223709
|
||||
75,0.7467889908256881,1.1055045871559632,0.2788468984092248
|
||||
76,0.7493112947658402,1.0312213039485767,0.28073370823182997
|
||||
77,0.7685025817555938,1.1686746987951808,0.2952981090825066
|
||||
78,0.7429378531073446,1.128060263653484,0.27597832678987516
|
||||
79,0.7490774907749077,1.080258302583026,0.28055854359281596
|
||||
80,0.752548656163114,1.118628359592215,0.28316473994645436
|
||||
81,0.9480420539387475,1.4360810604906293,0.4493918680181995
|
||||
82,0.8579335793357934,1.3044280442804428,0.36802501327596304
|
||||
83,0.7580935251798561,1.1573741007194245,0.28735289645981055
|
||||
84,0.7432306255835668,1.1727357609710551,0.27619588140267004
|
||||
85,0.75,1.133587786259542,0.28125
|
||||
86,0.9471317829457364,1.4203100775193798,0.4485293071329848
|
||||
87,0.7553956834532374,1.1267985611510791,0.2853113192898918
|
||||
88,0.7524932003626473,1.0942883046237535,0.28312300829600967
|
||||
89,0.7562949640287769,1.143884892086331,0.2859910363076445
|
||||
90,0.9234516353514266,1.3825098585015079,0.4263814614166121
|
||||
91,0.8603377453217709,1.2765860337745323,0.3700905180126741
|
||||
92,0.90021624961384,1.3710225517454433,0.4051946480344037
|
||||
93,0.7497630331753554,1.1601895734597156,0.28107230295815455
|
||||
94,0.7411652340019103,1.0983763132760267,0.27466295204655317
|
||||
95,0.7532110091743119,1.1394495412844037,0.2836634121706927
|
||||
96,0.7465051258154707,1.1286113699906803,0.2786349514343859
|
||||
97,0.8575406032482599,1.265429234338747,0.3676879431096947
|
||||
98,0.8571428571428571,1.2792626728110599,0.36734693877551017
|
||||
99,0.7541436464088398,1.156537753222836,0.2843663197094106
|
||||
100,0.9224842400186785,1.394349754844735,0.4254885865414194
|
||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,9 @@
|
||||
,hit_rate,avg_age,expected_age
|
||||
count,100.0,100.0,100.0
|
||||
mean,0.8159040915293513,1.223051563144497,0.3364833567261876
|
||||
std,0.08567749535403389,0.12824871868344825,0.07264297799612468
|
||||
min,0.7340425531914894,1.0312213039485767,0.2694092349479402
|
||||
25%,0.7487800405574492,1.1276996402877697,0.2803357794710057
|
||||
50%,0.7566132860809319,1.1592762630312752,0.2862318830015575
|
||||
75%,0.9001234426069753,1.3450221860131946,0.4051111074008398
|
||||
max,0.9985219464195284,1.4917516758962401,0.4985230387407218
|
||||
|
@@ -0,0 +1,101 @@
|
||||
obj_id,access_count,hits,misses,mu,lambda,hit_rate,avg_age,expected_age,age_delta
|
||||
1,1046,835,211,0,1,0.7982791586998088,1.511472275334608,0.31862480760723727,1.1928474677273706
|
||||
2,3155,2907,248,0,3,0.9213946117274168,1.8263074484944533,0.42448401526015855,1.4018234332342947
|
||||
3,1124,909,215,0,1,0.8087188612099644,1.596085409252669,0.3270130982383708,1.2690723110142983
|
||||
4,1092,876,216,0,1,0.8021978021978022,1.6272893772893773,0.3217606569254921,1.3055287203638852
|
||||
5,2111,1876,235,0,2,0.8886783514921838,1.7721459024159165,0.3948746062054327,1.3772712962104838
|
||||
6,1096,883,213,0,1,0.8056569343065694,1.6177007299270072,0.32454154789812995,1.2931591820288773
|
||||
7,36484,36219,265,0,34,0.9927365420458283,1.9837737090231333,0.4927629209565543,1.491010788066579
|
||||
8,1106,890,216,0,1,0.8047016274864376,1.6012658227848102,0.3237723546396607,1.2774934681451495
|
||||
9,7586,7329,257,0,7,0.9661218033219088,1.9272343791194306,0.4666956694269885,1.4605387096924423
|
||||
10,1061,850,211,0,1,0.8011310084825636,1.589066918001885,0.32090544637614465,1.2681614716257403
|
||||
11,3225,2979,246,0,3,0.9237209302325582,1.8316279069767443,0.4266301784748513,1.4049977285018929
|
||||
12,1115,899,216,0,1,0.8062780269058296,1.5919282511210762,0.32504212833557883,1.2668861227854973
|
||||
13,3169,2924,245,0,3,0.9226885452824235,1.8554749132218364,0.4256770757976974,1.4297978374241391
|
||||
14,11820,11559,261,0,11,0.9779187817258883,1.9683587140439933,0.4781625718261228,1.4901961422178704
|
||||
15,1094,883,211,0,1,0.8071297989031079,1.6206581352833638,0.3257292561386857,1.294928879144678
|
||||
16,1056,844,212,0,1,0.7992424242424242,1.6420454545454546,0.3193942263544536,1.322651228191001
|
||||
17,1067,853,214,0,1,0.7994376757263355,1.5941893158388003,0.3195502986853628,1.2746390171534374
|
||||
18,1078,862,216,0,1,0.7996289424860853,1.5584415584415585,0.31970322283070757,1.238738335610851
|
||||
19,1058,843,215,0,1,0.7967863894139886,1.61531190926276,0.31743427517769013,1.2978776340850697
|
||||
20,1073,861,212,0,1,0.8024231127679403,1.6150978564771667,0.32194142595209535,1.2931564305250713
|
||||
21,1037,822,215,0,1,0.7926711668273867,1.5641272902603665,0.31416378935974537,1.2499635009006211
|
||||
22,1075,862,213,0,1,0.8018604651162791,1.6353488372093024,0.3214901027582477,1.3138587344510546
|
||||
23,1030,821,209,0,1,0.7970873786407767,1.5747572815533981,0.3176741445942125,1.2570831369591855
|
||||
24,1064,852,212,0,1,0.8007518796992481,1.6165413533834587,0.32060178642093956,1.295939566962519
|
||||
25,5471,5216,255,0,5,0.9533906050082251,1.9296289526594772,0.4544768228589748,1.4751521298005024
|
||||
26,128924,128658,266,0,121,0.9979367689491483,1.9766296422698644,0.49793889741033287,1.4786907448595314
|
||||
27,1072,855,217,0,1,0.7975746268656716,1.6100746268656716,0.31806264270995765,1.2920119841557138
|
||||
28,2007,1773,234,0,2,0.8834080717488789,1.7842551071250623,0.3902049106155362,1.394050196509526
|
||||
29,2180,1943,237,0,2,0.8912844036697247,1.7605504587155962,0.3971939441124484,1.3633565146031479
|
||||
30,27777,27513,264,0,26,0.9904957338805487,1.9725672318824927,0.49054089941778334,1.4820263324647094
|
||||
31,1032,816,216,0,1,0.7906976744186046,1.569767441860465,0.3126014061654948,1.2571660356949703
|
||||
32,1025,812,213,0,1,0.7921951219512195,1.575609756097561,0.3137865556216538,1.2618232004759071
|
||||
33,2070,1832,238,0,2,0.885024154589372,1.8169082125603864,0.3916338771033163,1.42527433545707
|
||||
34,16940,16677,263,0,16,0.9844746162927981,1.9874852420306965,0.484595135062426,1.5028901069682705
|
||||
35,1008,801,207,0,1,0.7946428571428571,1.6001984126984128,0.3157286352040816,1.2844697774943312
|
||||
36,1096,884,212,0,1,0.8065693430656934,1.5857664233576643,0.3252770525867121,1.2604893707709521
|
||||
37,4275,4023,252,0,4,0.9410526315789474,1.88046783625731,0.44279002770083103,1.437677808556479
|
||||
38,1028,815,213,0,1,0.7928015564202334,1.5807392996108949,0.31426715393117227,1.2664721456797225
|
||||
39,1068,856,212,0,1,0.8014981273408239,1.5795880149812733,0.3211996240654238,1.2583883909158495
|
||||
40,8461,8202,259,0,8,0.9693889611157074,1.9666706063113106,0.4698574789664952,1.4968131273448155
|
||||
41,1002,793,209,0,1,0.7914171656686627,1.562874251497006,0.3131705650575098,1.2497036864394961
|
||||
42,2114,1876,238,0,2,0.8874172185430463,1.7913907284768211,0.3937546598833384,1.3976360685934828
|
||||
43,2067,1833,234,0,2,0.8867924528301887,1.7397194000967586,0.39320042719829124,1.3465189728984674
|
||||
44,1046,832,214,0,1,0.7954110898661568,1.5334608030592733,0.3163394009410337,1.2171214021182397
|
||||
45,1102,893,209,0,1,0.8103448275862069,1.6234119782214156,0.32832936979785965,1.2950826084235558
|
||||
46,1011,798,213,0,1,0.7893175074183977,1.5618199802176063,0.31151106375859616,1.25030891645901
|
||||
47,1132,920,212,0,1,0.8127208480565371,1.6236749116607774,0.33025758843286845,1.293417323227909
|
||||
48,9644,9384,260,0,9,0.9730402322687681,1.9399626710908338,0.4734036468068291,1.4665590242840048
|
||||
49,2163,1925,238,0,2,0.889967637540453,1.765603328710125,0.3960211979346676,1.3695821307754574
|
||||
50,1008,798,210,0,1,0.7916666666666666,1.6587301587301588,0.3133680555555555,1.3453621031746033
|
||||
51,1034,819,215,0,1,0.7920696324951644,1.574468085106383,0.3136871513605124,1.2607809337458706
|
||||
52,1052,834,218,0,1,0.7927756653992395,1.591254752851711,0.31424662782460344,1.2770081250271075
|
||||
53,1050,833,217,0,1,0.7933333333333333,1.6752380952380952,0.3146888888888889,1.3605492063492064
|
||||
54,14782,14520,262,0,14,0.9822757407657963,1.9263293194425652,0.4824328154484969,1.4438965039940683
|
||||
55,2138,1900,238,0,2,0.8886810102899907,1.7600561272217026,0.3948769690250193,1.3651791581966832
|
||||
56,4326,4075,251,0,4,0.9419787332408691,1.9059177068885806,0.4436619669390362,1.4622557399495444
|
||||
57,4249,3997,252,0,4,0.9406919275123559,1.8696163803247823,0.4424506512434557,1.4271657290813267
|
||||
58,1064,850,214,0,1,0.7988721804511278,1.574248120300752,0.31909838034936966,1.2551497399513822
|
||||
59,1070,856,214,0,1,0.8,1.5841121495327102,0.32000000000000006,1.2641121495327101
|
||||
60,6313,6058,255,0,6,0.9596071598289244,1.939489941390781,0.46042295059746746,1.4790669907933134
|
||||
61,2143,1904,239,0,2,0.8884741017265516,1.7368175454969668,0.3946931147194014,1.3421244307775653
|
||||
62,1066,853,213,0,1,0.800187617260788,1.6303939962476548,0.3201501114087487,1.310243884838906
|
||||
63,5272,5017,255,0,5,0.9516312594840668,1.8988998482549317,0.45280102701361563,1.4460988212413162
|
||||
64,1037,827,210,0,1,0.7974927675988428,1.6663452266152363,0.31799735718623096,1.3483478694290054
|
||||
65,5142,4889,253,0,5,0.9507973551147414,1.9224037339556592,0.45200780524659384,1.4703959287090653
|
||||
66,1000,783,217,0,1,0.783,1.57,0.3065445,1.2634555
|
||||
67,1064,848,216,0,1,0.7969924812030075,1.5780075187969924,0.3175985075470631,1.2604090112499293
|
||||
68,1093,877,216,0,1,0.8023787740164684,1.6413540713632204,0.32190584849608544,1.319448222867135
|
||||
69,1085,875,210,0,1,0.8064516129032258,1.5594470046082949,0.3251821019771071,1.2342649026311878
|
||||
70,2123,1885,238,0,2,0.8878944889307584,1.7644842204427698,0.39417831173680634,1.3703059087059635
|
||||
71,1051,838,213,0,1,0.7973358705994291,1.659372026641294,0.3178722452722748,1.341499781369019
|
||||
72,1074,859,215,0,1,0.7998137802607076,1.5614525139664805,0.31985104154746175,1.2416014724190187
|
||||
73,3227,2979,248,0,3,0.9231484350790208,1.8404090486519988,0.4261015165944225,1.4143075320575762
|
||||
74,1069,855,214,0,1,0.7998129092609916,1.5930776426566884,0.3198503449102656,1.2732272977464227
|
||||
75,1051,838,213,0,1,0.7973358705994291,1.5470980019029497,0.3178722452722748,1.2292257566306748
|
||||
76,1138,920,218,0,1,0.8084358523725835,1.5500878734622143,0.32678426370069286,1.2233036097615215
|
||||
77,2082,1844,238,0,2,0.8856868395773295,1.749759846301633,0.39222058890023914,1.357539257401394
|
||||
78,1107,894,213,0,1,0.8075880758807588,1.6567299006323397,0.3260992501523931,1.3306306504799466
|
||||
79,1091,875,216,0,1,0.8020164986251146,1.6223648029330888,0.3216152320334442,1.3007495708996446
|
||||
80,1089,876,213,0,1,0.8044077134986226,1.5583103764921946,0.32353588476804107,1.2347744917241537
|
||||
81,4088,3838,250,0,4,0.9388454011741683,1.8732876712328768,0.44071534365294246,1.4325723275799342
|
||||
82,1095,882,213,0,1,0.8054794520547945,1.5726027397260274,0.32439857384124604,1.2482041658847813
|
||||
83,1091,882,209,0,1,0.8084326306141155,1.620531622364803,0.32678165912082946,1.2937499632439735
|
||||
84,2151,1912,239,0,2,0.8888888888888888,1.7759181775918178,0.3950617283950617,1.380856449196756
|
||||
85,1068,859,209,0,1,0.8043071161048689,1.5627340823970037,0.32345496850846556,1.2392791138885382
|
||||
86,3221,2973,248,0,3,0.9230052778640174,1.887923005277864,0.425969371482416,1.461953633795448
|
||||
87,3221,2973,248,0,3,0.9230052778640174,1.8593604470661285,0.425969371482416,1.4333910755837125
|
||||
88,1059,847,212,0,1,0.7998111425873465,1.591123701605288,0.3198489319034384,1.2712747697018496
|
||||
89,2107,1871,236,0,2,0.8879924062648316,1.7816801139060274,0.3942652567920028,1.3874148571140246
|
||||
90,1030,820,210,0,1,0.7961165048543689,1.5388349514563107,0.3169007446507682,1.2219342068055425
|
||||
91,1067,853,214,0,1,0.7994376757263355,1.5829428303655109,0.3195502986853628,1.263392531680148
|
||||
92,10619,10359,260,0,10,0.9755155852716828,1.9609191072605707,0.4758153285539769,1.485103778706594
|
||||
93,2161,1923,238,0,2,0.8898658028690422,1.7954650624710782,0.39593057355788247,1.3995344889131958
|
||||
94,2104,1869,235,0,2,0.8883079847908745,1.7599809885931559,0.39454553792161223,1.3654354506715436
|
||||
95,2143,1906,237,0,2,0.8894073728418106,1.7223518432104525,0.39552273743268573,1.3268291057777668
|
||||
96,1124,905,219,0,1,0.8051601423487544,1.5951957295373667,0.32414142741353325,1.2710543021238334
|
||||
97,1036,824,212,0,1,0.7953667953667953,1.6303088803088803,0.31630416958602287,1.3140047107228574
|
||||
98,1066,850,216,0,1,0.797373358348968,1.596622889305816,0.3179021363023559,1.27872075300346
|
||||
99,2203,1964,239,0,2,0.8915115751248298,1.7748524738992284,0.39739644429077753,1.3774560296084508
|
||||
100,2107,1867,240,0,2,0.88609397247271,1.7508305647840532,0.3925812640262339,1.3582493007578194
|
||||
|
@@ -0,0 +1,101 @@
|
||||
obj_id,hit_rate,avg_age,expected_age
|
||||
1,0.7982791586998088,1.511472275334608,0.31862480760723727
|
||||
2,0.9213946117274168,1.8263074484944533,0.42448401526015855
|
||||
3,0.8087188612099644,1.596085409252669,0.3270130982383708
|
||||
4,0.8021978021978022,1.6272893772893773,0.3217606569254921
|
||||
5,0.8886783514921838,1.7721459024159165,0.3948746062054327
|
||||
6,0.8056569343065694,1.6177007299270072,0.32454154789812995
|
||||
7,0.9927365420458283,1.9837737090231333,0.4927629209565543
|
||||
8,0.8047016274864376,1.6012658227848102,0.3237723546396607
|
||||
9,0.9661218033219088,1.9272343791194306,0.4666956694269885
|
||||
10,0.8011310084825636,1.589066918001885,0.32090544637614465
|
||||
11,0.9237209302325582,1.8316279069767443,0.4266301784748513
|
||||
12,0.8062780269058296,1.5919282511210762,0.32504212833557883
|
||||
13,0.9226885452824235,1.8554749132218364,0.4256770757976974
|
||||
14,0.9779187817258883,1.9683587140439933,0.4781625718261228
|
||||
15,0.8071297989031079,1.6206581352833638,0.3257292561386857
|
||||
16,0.7992424242424242,1.6420454545454546,0.3193942263544536
|
||||
17,0.7994376757263355,1.5941893158388003,0.3195502986853628
|
||||
18,0.7996289424860853,1.5584415584415585,0.31970322283070757
|
||||
19,0.7967863894139886,1.61531190926276,0.31743427517769013
|
||||
20,0.8024231127679403,1.6150978564771667,0.32194142595209535
|
||||
21,0.7926711668273867,1.5641272902603665,0.31416378935974537
|
||||
22,0.8018604651162791,1.6353488372093024,0.3214901027582477
|
||||
23,0.7970873786407767,1.5747572815533981,0.3176741445942125
|
||||
24,0.8007518796992481,1.6165413533834587,0.32060178642093956
|
||||
25,0.9533906050082251,1.9296289526594772,0.4544768228589748
|
||||
26,0.9979367689491483,1.9766296422698644,0.49793889741033287
|
||||
27,0.7975746268656716,1.6100746268656716,0.31806264270995765
|
||||
28,0.8834080717488789,1.7842551071250623,0.3902049106155362
|
||||
29,0.8912844036697247,1.7605504587155962,0.3971939441124484
|
||||
30,0.9904957338805487,1.9725672318824927,0.49054089941778334
|
||||
31,0.7906976744186046,1.569767441860465,0.3126014061654948
|
||||
32,0.7921951219512195,1.575609756097561,0.3137865556216538
|
||||
33,0.885024154589372,1.8169082125603864,0.3916338771033163
|
||||
34,0.9844746162927981,1.9874852420306965,0.484595135062426
|
||||
35,0.7946428571428571,1.6001984126984128,0.3157286352040816
|
||||
36,0.8065693430656934,1.5857664233576643,0.3252770525867121
|
||||
37,0.9410526315789474,1.88046783625731,0.44279002770083103
|
||||
38,0.7928015564202334,1.5807392996108949,0.31426715393117227
|
||||
39,0.8014981273408239,1.5795880149812733,0.3211996240654238
|
||||
40,0.9693889611157074,1.9666706063113106,0.4698574789664952
|
||||
41,0.7914171656686627,1.562874251497006,0.3131705650575098
|
||||
42,0.8874172185430463,1.7913907284768211,0.3937546598833384
|
||||
43,0.8867924528301887,1.7397194000967586,0.39320042719829124
|
||||
44,0.7954110898661568,1.5334608030592733,0.3163394009410337
|
||||
45,0.8103448275862069,1.6234119782214156,0.32832936979785965
|
||||
46,0.7893175074183977,1.5618199802176063,0.31151106375859616
|
||||
47,0.8127208480565371,1.6236749116607774,0.33025758843286845
|
||||
48,0.9730402322687681,1.9399626710908338,0.4734036468068291
|
||||
49,0.889967637540453,1.765603328710125,0.3960211979346676
|
||||
50,0.7916666666666666,1.6587301587301588,0.3133680555555555
|
||||
51,0.7920696324951644,1.574468085106383,0.3136871513605124
|
||||
52,0.7927756653992395,1.591254752851711,0.31424662782460344
|
||||
53,0.7933333333333333,1.6752380952380952,0.3146888888888889
|
||||
54,0.9822757407657963,1.9263293194425652,0.4824328154484969
|
||||
55,0.8886810102899907,1.7600561272217026,0.3948769690250193
|
||||
56,0.9419787332408691,1.9059177068885806,0.4436619669390362
|
||||
57,0.9406919275123559,1.8696163803247823,0.4424506512434557
|
||||
58,0.7988721804511278,1.574248120300752,0.31909838034936966
|
||||
59,0.8,1.5841121495327102,0.32000000000000006
|
||||
60,0.9596071598289244,1.939489941390781,0.46042295059746746
|
||||
61,0.8884741017265516,1.7368175454969668,0.3946931147194014
|
||||
62,0.800187617260788,1.6303939962476548,0.3201501114087487
|
||||
63,0.9516312594840668,1.8988998482549317,0.45280102701361563
|
||||
64,0.7974927675988428,1.6663452266152363,0.31799735718623096
|
||||
65,0.9507973551147414,1.9224037339556592,0.45200780524659384
|
||||
66,0.783,1.57,0.3065445
|
||||
67,0.7969924812030075,1.5780075187969924,0.3175985075470631
|
||||
68,0.8023787740164684,1.6413540713632204,0.32190584849608544
|
||||
69,0.8064516129032258,1.5594470046082949,0.3251821019771071
|
||||
70,0.8878944889307584,1.7644842204427698,0.39417831173680634
|
||||
71,0.7973358705994291,1.659372026641294,0.3178722452722748
|
||||
72,0.7998137802607076,1.5614525139664805,0.31985104154746175
|
||||
73,0.9231484350790208,1.8404090486519988,0.4261015165944225
|
||||
74,0.7998129092609916,1.5930776426566884,0.3198503449102656
|
||||
75,0.7973358705994291,1.5470980019029497,0.3178722452722748
|
||||
76,0.8084358523725835,1.5500878734622143,0.32678426370069286
|
||||
77,0.8856868395773295,1.749759846301633,0.39222058890023914
|
||||
78,0.8075880758807588,1.6567299006323397,0.3260992501523931
|
||||
79,0.8020164986251146,1.6223648029330888,0.3216152320334442
|
||||
80,0.8044077134986226,1.5583103764921946,0.32353588476804107
|
||||
81,0.9388454011741683,1.8732876712328768,0.44071534365294246
|
||||
82,0.8054794520547945,1.5726027397260274,0.32439857384124604
|
||||
83,0.8084326306141155,1.620531622364803,0.32678165912082946
|
||||
84,0.8888888888888888,1.7759181775918178,0.3950617283950617
|
||||
85,0.8043071161048689,1.5627340823970037,0.32345496850846556
|
||||
86,0.9230052778640174,1.887923005277864,0.425969371482416
|
||||
87,0.9230052778640174,1.8593604470661285,0.425969371482416
|
||||
88,0.7998111425873465,1.591123701605288,0.3198489319034384
|
||||
89,0.8879924062648316,1.7816801139060274,0.3942652567920028
|
||||
90,0.7961165048543689,1.5388349514563107,0.3169007446507682
|
||||
91,0.7994376757263355,1.5829428303655109,0.3195502986853628
|
||||
92,0.9755155852716828,1.9609191072605707,0.4758153285539769
|
||||
93,0.8898658028690422,1.7954650624710782,0.39593057355788247
|
||||
94,0.8883079847908745,1.7599809885931559,0.39454553792161223
|
||||
95,0.8894073728418106,1.7223518432104525,0.39552273743268573
|
||||
96,0.8051601423487544,1.5951957295373667,0.32414142741353325
|
||||
97,0.7953667953667953,1.6303088803088803,0.31630416958602287
|
||||
98,0.797373358348968,1.596622889305816,0.3179021363023559
|
||||
99,0.8915115751248298,1.7748524738992284,0.39739644429077753
|
||||
100,0.88609397247271,1.7508305647840532,0.3925812640262339
|
||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,9 @@
|
||||
,hit_rate,avg_age,expected_age
|
||||
count,100.0,100.0,100.0
|
||||
mean,0.8529286517016675,1.7025481898638841,0.3660162421289979
|
||||
std,0.06775773364762111,0.14045281538696894,0.059451882202897634
|
||||
min,0.783,1.511472275334608,0.3065445
|
||||
25%,0.7991498632946001,1.5853528549014257,0.3193202648531826
|
||||
50%,0.8065104779844596,1.6328714167284786,0.3252295772819096
|
||||
75%,0.891341196533501,1.8008258499934051,0.39724456915703066
|
||||
max,0.9979367689491483,1.9874852420306965,0.49793889741033287
|
||||
|
@@ -0,0 +1,101 @@
|
||||
obj_id,access_count,hits,misses,mu,lambda,hit_rate,avg_age,expected_age,age_delta
|
||||
1,1017,842,175,0,1,0.8279252704031466,2.057030481809243,0.3427301266860617,1.7143003551231812
|
||||
2,20019,19810,209,0,19,0.9895599180778261,2.4550676856985865,0.4896144157330969,1.9654532699654896
|
||||
3,1075,896,179,0,1,0.8334883720930233,2.046511627906977,0.347351433207139,1.6991601946998378
|
||||
4,1095,918,177,0,1,0.8383561643835616,2.0182648401826486,0.3514205291799587,1.66684431100269
|
||||
5,1010,834,176,0,1,0.8257425742574257,2.0287128712871287,0.3409253994706401,1.6877874718164887
|
||||
6,5324,5120,204,0,5,0.9616829451540195,2.432757325319309,0.46241704350005447,1.9703402818192544
|
||||
7,2139,1944,195,0,2,0.908835904628331,2.2954651706404863,0.41299135077079835,1.882473819869688
|
||||
8,1059,883,176,0,1,0.833805476864967,2.075542965061379,0.3476157866250075,1.7279271784363712
|
||||
9,1017,844,173,0,1,0.8298918387413963,2.062930186823992,0.3443602320047878,1.7185699548192042
|
||||
10,3214,3015,199,0,3,0.9380833851897946,2.3378967019290604,0.4400002187845723,1.8978964831444882
|
||||
11,1041,864,177,0,1,0.829971181556196,2.143131604226705,0.344426081106894,1.798705523119811
|
||||
12,3188,2990,198,0,3,0.937892095357591,2.3808030112923464,0.43982079126712625,1.9409822200252203
|
||||
13,1022,845,177,0,1,0.8268101761252447,2.080234833659491,0.34180753367212907,1.738427299987362
|
||||
14,1067,890,177,0,1,0.8341143392689785,2.121836925960637,0.34787336548706227,1.7739635604735748
|
||||
15,1042,867,175,0,1,0.8320537428023033,2.1833013435700575,0.34615671545566074,1.8371446281143968
|
||||
16,1097,921,176,0,1,0.8395624430264357,2.1011850501367366,0.3524325478702585,1.748752502266478
|
||||
17,5256,5053,203,0,5,0.9613774733637748,2.4185692541856927,0.46212332314565774,1.9564459310400348
|
||||
18,2164,1970,194,0,2,0.910351201478743,2.2384473197781887,0.4143696550168955,1.824077664761293
|
||||
19,12809,12601,208,0,12,0.9837614177531423,2.4585838082598173,0.4838932635298363,1.974690544729981
|
||||
20,1028,850,178,0,1,0.8268482490272373,2.0428015564202333,0.34183901345970413,1.700962542960529
|
||||
21,1118,940,178,0,1,0.8407871198568873,2.186046511627907,0.35346149045861985,1.8325850211692871
|
||||
22,4223,4020,203,0,4,0.9519299076485911,2.4106085721051387,0.4530852745379276,1.957523297567211
|
||||
23,1063,889,174,0,1,0.8363123236124177,1.9614299153339605,0.3497091513130006,1.6117207640209599
|
||||
24,1098,922,176,0,1,0.8397085610200364,2.0,0.3525552337251701,1.64744476627483
|
||||
25,3158,2960,198,0,3,0.9373020899303357,2.3556048131728944,0.4392676038938876,1.9163372092790067
|
||||
26,1062,887,175,0,1,0.835216572504708,2.1421845574387945,0.3487933614932561,1.7933911959455384
|
||||
27,1058,880,178,0,1,0.831758034026465,2.112476370510397,0.34591071358378506,1.766565656926612
|
||||
28,97039,96828,211,0,92,0.9978256165047042,2.4460680757221325,0.49782798047649657,1.948240095245636
|
||||
29,2078,1886,192,0,2,0.9076034648700674,2.296438883541867,0.4118720247220758,1.8845668588197912
|
||||
30,5251,5048,203,0,5,0.9613406970100933,2.410588459341078,0.462087967863926,1.9485004914771518
|
||||
31,1093,913,180,0,1,0.8353156450137237,2.0347666971637692,0.34887611340234664,1.6858905837614226
|
||||
32,1039,865,174,0,1,0.8325312800769971,2.051973051010587,0.3465541661533217,1.7054188848572656
|
||||
33,1034,862,172,0,1,0.8336557059961315,2.0599613152804643,0.3474909180699542,1.7124703972105102
|
||||
34,1057,881,176,0,1,0.8334910122989593,2.1712393566698203,0.34735363379157197,1.8238857228782483
|
||||
35,1135,957,178,0,1,0.8431718061674008,2.1145374449339207,0.3554693473577985,1.7590680975761221
|
||||
36,5214,5012,202,0,5,0.9612581511315689,2.345416187188339,0.46200861655844105,1.883407570629898
|
||||
37,32649,32439,210,0,31,0.993567950013783,2.521853655548409,0.49358863564729555,2.0282650199011134
|
||||
38,2052,1861,191,0,2,0.9069200779727096,2.257797270955166,0.4112520139150128,1.846545257040153
|
||||
39,2122,1931,191,0,2,0.909990574929312,2.2582469368520264,0.4140414232300899,1.8442055136219364
|
||||
40,5396,5191,205,0,5,0.962008895478132,2.38880652335063,0.4627305574895277,1.9260759658611024
|
||||
41,1062,882,180,0,1,0.8305084745762712,2.083804143126177,0.34487216317150243,1.7389319799546745
|
||||
42,2069,1879,190,0,2,0.9081681971967134,2.247462542290962,0.41238473719976426,1.8350778050911978
|
||||
43,2051,1858,193,0,2,0.9058995611896635,2.262311067771819,0.41032700748181244,1.8519840602900064
|
||||
44,1098,919,179,0,1,0.836976320582878,2.0564663023679417,0.35026468060822624,1.7062016217597153
|
||||
45,1047,871,176,0,1,0.8319006685768864,2.0448901623686724,0.3460293611893353,1.6988608011793371
|
||||
46,1087,916,171,0,1,0.8426862925482981,2.044158233670653,0.3550600938243979,1.689098139846255
|
||||
47,1020,845,175,0,1,0.8284313725490197,2.0764705882352943,0.3431492695117263,1.733321318723568
|
||||
48,1066,892,174,0,1,0.8367729831144465,2.1397748592870545,0.35009451263512487,1.7896803466519295
|
||||
49,2105,1914,191,0,2,0.9092636579572446,2.2679334916864606,0.4133801998408946,1.854553291845566
|
||||
50,1098,921,177,0,1,0.8387978142076503,2.0801457194899817,0.3517908865597659,1.7283548329302159
|
||||
51,1081,906,175,0,1,0.8381128584643849,2.087881591119334,0.35121658176167103,1.7366650093576628
|
||||
52,1029,855,174,0,1,0.8309037900874635,2.072886297376093,0.3452005541908558,1.7276857431852373
|
||||
53,5238,5035,203,0,5,0.9612447499045437,2.4014891179839633,0.46199573460952437,1.939493383374439
|
||||
54,1044,868,176,0,1,0.8314176245210728,2.057471264367816,0.3456276331821318,1.7118436311856844
|
||||
55,1028,855,173,0,1,0.8317120622568094,2.0836575875486383,0.34587247725173736,1.7377851102969009
|
||||
56,4234,4031,203,0,4,0.952054794520548,2.411667453944261,0.4532041658847814,1.9584632880594794
|
||||
57,3136,2938,198,0,3,0.9368622448979592,2.314732142857143,0.43885543295762186,1.8758767098995208
|
||||
58,2111,1919,192,0,2,0.9090478446234013,2.286120322122217,0.41318399190722577,1.872936330214991
|
||||
59,1077,901,176,0,1,0.8365831012070566,2.071494893221913,0.3499356426126081,1.7215592506093047
|
||||
60,1083,904,179,0,1,0.8347183748845799,2.1865189289012004,0.34837738268497703,1.8381415462162234
|
||||
61,1052,874,178,0,1,0.8307984790874525,2.008555133079848,0.3451130564270121,1.6634420766528357
|
||||
62,2113,1922,191,0,2,0.9096071935636536,2.2749645054424987,0.413692623291373,1.8612718821511258
|
||||
63,3164,2966,198,0,3,0.9374209860935525,2.326801517067004,0.4393790525843042,1.8874224644826998
|
||||
64,1078,901,177,0,1,0.8358070500927643,2.047309833024119,0.34928671249238435,1.6980231205317344
|
||||
65,5165,4962,203,0,5,0.9606969990319458,2.3688286544046466,0.4614693619744933,1.9073592924301535
|
||||
66,1081,903,178,0,1,0.8353376503237743,2.057354301572618,0.3488944950242221,1.708459806548396
|
||||
67,1001,828,173,0,1,0.8271728271728271,2.07992007992008,0.3421074430065439,1.737812636913536
|
||||
68,2105,1913,192,0,2,0.9087885985748219,2.224228028503563,0.41294835844979433,1.8112796700537688
|
||||
69,2164,1969,195,0,2,0.9098890942698706,2.2523105360443623,0.41394908193562274,1.8383614541087394
|
||||
70,1099,921,178,0,1,0.83803457688808,2.1255686988171063,0.3511509760299917,1.7744177227871147
|
||||
71,1000,825,175,0,1,0.825,2.077,0.34031249999999996,1.7366875
|
||||
72,1025,851,174,0,1,0.8302439024390244,2.1365853658536587,0.34465246876859007,1.7919328970850685
|
||||
73,2080,1887,193,0,2,0.9072115384615385,2.3610576923076922,0.4115163877588757,1.9495413045488166
|
||||
74,1111,934,177,0,1,0.8406840684068407,2.1467146714671466,0.35337485143653885,1.7933398200306077
|
||||
75,1022,847,175,0,1,0.8287671232876712,2.00293542074364,0.34342747232126103,1.659507948422379
|
||||
76,1109,932,177,0,1,0.8403967538322813,2.1199278629395852,0.353133351925918,1.7667945110136674
|
||||
77,1053,876,177,0,1,0.8319088319088319,2.0579297245963915,0.34603615230395857,1.7118935722924329
|
||||
78,1059,884,175,0,1,0.8347497639282342,2.169971671388102,0.3484035841891214,1.8215680871989806
|
||||
79,1055,879,176,0,1,0.833175355450237,2.104265402843602,0.3470905864648144,1.7571748163787875
|
||||
80,1059,882,177,0,1,0.8328611898016998,2.1359773371104818,0.34682888073895146,1.7891484563715303
|
||||
81,1052,877,175,0,1,0.8336501901140685,2.0627376425855513,0.34748631973861127,1.71525132284694
|
||||
82,1052,875,177,0,1,0.8317490494296578,2.0665399239543727,0.34590324061356964,1.720636683340803
|
||||
83,1082,904,178,0,1,0.8354898336414048,2.093345656192237,0.34902163105907114,1.7443240251331655
|
||||
84,2116,1924,192,0,2,0.9092627599243857,2.2485822306238186,0.4133793832926555,1.835202847331163
|
||||
85,2042,1850,192,0,2,0.9059745347698335,2.225269343780607,0.4103949288257081,1.814874414954899
|
||||
86,1092,914,178,0,1,0.836996336996337,2.022893772893773,0.3502814340726429,1.6726123388211298
|
||||
87,37129,36919,210,0,35,0.9943440437393951,2.4789517627730344,0.49436003866000605,1.9845917241130284
|
||||
88,5299,5096,203,0,5,0.9616908850726552,2.383657293829024,0.46242467921591346,1.9212326146131107
|
||||
89,2089,1899,190,0,2,0.9090473910962182,2.2264241263762568,0.41318357962942037,1.8132405467468364
|
||||
90,1095,920,175,0,1,0.8401826484018264,2.14337899543379,0.3529534413377535,1.7904255540960363
|
||||
91,1072,895,177,0,1,0.8348880597014925,2.058768656716418,0.34851903611606144,1.7102496206003563
|
||||
92,4172,3970,202,0,4,0.951581975071908,2.4206615532118887,0.4527541276408767,1.967907425571012
|
||||
93,1042,864,178,0,1,0.8291746641074856,2.1228406909788866,0.3437653117988808,1.7790753791800058
|
||||
94,1081,906,175,0,1,0.8381128584643849,2.026827012025902,0.35121658176167103,1.675610430264231
|
||||
95,1066,890,176,0,1,0.8348968105065666,2.0881801125703565,0.3485263420970189,1.7396537704733377
|
||||
96,1028,854,174,0,1,0.830739299610895,2.09727626459144,0.34506389195900017,1.7522123726324397
|
||||
97,1041,866,175,0,1,0.8318924111431316,2.1248799231508166,0.34602249185876655,1.77885743129205
|
||||
98,1053,875,178,0,1,0.8309591642924976,2.0313390313390314,0.345246566360843,1.6860924649781883
|
||||
99,1047,869,178,0,1,0.8299904489016237,2.09360076408787,0.3444420726339594,1.7491586914539108
|
||||
100,1030,853,177,0,1,0.8281553398058252,2.0893203883495146,0.34292063342445095,1.7463997549250636
|
||||
|
@@ -0,0 +1,101 @@
|
||||
obj_id,hit_rate,avg_age,expected_age
|
||||
1,0.8279252704031466,2.057030481809243,0.3427301266860617
|
||||
2,0.9895599180778261,2.4550676856985865,0.4896144157330969
|
||||
3,0.8334883720930233,2.046511627906977,0.347351433207139
|
||||
4,0.8383561643835616,2.0182648401826486,0.3514205291799587
|
||||
5,0.8257425742574257,2.0287128712871287,0.3409253994706401
|
||||
6,0.9616829451540195,2.432757325319309,0.46241704350005447
|
||||
7,0.908835904628331,2.2954651706404863,0.41299135077079835
|
||||
8,0.833805476864967,2.075542965061379,0.3476157866250075
|
||||
9,0.8298918387413963,2.062930186823992,0.3443602320047878
|
||||
10,0.9380833851897946,2.3378967019290604,0.4400002187845723
|
||||
11,0.829971181556196,2.143131604226705,0.344426081106894
|
||||
12,0.937892095357591,2.3808030112923464,0.43982079126712625
|
||||
13,0.8268101761252447,2.080234833659491,0.34180753367212907
|
||||
14,0.8341143392689785,2.121836925960637,0.34787336548706227
|
||||
15,0.8320537428023033,2.1833013435700575,0.34615671545566074
|
||||
16,0.8395624430264357,2.1011850501367366,0.3524325478702585
|
||||
17,0.9613774733637748,2.4185692541856927,0.46212332314565774
|
||||
18,0.910351201478743,2.2384473197781887,0.4143696550168955
|
||||
19,0.9837614177531423,2.4585838082598173,0.4838932635298363
|
||||
20,0.8268482490272373,2.0428015564202333,0.34183901345970413
|
||||
21,0.8407871198568873,2.186046511627907,0.35346149045861985
|
||||
22,0.9519299076485911,2.4106085721051387,0.4530852745379276
|
||||
23,0.8363123236124177,1.9614299153339605,0.3497091513130006
|
||||
24,0.8397085610200364,2.0,0.3525552337251701
|
||||
25,0.9373020899303357,2.3556048131728944,0.4392676038938876
|
||||
26,0.835216572504708,2.1421845574387945,0.3487933614932561
|
||||
27,0.831758034026465,2.112476370510397,0.34591071358378506
|
||||
28,0.9978256165047042,2.4460680757221325,0.49782798047649657
|
||||
29,0.9076034648700674,2.296438883541867,0.4118720247220758
|
||||
30,0.9613406970100933,2.410588459341078,0.462087967863926
|
||||
31,0.8353156450137237,2.0347666971637692,0.34887611340234664
|
||||
32,0.8325312800769971,2.051973051010587,0.3465541661533217
|
||||
33,0.8336557059961315,2.0599613152804643,0.3474909180699542
|
||||
34,0.8334910122989593,2.1712393566698203,0.34735363379157197
|
||||
35,0.8431718061674008,2.1145374449339207,0.3554693473577985
|
||||
36,0.9612581511315689,2.345416187188339,0.46200861655844105
|
||||
37,0.993567950013783,2.521853655548409,0.49358863564729555
|
||||
38,0.9069200779727096,2.257797270955166,0.4112520139150128
|
||||
39,0.909990574929312,2.2582469368520264,0.4140414232300899
|
||||
40,0.962008895478132,2.38880652335063,0.4627305574895277
|
||||
41,0.8305084745762712,2.083804143126177,0.34487216317150243
|
||||
42,0.9081681971967134,2.247462542290962,0.41238473719976426
|
||||
43,0.9058995611896635,2.262311067771819,0.41032700748181244
|
||||
44,0.836976320582878,2.0564663023679417,0.35026468060822624
|
||||
45,0.8319006685768864,2.0448901623686724,0.3460293611893353
|
||||
46,0.8426862925482981,2.044158233670653,0.3550600938243979
|
||||
47,0.8284313725490197,2.0764705882352943,0.3431492695117263
|
||||
48,0.8367729831144465,2.1397748592870545,0.35009451263512487
|
||||
49,0.9092636579572446,2.2679334916864606,0.4133801998408946
|
||||
50,0.8387978142076503,2.0801457194899817,0.3517908865597659
|
||||
51,0.8381128584643849,2.087881591119334,0.35121658176167103
|
||||
52,0.8309037900874635,2.072886297376093,0.3452005541908558
|
||||
53,0.9612447499045437,2.4014891179839633,0.46199573460952437
|
||||
54,0.8314176245210728,2.057471264367816,0.3456276331821318
|
||||
55,0.8317120622568094,2.0836575875486383,0.34587247725173736
|
||||
56,0.952054794520548,2.411667453944261,0.4532041658847814
|
||||
57,0.9368622448979592,2.314732142857143,0.43885543295762186
|
||||
58,0.9090478446234013,2.286120322122217,0.41318399190722577
|
||||
59,0.8365831012070566,2.071494893221913,0.3499356426126081
|
||||
60,0.8347183748845799,2.1865189289012004,0.34837738268497703
|
||||
61,0.8307984790874525,2.008555133079848,0.3451130564270121
|
||||
62,0.9096071935636536,2.2749645054424987,0.413692623291373
|
||||
63,0.9374209860935525,2.326801517067004,0.4393790525843042
|
||||
64,0.8358070500927643,2.047309833024119,0.34928671249238435
|
||||
65,0.9606969990319458,2.3688286544046466,0.4614693619744933
|
||||
66,0.8353376503237743,2.057354301572618,0.3488944950242221
|
||||
67,0.8271728271728271,2.07992007992008,0.3421074430065439
|
||||
68,0.9087885985748219,2.224228028503563,0.41294835844979433
|
||||
69,0.9098890942698706,2.2523105360443623,0.41394908193562274
|
||||
70,0.83803457688808,2.1255686988171063,0.3511509760299917
|
||||
71,0.825,2.077,0.34031249999999996
|
||||
72,0.8302439024390244,2.1365853658536587,0.34465246876859007
|
||||
73,0.9072115384615385,2.3610576923076922,0.4115163877588757
|
||||
74,0.8406840684068407,2.1467146714671466,0.35337485143653885
|
||||
75,0.8287671232876712,2.00293542074364,0.34342747232126103
|
||||
76,0.8403967538322813,2.1199278629395852,0.353133351925918
|
||||
77,0.8319088319088319,2.0579297245963915,0.34603615230395857
|
||||
78,0.8347497639282342,2.169971671388102,0.3484035841891214
|
||||
79,0.833175355450237,2.104265402843602,0.3470905864648144
|
||||
80,0.8328611898016998,2.1359773371104818,0.34682888073895146
|
||||
81,0.8336501901140685,2.0627376425855513,0.34748631973861127
|
||||
82,0.8317490494296578,2.0665399239543727,0.34590324061356964
|
||||
83,0.8354898336414048,2.093345656192237,0.34902163105907114
|
||||
84,0.9092627599243857,2.2485822306238186,0.4133793832926555
|
||||
85,0.9059745347698335,2.225269343780607,0.4103949288257081
|
||||
86,0.836996336996337,2.022893772893773,0.3502814340726429
|
||||
87,0.9943440437393951,2.4789517627730344,0.49436003866000605
|
||||
88,0.9616908850726552,2.383657293829024,0.46242467921591346
|
||||
89,0.9090473910962182,2.2264241263762568,0.41318357962942037
|
||||
90,0.8401826484018264,2.14337899543379,0.3529534413377535
|
||||
91,0.8348880597014925,2.058768656716418,0.34851903611606144
|
||||
92,0.951581975071908,2.4206615532118887,0.4527541276408767
|
||||
93,0.8291746641074856,2.1228406909788866,0.3437653117988808
|
||||
94,0.8381128584643849,2.026827012025902,0.35121658176167103
|
||||
95,0.8348968105065666,2.0881801125703565,0.3485263420970189
|
||||
96,0.830739299610895,2.09727626459144,0.34506389195900017
|
||||
97,0.8318924111431316,2.1248799231508166,0.34602249185876655
|
||||
98,0.8309591642924976,2.0313390313390314,0.345246566360843
|
||||
99,0.8299904489016237,2.09360076408787,0.3444420726339594
|
||||
100,0.8281553398058252,2.0893203883495146,0.34292063342445095
|
||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,9 @@
|
||||
,hit_rate,avg_age,expected_age
|
||||
count,100.0,100.0,100.0
|
||||
mean,0.8725120313088975,2.1796613745422433,0.3820956069194319
|
||||
std,0.054253138996698945,0.14088494880608413,0.0486454668305639
|
||||
min,0.825,1.9614299153339605,0.34031249999999996
|
||||
25%,0.8319067910758455,2.0656374896717775,0.34603445452530274
|
||||
50%,0.8375154569422085,2.1252243109839615,0.3507162050513173
|
||||
75%,0.9093495418588469,2.2777534596124283,0.41345830570351416
|
||||
max,0.9978256165047042,2.521853655548409,0.49782798047649657
|
||||
|
17
00_aoi_caching_simulation/experiments/README.md
Normal file
17
00_aoi_caching_simulation/experiments/README.md
Normal file
@@ -0,0 +1,17 @@
|
||||
# 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
|
||||
- `lambda_vs_access_count.pdf`: Displays the access count against lambda,
|
||||
expecting a higher lambda to result in a higher access count.
|
||||
- `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.
|
||||
8
00_aoi_caching_simulation/experiments/avg_ages.md
Normal file
8
00_aoi_caching_simulation/experiments/avg_ages.md
Normal file
@@ -0,0 +1,8 @@
|
||||
| | avg_ages |
|
||||
|:-----|-----------:|
|
||||
| 0.5s | 0.113919 |
|
||||
| 1.0s | 0.305873 |
|
||||
| 2.0s | 0.725355 |
|
||||
| 3.0s | 1.22305 |
|
||||
| 4.0s | 1.70255 |
|
||||
| 5.0s | 2.17966 |
|
||||
8
00_aoi_caching_simulation/experiments/hit_rates.md
Normal file
8
00_aoi_caching_simulation/experiments/hit_rates.md
Normal file
@@ -0,0 +1,8 @@
|
||||
| | hit_rates |
|
||||
|:-----|------------:|
|
||||
| 0.5s | 0.459811 |
|
||||
| 1.0s | 0.610659 |
|
||||
| 2.0s | 0.72776 |
|
||||
| 3.0s | 0.815904 |
|
||||
| 4.0s | 0.852929 |
|
||||
| 5.0s | 0.872512 |
|
||||
BIN
00_aoi_caching_simulation/experiments/hr_and_age_vs_ttl.png
Normal file
BIN
00_aoi_caching_simulation/experiments/hr_and_age_vs_ttl.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 37 KiB |
12189
00_aoi_caching_simulation/multi_aoi_cache_simulation.ipynb
Normal file
12189
00_aoi_caching_simulation/multi_aoi_cache_simulation.ipynb
Normal file
File diff suppressed because one or more lines are too long
97
00_aoi_caching_simulation/note.md
Normal file
97
00_aoi_caching_simulation/note.md
Normal file
@@ -0,0 +1,97 @@
|
||||
# Age Caching Simulation
|
||||
|
||||
Client -> TTL Cache -> Database
|
||||
Capacity C (C = n (example: 100))
|
||||
|
||||
TTL increases on cache hit
|
||||
Age of information / Age of the entry in the cache
|
||||
Database has latest object, cache entry may be old (we don't know)
|
||||
|
||||
Age of entry should have low age of information
|
||||
|
||||
Update function from cache to refresh based on mu (refresh rate)
|
||||
|
||||
Loss function based on TTL and age in cache called beta(i)
|
||||
|
||||
Event based simulation
|
||||
|
||||
lambda(i) is zipf distribution describing the rate the client requests the object "i"
|
||||
|
||||
Inter arrival time of each object => exponential
|
||||
|
||||
Hit rate and the average age of the object based on TTL
|
||||
|
||||
## Notes 11/13/2024
|
||||
|
||||
### Limitations of time
|
||||
|
||||
Run the simulation not time based but based on when the least ranked object is requested
|
||||
at least times for example.
|
||||
Least ranked object -> least zipf value
|
||||
|
||||
2-3h
|
||||
|
||||
### mu
|
||||
|
||||
Simulate lambda and mu to see what increases the cost function
|
||||
|
||||
### Bandwidth
|
||||
|
||||
Finite bandwidth between cache and server
|
||||
miss requests and cache updates should not go over the bandwidth
|
||||
|
||||
### Two versions
|
||||
|
||||
- [x] Default
|
||||
|
||||
- Do Refresh
|
||||
- Do Request
|
||||
|
||||
- [x] No Refresh
|
||||
|
||||
- Just Request
|
||||
- No Refresh
|
||||
|
||||
- [x] Infinite TTL
|
||||
|
||||
- LRU
|
||||
- Infinite TTL
|
||||
- No Refresh
|
||||
|
||||
- [x] Random Eviction
|
||||
|
||||
- Random eviction
|
||||
- Regular TTL
|
||||
- With 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
|
||||
|
||||
CPU times: user 3min 46s, sys: 43 s, total: 4min 29s
|
||||
Wall time: 4min 29s
|
||||
for ACCESS_COUNT_LIMIT = 10_000 # Total time to run the simulation
|
||||
|
||||
## Notes 11/29/2024
|
||||
|
||||
C_m = cost for cache miss
|
||||
C_delta = cost for refresh
|
||||
C = Cm + C_delta over all objects summarized
|
||||
|
||||
We wanna minimize cost function
|
||||
|
||||
N = number of objects
|
||||
B is cache size
|
||||
|
||||
C_f roughly equals C_m
|
||||
Reference in New Issue
Block a user