Compare commits
19 Commits
convergenc
...
b166a9e64a
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b166a9e64a | ||
|
|
ed08b8fef3 | ||
|
|
6da629f90e | ||
|
|
b7aaa31860 | ||
|
|
78345c9788 | ||
|
|
032251dd78 | ||
|
|
78e700a2cf | ||
|
|
7d194176f0 | ||
|
|
036789cc7c | ||
|
|
3787d004c1 | ||
|
|
0ea1fb5d07 | ||
|
|
272f722f23 | ||
|
|
799f7b78d4 | ||
|
|
4ea5505130 | ||
|
|
b2cc80bb09 | ||
|
|
f32588340d | ||
|
|
6672608721 | ||
|
|
ad4654dd0f | ||
|
|
3a9e3105f2 |
1
00_aoi_caching_simulation/.gitignore
vendored
Normal file
1
00_aoi_caching_simulation/.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.aoi_cache/
|
||||
83016
00_aoi_caching_simulation/00-aoi_cache_simulation.ipynb
Normal file
83016
00_aoi_caching_simulation/00-aoi_cache_simulation.ipynb
Normal file
File diff suppressed because one or more lines are too long
441
00_aoi_caching_simulation/01-aoi_cache_experiment_eval.ipynb
Normal file
441
00_aoi_caching_simulation/01-aoi_cache_experiment_eval.ipynb
Normal file
File diff suppressed because one or more lines are too long
868
00_aoi_caching_simulation/02-multi_aoi_cache_simulation.ipynb
Normal file
868
00_aoi_caching_simulation/02-multi_aoi_cache_simulation.ipynb
Normal file
File diff suppressed because one or more lines are too long
@@ -0,0 +1,101 @@
|
||||
obj_id,access_count,hits,misses,mu,lambda,hit_rate,expected_hit_rate,expected_hit_rate_delta,avg_cache_time,cache_time_delta,avg_age,expected_age,age_delta
|
||||
1,2161,876,1285,0,1,0.4053678852383156,0.3934693402873666,0.011898544950948997,0.4136185855086714,-0.008250700270355849,0.1681564395938802,0.4850773021195143,-0.31692086252563406
|
||||
2,6271,4860,1411,0,3,0.7749960133949928,0.7768698398515702,-0.0018738264565774099,0.774366172536237,0.0006298408587558368,0.640269719141067,0.646830691842608,-0.00656097270154099
|
||||
3,2189,878,1311,0,1,0.4010963910461398,0.3934693402873666,0.007627050758773235,0.4209574744538773,-0.019861083407737512,0.16617191831921493,0.4779955019315631,-0.3118235836123482
|
||||
4,2128,868,1260,0,1,0.40789473684210525,0.3934693402873666,0.014425396554738679,0.4057494228780713,0.002145313964033946,0.16790942451951263,0.4893042575285566,-0.321394833009044
|
||||
5,4202,2670,1532,0,2,0.6354117087101381,0.6321205588285577,0.003291149881580413,0.6356977583293657,-0.00028604961922762406,0.37567946681757214,0.5328382553640308,-0.1571587885464587
|
||||
6,2105,862,1243,0,1,0.40950118764845606,0.3934693402873666,0.01603184736108948,0.3990388400077568,0.010462347640699254,0.15939484147443486,0.49200633083521855,-0.33261148936078366
|
||||
7,10456,9565,891,0,5,0.9147857689364958,0.9179150013761012,-0.0031292324396053894,0.9170460055734527,-0.002260236636956958,1.7046697327147042,1.1212877432679973,0.5833819894467069
|
||||
8,2170,895,1275,0,1,0.41244239631336405,0.3934693402873666,0.01897305602599747,0.4100325786399365,0.0024098176734275722,0.16264048333199443,0.4969836547996033,-0.3343431714676089
|
||||
9,2119,871,1248,0,1,0.4110429447852761,0.3934693402873666,0.017573604497909512,0.40138213151247143,0.009660813272804658,0.16432059709587082,0.49461050724637684,-0.330289910150506
|
||||
10,2063,816,1247,0,1,0.3955404750363548,0.3934693402873666,0.002071134748988235,0.3962599096670992,-0.0007194346307443644,0.14844207327799422,0.46890111815421964,-0.32045904487622545
|
||||
11,4225,2709,1516,0,2,0.6411834319526627,0.6321205588285577,0.009062873124105031,0.6373219633214597,0.003861468631202958,0.3670575401411177,0.5444057255251741,-0.1773481853840564
|
||||
12,2139,911,1228,0,1,0.42589995324918184,0.3934693402873666,0.032430612961815264,0.3998033886168909,0.02609656463229093,0.17382855451557144,0.5202726010572969,-0.34644404654172545
|
||||
13,2142,857,1285,0,1,0.400093370681606,0.3934693402873666,0.006624030394239422,0.4042950947026612,-0.004201724021055175,0.1524196588834139,0.476343995339562,-0.3239243364561481
|
||||
14,2065,813,1252,0,1,0.3937046004842615,0.3934693402873666,0.00023526019689490418,0.39544741802748923,-0.0017428175432277482,0.1489354284847292,0.46592443057057276,-0.3169890020858436
|
||||
15,4208,2687,1521,0,2,0.6385456273764258,0.6321205588285577,0.0064250685478681735,0.6398069187772502,-0.001261291400824316,0.37265202056932334,0.5390759008876931,-0.16642388031836974
|
||||
16,4308,2808,1500,0,2,0.6518105849582173,0.6321205588285577,0.019690026129659643,0.6414461954630342,0.010364389495183146,0.3851197543114368,0.5666509274873526,-0.18153117317591577
|
||||
17,2108,865,1243,0,1,0.4103415559772296,0.3934693402873666,0.016872215689863024,0.3995518452080384,0.010789710769191219,0.16367656809686434,0.49342446188396016,-0.3297478937870958
|
||||
18,2099,845,1254,0,1,0.40257265364459266,0.3934693402873666,0.009103313357226084,0.40061401282477166,0.0019586408198210004,0.1617820232036271,0.4804340783406144,-0.3186520551369873
|
||||
19,6119,4728,1391,0,3,0.7726752737375389,0.7768698398515702,-0.004194566114031351,0.7652808190733658,0.0073944546641731,0.6342814025140753,0.6391457364266075,-0.00486433391253227
|
||||
20,2072,848,1224,0,1,0.4092664092664093,0.3934693402873666,0.015797068979042705,0.3957836553362977,0.013482753930111557,0.1645042532318545,0.4916107082102248,-0.3271064549783703
|
||||
21,2150,906,1244,0,1,0.4213953488372093,0.3934693402873666,0.02792600854984273,0.4023572911485284,0.019038057688680887,0.16388776661628024,0.5123808942610394,-0.34849312764475915
|
||||
22,2112,850,1262,0,1,0.4024621212121212,0.3934693402873666,0.00899278092475464,0.40105934085269856,0.0014027803594226507,0.15307930674201958,0.4802511687930907,-0.3271718620510711
|
||||
23,2137,875,1262,0,1,0.4094525035095929,0.3934693402873666,0.015983163222226315,0.40397831698770137,0.005474186521891522,0.15373850909868275,0.4919242733240309,-0.33818576422534813
|
||||
24,4279,2752,1527,0,2,0.6431409207758823,0.6321205588285577,0.011020361947324586,0.6393785737807963,0.00376234699508593,0.37219162972501857,0.5484090151044999,-0.17621738537948134
|
||||
25,2132,871,1261,0,1,0.40853658536585363,0.3934693402873666,0.015067245078487057,0.40203164825758647,0.006504937108267161,0.15302451811150247,0.49038246976391303,-0.33735795165241056
|
||||
26,2182,935,1247,0,1,0.4285059578368469,0.3934693402873666,0.03503661754948034,0.40834697165899264,0.020158986177854277,0.17233058416659286,0.5248837183574875,-0.3525531341908946
|
||||
27,2135,857,1278,0,1,0.40140515222482437,0.3934693402873666,0.007935811937457793,0.406602857282221,-0.00519770505739664,0.1582638524902445,0.47850475550869087,-0.3202409030184464
|
||||
28,10403,9548,855,0,5,0.9178121695664712,0.9179150013761012,-0.0001028318096299996,0.9183131061621529,-0.0005009365956817335,1.6804330594386916,1.1645823964619741,0.5158506629767174
|
||||
29,2125,834,1291,0,1,0.3924705882352941,0.3934693402873666,-0.000998752052072449,0.4086096305113602,-0.01613904227606605,0.14375750881887644,0.4639314106630011,-0.32017390184412464
|
||||
30,2113,859,1254,0,1,0.4065309985802177,0.3934693402873666,0.013061658292851108,0.401907716977448,0.004623281602769702,0.15706596537888268,0.48701946503356147,-0.3299534996546788
|
||||
31,2041,785,1256,0,1,0.38461538461538464,0.3934693402873666,-0.008853955671981939,0.3968349669126391,-0.01221958229725445,0.15322970868469252,0.4513888888888889,-0.2981591802041964
|
||||
32,8458,7325,1133,0,4,0.8660439820288485,0.8646647167633873,0.0013792652654611715,0.8737579471984939,-0.007713965169645398,1.0877741451913496,0.8661554694323765,0.2216186757589731
|
||||
33,2136,851,1285,0,1,0.39840823970037453,0.3934693402873666,0.004938899413007958,0.4038854918927366,-0.005477252192362059,0.15357212255286629,0.47357902401977964,-0.32000690146691335
|
||||
34,8651,7565,1086,0,4,0.8744653797248872,0.8646647167633873,0.00980066296149995,0.8703641381475667,0.004101241577320502,1.1598407417949124,0.9290555714929479,0.23078517030196444
|
||||
35,2156,863,1293,0,1,0.400278293135436,0.3934693402873666,0.006808952848069427,0.40840179715132374,-0.00812350401588774,0.15640465249356575,0.47664815283047535,-0.3202435003369096
|
||||
36,2080,825,1255,0,1,0.39663461538461536,0.3934693402873666,0.0031652750972487875,0.39648086867558724,0.00015374670902812415,0.14962466391727292,0.4706818166233517,-0.32105715270607876
|
||||
37,2186,921,1265,0,1,0.42131747483989024,0.3934693402873666,0.027848134552523662,0.4097863739500432,0.011531100889847046,0.16727217833572758,0.512245331528577,-0.3449731531928494
|
||||
38,6292,4887,1405,0,3,0.7767005721551176,0.7768698398515702,-0.00016926769645264628,0.7731542415398311,0.0035463306152864194,0.6519763185730709,0.6525751289514304,-0.0005988103783595156
|
||||
39,16839,16521,318,0,8,0.981115268127561,0.9816843611112658,-0.0005690929837047776,0.9813049769648476,-0.00018970883728663956,5.572155525480184,3.2780040001018023,2.294151525378382
|
||||
40,2000,763,1237,0,1,0.3815,0.3934693402873666,-0.01196934028736657,0.38695148267894,-0.005451482678939967,0.1428399520100718,0.44648199398975547,-0.3036420419796837
|
||||
41,8471,7339,1132,0,4,0.866367607130209,0.8646647167633873,0.0017028903668216966,0.8716352829311557,-0.0052676758009466695,1.1122916889853447,0.8684269276501213,0.2438647613352234
|
||||
42,8617,7513,1104,0,4,0.8718811651386793,0.8646647167633873,0.007216448375292006,0.8696351371864052,0.002246027952274132,1.2026383086141392,0.9088789595631505,0.29375934905098877
|
||||
43,4168,2663,1505,0,2,0.638915547024952,0.6321205588285577,0.006794988196394347,0.6278701511865299,0.011045395838422123,0.3741684260905813,0.5398189123163845,-0.16565048622580314
|
||||
44,2071,817,1254,0,1,0.3944954128440367,0.3934693402873666,0.0010260725566701434,0.3976063659679783,-0.0031109531239416066,0.14553331063866518,0.4672049441786284,-0.3216716335399632
|
||||
45,2112,856,1256,0,1,0.4053030303030303,0.3934693402873666,0.0118336900156637,0.4046925411452355,0.0006104891577947691,0.16358341076059285,0.48496918296221264,-0.3213857722016198
|
||||
46,2143,888,1255,0,1,0.4143723751749883,0.3934693402873666,0.02090303488762174,0.4055144709080245,0.008857904266963812,0.16473721563639826,0.5002711687068946,-0.3355339530704963
|
||||
47,21292,21156,136,0,10,0.9936126244598911,0.9932620530009145,0.0003505714589765452,0.9939858619755307,-0.00037323751563966834,12.2983334586331,7.802861078468348,4.4954723801647525
|
||||
48,2095,824,1271,0,1,0.3933174224343675,0.3934693402873666,-0.0001519178529990617,0.4006076053276996,-0.007290182893332109,0.14391701263538043,0.465298436759191,-0.3213814241238106
|
||||
49,2081,832,1249,0,1,0.3998077847188852,0.3934693402873666,0.006338444431518597,0.3947291952169016,0.005078589501983588,0.15396013651357388,0.47587455477598695,-0.32191441826241307
|
||||
50,2091,828,1263,0,1,0.39598278335724535,0.3934693402873666,0.0025134430698787735,0.40029143509255877,-0.004308651735313418,0.14701185993641738,0.4696203674996888,-0.3226085075632714
|
||||
51,10502,9625,877,0,5,0.9164920967434774,0.9179150013761012,-0.0014229046326237338,0.9176625088338448,-0.0011704120903673898,1.7915192292497244,1.1453127826443472,0.6462064466053772
|
||||
52,19012,18803,209,0,9,0.9890069429833789,0.9888910034617577,0.00011593952162114451,0.9887587298179763,0.00024821316540257765,9.890303761617792,5.0257635401876195,4.864540221430173
|
||||
53,2092,835,1257,0,1,0.3991395793499044,0.3934693402873666,0.00567023906253783,0.3985781855700331,0.0005613937798712998,0.16003707298105746,0.47477752872265166,-0.3147404557415942
|
||||
54,2068,834,1234,0,1,0.4032882011605416,0.3934693402873666,0.009818860873175017,0.3952954097727024,0.007992791387839204,0.15924047746753567,0.4816194498401036,-0.3223789723725679
|
||||
55,2048,789,1259,0,1,0.38525390625,0.3934693402873666,-0.008215434037366576,0.39926330087631434,-0.014009394626314342,0.16423147788530207,0.4523992638970509,-0.2881677860117488
|
||||
56,2053,808,1245,0,1,0.3935703848027277,0.3934693402873666,0.00010104451536113723,0.3894934940308004,0.0040768907719272995,0.13553491621084277,0.46570735932194346,-0.3301724431111007
|
||||
57,2222,879,1343,0,1,0.3955895589558956,0.3934693402873666,0.002120218668529017,0.419780971761987,-0.024191412806091384,0.1353060391265992,0.4689808946409092,-0.33367485551431
|
||||
58,36000,35993,7,0,17,0.9998055555555555,0.9997965316309894,9.02392456614276e-06,0.9999355341042772,-0.00012997854872165426,378.50433639486835,151.24579688941688,227.25853950545147
|
||||
59,4225,2682,1543,0,2,0.634792899408284,0.6321205588285577,0.0026723405797263178,0.636149359584161,-0.0013564601758769834,0.35825915638696276,0.5316185285837645,-0.1733593721968017
|
||||
60,2179,900,1279,0,1,0.4130335016062414,0.3934693402873666,0.01956416131887484,0.41141593958895634,0.001617562017285079,0.1623398882197403,0.4979887207878232,-0.33564883256808287
|
||||
61,54999,54997,2,0,26,0.9999636357024673,0.999997739670593,-3.410396812575378e-05,0.9999958250783535,-3.2189375886226834e-05,574.3794377755677,528.8269229011843,45.552514874383405
|
||||
62,2070,804,1266,0,1,0.3884057971014493,0.3934693402873666,-0.005063543185917285,0.3981729379134535,-0.009767140812004194,0.13961808313112956,0.45741028406336265,-0.3177922009322331
|
||||
63,2108,839,1269,0,1,0.3980075901328273,0.3934693402873666,0.004538249845460751,0.4062813595862404,-0.008273769453413071,0.16091165659428452,0.4729234067688609,-0.3120117501745764
|
||||
64,4191,2665,1526,0,2,0.635886423287998,0.6321205588285577,0.0037658644594403823,0.6378732068763165,-0.001986783588318497,0.36320059338496696,0.5337766061163098,-0.17057601273134287
|
||||
65,2142,891,1251,0,1,0.41596638655462187,0.3934693402873666,0.022497046267255294,0.4050883742576088,0.010878012297013073,0.1667826737188501,0.5029993809107017,-0.3362167071918516
|
||||
66,21183,21046,137,0,10,0.993532549686069,0.9932620530009145,0.00027049668515444214,0.9943433786826934,-0.0008108289966244353,15.530668743546816,7.705940792408688,7.824727951138128
|
||||
67,2173,900,1273,0,1,0.4141739530602853,0.3934693402873666,0.02070461277291874,0.41094663177355334,0.0032273212867319767,0.16486675876967827,0.49993238629842207,-0.3350656275287438
|
||||
68,145612,145611,1,0,69,0.99999313243414,0.999999999999999,-6.867565858992286e-06,0.9999948040974769,-1.6716633368663025e-06,1055.8050864397378,1055.155797086297,0.6492893534407358
|
||||
69,2069,817,1252,0,1,0.3948767520541324,0.3934693402873666,0.0014074117667658426,0.398572462373501,-0.003695710319368606,0.15404751406081857,0.46782334681695703,-0.31377583275613846
|
||||
70,2121,864,1257,0,1,0.4073550212164074,0.3934693402873666,0.0138856809290408,0.40149555295698364,0.005859468259423739,0.1590147732841509,0.48839903575155014,-0.32938426246739927
|
||||
71,4277,2760,1517,0,2,0.6453121346738369,0.6321205588285577,0.013191575845279191,0.6423741701907022,0.0029379644831346585,0.39251438040702397,0.5528982366395762,-0.1603838562325522
|
||||
72,2104,819,1285,0,1,0.38925855513307983,0.3934693402873666,-0.004210785154286745,0.4012543025664602,-0.011995747433380388,0.13876186298817328,0.45877283479608255,-0.3200109718079093
|
||||
73,2174,859,1315,0,1,0.3951241950321987,0.3934693402873666,0.0016548547448321238,0.4126512793168923,-0.017527084284693628,0.15516974405756503,0.4682249376002126,-0.31305519354264755
|
||||
74,2222,942,1280,0,1,0.4239423942394239,0.3934693402873666,0.03047305395205735,0.41539620663717014,0.008546187602253785,0.17958473092290256,0.5168309497471555,-0.33724621882425293
|
||||
75,6265,4872,1393,0,3,0.7776536312849162,0.7768698398515702,0.0007837914333459484,0.7778684136388897,-0.00021478235397354162,0.6540042654135567,0.6558246922860689,-0.0018204268725121597
|
||||
76,4173,2640,1533,0,2,0.6326383896477354,0.6321205588285577,0.0005178308191777781,0.6311090054104024,0.0015293842373330646,0.35427611811987997,0.5274019996880605,-0.17312588156818048
|
||||
77,4372,2822,1550,0,2,0.6454711802378774,0.6321205588285577,0.013350621409319752,0.6557354576768283,-0.010264277438950864,0.3678591936901438,0.5532291246289471,-0.18536993093880333
|
||||
78,6357,4978,1379,0,3,0.7830737769388076,0.7768698398515702,0.006203937087237432,0.7763885356170088,0.006685241321798818,0.653530279126432,0.6748388215314922,-0.021308542405060193
|
||||
79,31554,31528,26,0,15,0.9991760157190848,0.9994469156298522,-0.00027089991076745257,0.9990590703322231,0.00011694538686168876,82.784825808965,40.437172617813495,42.3476531911515
|
||||
80,2098,822,1276,0,1,0.39180171591992374,0.3934693402873666,-0.0016676243674428326,0.40035663806730976,-0.008554922147386013,0.147605965227123,0.4628537381371581,-0.3152477729100351
|
||||
81,2047,780,1267,0,1,0.38104543234000976,0.3934693402873666,-0.012423907947356816,0.3929863601006281,-0.011940927760618336,0.1381452895253521,0.44576916301232145,-0.30762387348696935
|
||||
82,10691,9841,850,0,5,0.9204938733514171,0.9179150013761012,0.0025788719753159217,0.9197564731290744,0.000737400222342699,1.7690646469509308,1.205694766275885,0.5633698806750458
|
||||
83,4267,2759,1508,0,2,0.6465901101476447,0.6321205588285577,0.014469551319087004,0.641913079620001,0.0046770305276436774,0.38956649010836225,0.5555649780542297,-0.1659984879458674
|
||||
84,2123,846,1277,0,1,0.39849269901083373,0.3934693402873666,0.005023358723467153,0.4068462336172865,-0.008353534606452773,0.14829809041525324,0.473717318582808,-0.32541922816755475
|
||||
85,2135,854,1281,0,1,0.4,0.3934693402873666,0.0065306597126334465,0.40829784611284575,-0.00829784611284573,0.1540852550231813,0.4761904761904762,-0.3221052211672949
|
||||
86,4158,2606,1552,0,2,0.6267436267436267,0.6321205588285577,-0.005376932084930952,0.6338373692754978,-0.007093742531871117,0.33831852107523475,0.5160996741390136,-0.17778115306377884
|
||||
87,2203,925,1278,0,1,0.4198819791193827,0.3934693402873666,0.02641263883201611,0.4134809088052727,0.006401070314109969,0.18118712505436893,0.5097516399905544,-0.32856451493618544
|
||||
88,4174,2622,1552,0,2,0.6281744130330618,0.6321205588285577,-0.003946145795495903,0.6336968947955216,-0.005522481762459841,0.34020251248815864,0.5188120437734749,-0.17860953128531626
|
||||
89,2097,850,1247,0,1,0.40534096328087743,0.3934693402873666,0.011871622993510855,0.3992220845404013,0.006118878740476119,0.16562412844510926,0.4850324184898183,-0.31940829004470905
|
||||
90,2119,848,1271,0,1,0.4001887682869278,0.3934693402873666,0.006719427999561212,0.40222286089397913,-0.002034092607051341,0.1396807386613311,0.47650088556073267,-0.33682014689940154
|
||||
91,4236,2698,1538,0,2,0.6369216241737489,0.6321205588285577,0.004801065345191202,0.6367809486992947,0.00014067547445417716,0.3448940221059557,0.5358308675181153,-0.19093684541215955
|
||||
92,4233,2716,1517,0,2,0.6416253248287267,0.6321205588285577,0.00950476600016903,0.638205175990322,0.0034201488384046907,0.3704597749583065,0.5453058363917621,-0.1748460614334556
|
||||
93,6330,4926,1404,0,3,0.7781990521327015,0.7768698398515702,0.0013292122811312534,0.7814046307952972,-0.0032055786625957428,0.6690130961440585,0.6576967118011895,0.011316384342868968
|
||||
94,2041,793,1248,0,1,0.3885350318471338,0.3934693402873666,-0.004934308440232793,0.3950805384627286,-0.006545506615594832,0.15518856821646174,0.45761659021406736,-0.30242802199760566
|
||||
95,4187,2665,1522,0,2,0.6364939097205636,0.6321205588285577,0.004373350892005967,0.6323923261502239,0.00410158357033974,0.3616604896468677,0.5349807704551958,-0.17332028080832806
|
||||
96,2101,869,1232,0,1,0.41361256544502617,0.3934693402873666,0.020143225157659594,0.39457208317551057,0.019040482269515602,0.154752802670318,0.49897486772486765,-0.34422206505454966
|
||||
97,2057,817,1240,0,1,0.39718035974720467,0.3934693402873666,0.003711019459838094,0.3968526426528745,0.00032771709433015994,0.15560542075980938,0.47157187913888704,-0.31596645837907766
|
||||
98,78225,78224,1,0,37,0.9999872163630553,0.9999999907625503,-1.2774399494985822e-05,0.9999818689375543,5.347425501067704e-06,1052.5714929838052,1057.087837797783,-4.516344813977867
|
||||
99,8546,7441,1105,0,4,0.8706997425696232,0.8646647167633873,0.0060350258062359385,0.8706164166557977,8.332591382553822e-05,1.2231777707093259,0.8999221652660663,0.3232556054432596
|
||||
100,4254,2704,1550,0,2,0.6356370474847203,0.6321205588285577,0.0035164886561626085,0.6460691670704561,-0.010432119585735866,0.36843551403927555,0.533283386957691,-0.1648478729184154
|
||||
|
@@ -0,0 +1,101 @@
|
||||
obj_id,hit_rate,expected_hit_rate,avg_cache_time,avg_age,expected_age
|
||||
1,0.4053678852383156,0.3934693402873666,0.4136185855086714,0.1681564395938802,0.4850773021195143
|
||||
2,0.7749960133949928,0.7768698398515702,0.774366172536237,0.640269719141067,0.646830691842608
|
||||
3,0.4010963910461398,0.3934693402873666,0.4209574744538773,0.16617191831921493,0.4779955019315631
|
||||
4,0.40789473684210525,0.3934693402873666,0.4057494228780713,0.16790942451951263,0.4893042575285566
|
||||
5,0.6354117087101381,0.6321205588285577,0.6356977583293657,0.37567946681757214,0.5328382553640308
|
||||
6,0.40950118764845606,0.3934693402873666,0.3990388400077568,0.15939484147443486,0.49200633083521855
|
||||
7,0.9147857689364958,0.9179150013761012,0.9170460055734527,1.7046697327147042,1.1212877432679973
|
||||
8,0.41244239631336405,0.3934693402873666,0.4100325786399365,0.16264048333199443,0.4969836547996033
|
||||
9,0.4110429447852761,0.3934693402873666,0.40138213151247143,0.16432059709587082,0.49461050724637684
|
||||
10,0.3955404750363548,0.3934693402873666,0.3962599096670992,0.14844207327799422,0.46890111815421964
|
||||
11,0.6411834319526627,0.6321205588285577,0.6373219633214597,0.3670575401411177,0.5444057255251741
|
||||
12,0.42589995324918184,0.3934693402873666,0.3998033886168909,0.17382855451557144,0.5202726010572969
|
||||
13,0.400093370681606,0.3934693402873666,0.4042950947026612,0.1524196588834139,0.476343995339562
|
||||
14,0.3937046004842615,0.3934693402873666,0.39544741802748923,0.1489354284847292,0.46592443057057276
|
||||
15,0.6385456273764258,0.6321205588285577,0.6398069187772502,0.37265202056932334,0.5390759008876931
|
||||
16,0.6518105849582173,0.6321205588285577,0.6414461954630342,0.3851197543114368,0.5666509274873526
|
||||
17,0.4103415559772296,0.3934693402873666,0.3995518452080384,0.16367656809686434,0.49342446188396016
|
||||
18,0.40257265364459266,0.3934693402873666,0.40061401282477166,0.1617820232036271,0.4804340783406144
|
||||
19,0.7726752737375389,0.7768698398515702,0.7652808190733658,0.6342814025140753,0.6391457364266075
|
||||
20,0.4092664092664093,0.3934693402873666,0.3957836553362977,0.1645042532318545,0.4916107082102248
|
||||
21,0.4213953488372093,0.3934693402873666,0.4023572911485284,0.16388776661628024,0.5123808942610394
|
||||
22,0.4024621212121212,0.3934693402873666,0.40105934085269856,0.15307930674201958,0.4802511687930907
|
||||
23,0.4094525035095929,0.3934693402873666,0.40397831698770137,0.15373850909868275,0.4919242733240309
|
||||
24,0.6431409207758823,0.6321205588285577,0.6393785737807963,0.37219162972501857,0.5484090151044999
|
||||
25,0.40853658536585363,0.3934693402873666,0.40203164825758647,0.15302451811150247,0.49038246976391303
|
||||
26,0.4285059578368469,0.3934693402873666,0.40834697165899264,0.17233058416659286,0.5248837183574875
|
||||
27,0.40140515222482437,0.3934693402873666,0.406602857282221,0.1582638524902445,0.47850475550869087
|
||||
28,0.9178121695664712,0.9179150013761012,0.9183131061621529,1.6804330594386916,1.1645823964619741
|
||||
29,0.3924705882352941,0.3934693402873666,0.4086096305113602,0.14375750881887644,0.4639314106630011
|
||||
30,0.4065309985802177,0.3934693402873666,0.401907716977448,0.15706596537888268,0.48701946503356147
|
||||
31,0.38461538461538464,0.3934693402873666,0.3968349669126391,0.15322970868469252,0.4513888888888889
|
||||
32,0.8660439820288485,0.8646647167633873,0.8737579471984939,1.0877741451913496,0.8661554694323765
|
||||
33,0.39840823970037453,0.3934693402873666,0.4038854918927366,0.15357212255286629,0.47357902401977964
|
||||
34,0.8744653797248872,0.8646647167633873,0.8703641381475667,1.1598407417949124,0.9290555714929479
|
||||
35,0.400278293135436,0.3934693402873666,0.40840179715132374,0.15640465249356575,0.47664815283047535
|
||||
36,0.39663461538461536,0.3934693402873666,0.39648086867558724,0.14962466391727292,0.4706818166233517
|
||||
37,0.42131747483989024,0.3934693402873666,0.4097863739500432,0.16727217833572758,0.512245331528577
|
||||
38,0.7767005721551176,0.7768698398515702,0.7731542415398311,0.6519763185730709,0.6525751289514304
|
||||
39,0.981115268127561,0.9816843611112658,0.9813049769648476,5.572155525480184,3.2780040001018023
|
||||
40,0.3815,0.3934693402873666,0.38695148267894,0.1428399520100718,0.44648199398975547
|
||||
41,0.866367607130209,0.8646647167633873,0.8716352829311557,1.1122916889853447,0.8684269276501213
|
||||
42,0.8718811651386793,0.8646647167633873,0.8696351371864052,1.2026383086141392,0.9088789595631505
|
||||
43,0.638915547024952,0.6321205588285577,0.6278701511865299,0.3741684260905813,0.5398189123163845
|
||||
44,0.3944954128440367,0.3934693402873666,0.3976063659679783,0.14553331063866518,0.4672049441786284
|
||||
45,0.4053030303030303,0.3934693402873666,0.4046925411452355,0.16358341076059285,0.48496918296221264
|
||||
46,0.4143723751749883,0.3934693402873666,0.4055144709080245,0.16473721563639826,0.5002711687068946
|
||||
47,0.9936126244598911,0.9932620530009145,0.9939858619755307,12.2983334586331,7.802861078468348
|
||||
48,0.3933174224343675,0.3934693402873666,0.4006076053276996,0.14391701263538043,0.465298436759191
|
||||
49,0.3998077847188852,0.3934693402873666,0.3947291952169016,0.15396013651357388,0.47587455477598695
|
||||
50,0.39598278335724535,0.3934693402873666,0.40029143509255877,0.14701185993641738,0.4696203674996888
|
||||
51,0.9164920967434774,0.9179150013761012,0.9176625088338448,1.7915192292497244,1.1453127826443472
|
||||
52,0.9890069429833789,0.9888910034617577,0.9887587298179763,9.890303761617792,5.0257635401876195
|
||||
53,0.3991395793499044,0.3934693402873666,0.3985781855700331,0.16003707298105746,0.47477752872265166
|
||||
54,0.4032882011605416,0.3934693402873666,0.3952954097727024,0.15924047746753567,0.4816194498401036
|
||||
55,0.38525390625,0.3934693402873666,0.39926330087631434,0.16423147788530207,0.4523992638970509
|
||||
56,0.3935703848027277,0.3934693402873666,0.3894934940308004,0.13553491621084277,0.46570735932194346
|
||||
57,0.3955895589558956,0.3934693402873666,0.419780971761987,0.1353060391265992,0.4689808946409092
|
||||
58,0.9998055555555555,0.9997965316309894,0.9999355341042772,378.50433639486835,151.24579688941688
|
||||
59,0.634792899408284,0.6321205588285577,0.636149359584161,0.35825915638696276,0.5316185285837645
|
||||
60,0.4130335016062414,0.3934693402873666,0.41141593958895634,0.1623398882197403,0.4979887207878232
|
||||
61,0.9999636357024673,0.999997739670593,0.9999958250783535,574.3794377755677,528.8269229011843
|
||||
62,0.3884057971014493,0.3934693402873666,0.3981729379134535,0.13961808313112956,0.45741028406336265
|
||||
63,0.3980075901328273,0.3934693402873666,0.4062813595862404,0.16091165659428452,0.4729234067688609
|
||||
64,0.635886423287998,0.6321205588285577,0.6378732068763165,0.36320059338496696,0.5337766061163098
|
||||
65,0.41596638655462187,0.3934693402873666,0.4050883742576088,0.1667826737188501,0.5029993809107017
|
||||
66,0.993532549686069,0.9932620530009145,0.9943433786826934,15.530668743546816,7.705940792408688
|
||||
67,0.4141739530602853,0.3934693402873666,0.41094663177355334,0.16486675876967827,0.49993238629842207
|
||||
68,0.99999313243414,0.999999999999999,0.9999948040974769,1055.8050864397378,1055.155797086297
|
||||
69,0.3948767520541324,0.3934693402873666,0.398572462373501,0.15404751406081857,0.46782334681695703
|
||||
70,0.4073550212164074,0.3934693402873666,0.40149555295698364,0.1590147732841509,0.48839903575155014
|
||||
71,0.6453121346738369,0.6321205588285577,0.6423741701907022,0.39251438040702397,0.5528982366395762
|
||||
72,0.38925855513307983,0.3934693402873666,0.4012543025664602,0.13876186298817328,0.45877283479608255
|
||||
73,0.3951241950321987,0.3934693402873666,0.4126512793168923,0.15516974405756503,0.4682249376002126
|
||||
74,0.4239423942394239,0.3934693402873666,0.41539620663717014,0.17958473092290256,0.5168309497471555
|
||||
75,0.7776536312849162,0.7768698398515702,0.7778684136388897,0.6540042654135567,0.6558246922860689
|
||||
76,0.6326383896477354,0.6321205588285577,0.6311090054104024,0.35427611811987997,0.5274019996880605
|
||||
77,0.6454711802378774,0.6321205588285577,0.6557354576768283,0.3678591936901438,0.5532291246289471
|
||||
78,0.7830737769388076,0.7768698398515702,0.7763885356170088,0.653530279126432,0.6748388215314922
|
||||
79,0.9991760157190848,0.9994469156298522,0.9990590703322231,82.784825808965,40.437172617813495
|
||||
80,0.39180171591992374,0.3934693402873666,0.40035663806730976,0.147605965227123,0.4628537381371581
|
||||
81,0.38104543234000976,0.3934693402873666,0.3929863601006281,0.1381452895253521,0.44576916301232145
|
||||
82,0.9204938733514171,0.9179150013761012,0.9197564731290744,1.7690646469509308,1.205694766275885
|
||||
83,0.6465901101476447,0.6321205588285577,0.641913079620001,0.38956649010836225,0.5555649780542297
|
||||
84,0.39849269901083373,0.3934693402873666,0.4068462336172865,0.14829809041525324,0.473717318582808
|
||||
85,0.4,0.3934693402873666,0.40829784611284575,0.1540852550231813,0.4761904761904762
|
||||
86,0.6267436267436267,0.6321205588285577,0.6338373692754978,0.33831852107523475,0.5160996741390136
|
||||
87,0.4198819791193827,0.3934693402873666,0.4134809088052727,0.18118712505436893,0.5097516399905544
|
||||
88,0.6281744130330618,0.6321205588285577,0.6336968947955216,0.34020251248815864,0.5188120437734749
|
||||
89,0.40534096328087743,0.3934693402873666,0.3992220845404013,0.16562412844510926,0.4850324184898183
|
||||
90,0.4001887682869278,0.3934693402873666,0.40222286089397913,0.1396807386613311,0.47650088556073267
|
||||
91,0.6369216241737489,0.6321205588285577,0.6367809486992947,0.3448940221059557,0.5358308675181153
|
||||
92,0.6416253248287267,0.6321205588285577,0.638205175990322,0.3704597749583065,0.5453058363917621
|
||||
93,0.7781990521327015,0.7768698398515702,0.7814046307952972,0.6690130961440585,0.6576967118011895
|
||||
94,0.3885350318471338,0.3934693402873666,0.3950805384627286,0.15518856821646174,0.45761659021406736
|
||||
95,0.6364939097205636,0.6321205588285577,0.6323923261502239,0.3616604896468677,0.5349807704551958
|
||||
96,0.41361256544502617,0.3934693402873666,0.39457208317551057,0.154752802670318,0.49897486772486765
|
||||
97,0.39718035974720467,0.3934693402873666,0.3968526426528745,0.15560542075980938,0.47157187913888704
|
||||
98,0.9999872163630553,0.9999999907625503,0.9999818689375543,1052.5714929838052,1057.087837797783
|
||||
99,0.8706997425696232,0.8646647167633873,0.8706164166557977,1.2231777707093259,0.8999221652660663
|
||||
100,0.6356370474847203,0.6321205588285577,0.6460691670704561,0.36843551403927555,0.533283386957691
|
||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,9 @@
|
||||
,hit_rate,expected_hit_rate,avg_cache_time,avg_age,expected_age
|
||||
count,100.0,100.0,100.0,100.0,100.0
|
||||
mean,0.5648844987422205,0.558119350722809,0.5647908293259941,32.19642278453834,29.072015257816783
|
||||
std,0.2139331933618249,0.2170740756563778,0.21381482828433906,162.04336758827446,157.33338179627194
|
||||
min,0.38104543234000976,0.3934693402873666,0.38695148267894,0.1353060391265992,0.44576916301232145
|
||||
25%,0.3999519461797213,0.3934693402873666,0.40061241095050365,0.1545859157585338,0.4761114958368539
|
||||
50%,0.4142731641176368,0.3934693402873666,0.41048960520674493,0.16647729601903252,0.5001017775026584
|
||||
75%,0.6478952288502878,0.6321205588285577,0.6484857397220491,0.3903034626830277,0.5583364654125104
|
||||
max,0.99999313243414,0.999999999999999,0.9999958250783535,1055.8050864397378,1057.087837797783
|
||||
|
@@ -0,0 +1,101 @@
|
||||
obj_id,access_count,hits,misses,mu,lambda,hit_rate,expected_hit_rate,expected_hit_rate_delta,avg_cache_time,cache_time_delta,avg_age,expected_age,age_delta
|
||||
1,4144,3585,559,0,2,0.8651061776061776,0.8646647167633873,0.00044146084279028663,0.8639953325880592,0.0011108450181184226,2.372490918780109,1.7192688550034934,0.6532220637766155
|
||||
2,2156,1392,764,0,1,0.6456400742115028,0.6321205588285577,0.013519515382945158,0.6467569961493514,-0.001116921937848625,0.7153746498241418,1.1071616189638587,-0.3917869691397169
|
||||
3,2078,1321,757,0,1,0.6357074109720885,0.6321205588285577,0.0035868521435308276,0.6317592865441175,0.003948124427970989,0.747581971261324,1.0668449769397554,-0.31926300567843147
|
||||
4,2067,1294,773,0,1,0.6260280599903242,0.6321205588285577,-0.006092498838233484,0.6306521980455059,-0.004624138055181692,0.711918729104051,1.029500937817666,-0.3175822087136151
|
||||
5,37850,37849,1,0,18,0.9999735799207398,0.9999999847700203,-2.6404849280514675e-05,0.9999981122400605,-2.4532319320758056e-05,1053.911688655145,1051.3749998176343,2.5366888375108374
|
||||
6,2032,1258,774,0,1,0.6190944881889764,0.6321205588285577,-0.013026070639581278,0.6297240784796383,-0.010629590290661906,0.6800747285490315,1.003846909042357,-0.32377218049332546
|
||||
7,6243,5919,324,0,3,0.9481018740989908,0.950212931632136,-0.002111057533145222,0.9478511250356125,0.00025074906337829717,4.952288503711561,3.125866390152691,1.8264221135588699
|
||||
8,10662,10593,69,0,5,0.9935284186831739,0.9932620530009145,0.00026636568225935076,0.9942835443881529,-0.0007551257049790427,26.111757185568532,15.402011598293935,10.709745587274597
|
||||
9,2136,1398,738,0,1,0.6544943820224719,0.6321205588285577,0.022373823193914233,0.6394613807691697,0.015033001253302203,0.7859895306791574,1.1449473408146644,-0.358957810135507
|
||||
10,2178,1392,786,0,1,0.6391184573002755,0.6321205588285577,0.006997898471717834,0.6580019578799743,-0.018883500579698786,0.7496671781579063,1.0804541663993843,-0.330786988241478
|
||||
11,2081,1315,766,0,1,0.6319077366650648,0.6321205588285577,-0.00021282216349283178,0.6310998226235776,0.0008079140414872787,0.7433085896504383,1.051965220948005,-0.3086566312975667
|
||||
12,2152,1376,776,0,1,0.6394052044609665,0.6321205588285577,0.007284645632408826,0.648142548597356,-0.008737344136389491,0.7197819599664889,1.0816092760128104,-0.36182731604632157
|
||||
13,25504,25503,1,0,12,0.9999607904642409,0.9999938557876467,-3.306532340574542e-05,0.9999646249241597,-3.8344599188055994e-06,1060.1371766518919,1062.6458329246743,-2.5086562727824457
|
||||
14,2132,1374,758,0,1,0.6444652908067542,0.6321205588285577,0.012344731978196521,0.6363029070305422,0.008162383776212034,0.7149829172113354,1.1022822541681276,-0.3872993369567922
|
||||
15,2096,1327,769,0,1,0.6331106870229007,0.6321205588285577,0.0009901281943430762,0.6336017863670802,-0.0004910993441794576,0.6672198316991778,1.0566446591879988,-0.389424827488821
|
||||
16,2083,1309,774,0,1,0.628420547287566,0.6321205588285577,-0.0037000115409916434,0.6393565917941846,-0.010936044506618559,0.7321649924060737,1.0385612445760812,-0.30639625217000754
|
||||
17,2131,1354,777,0,1,0.6353824495541999,0.6321205588285577,0.0032618907256422025,0.6361046261468197,-0.0007221765926198609,0.6337738278951395,1.0655609903816503,-0.43178716248651083
|
||||
18,2121,1355,766,0,1,0.6388495992456389,0.6321205588285577,0.006729040417081222,0.6296742334462819,0.00917536579935696,0.7388308522582088,1.0793726921193294,-0.34054183986112063
|
||||
19,2046,1316,730,0,1,0.6432062561094819,0.6321205588285577,0.011085697280924234,0.6141142718866518,0.029091984222830103,0.7605000151485813,1.0970866982308312,-0.3365866830822498
|
||||
20,2013,1233,780,0,1,0.6125186289120715,0.6321205588285577,-0.019601929916486127,0.6226818602497519,-0.010163231337680378,0.6915879205654274,0.9803106782311958,-0.2887227576657684
|
||||
21,2112,1341,771,0,1,0.6349431818181818,0.6321205588285577,0.0028226229896241017,0.6413355837740553,-0.006392401955873539,0.6984463948539349,1.0638287802519883,-0.36538238539805346
|
||||
22,2117,1353,764,0,1,0.6391119508738782,0.6321205588285577,0.00699139204532051,0.6395772807924043,-0.00046532991852610284,0.7622246068929017,1.080427976522776,-0.3182033696298743
|
||||
23,2078,1299,779,0,1,0.6251203079884504,0.6321205588285577,-0.007000250840107247,0.6354233871544687,-0.010303079166018247,0.6810982159846581,1.026091703181265,-0.34499348719660694
|
||||
24,19013,19009,4,0,9,0.9997896176300426,0.9998765901959134,-8.697256587075763e-05,0.9998499037584104,-6.0286128367836866e-05,430.6060727502862,264.0416637443942,166.564409005892
|
||||
25,4135,3552,583,0,2,0.8590084643288997,0.8646647167633873,-0.005656252434487641,0.8694381430423217,-0.010429678713422041,2.2988148924353795,1.6386757977927582,0.6601390946426213
|
||||
26,2160,1407,753,0,1,0.6513888888888889,0.6321205588285577,0.01926833006033124,0.6392603714484355,0.012128517440453401,0.7784015705980697,1.1314875066596524,-0.3530859360615827
|
||||
27,4062,3488,574,0,2,0.8586903003446578,0.8646647167633873,-0.0059744164187295334,0.8568882317060824,0.0018020686385753493,1.9409638392472985,1.6346604518079233,0.30630338743937524
|
||||
28,2102,1332,770,0,1,0.6336822074215034,0.6321205588285577,0.0015616485929457191,0.6388596898868745,-0.005177482465371086,0.7674516829968093,1.0588779886392004,-0.291426305642391
|
||||
29,8523,8366,157,0,4,0.9815792561304705,0.9816843611112658,-0.00010510498079530084,0.9804367729112989,0.0011424832191715417,11.989301865792612,6.722747026010593,5.266554839782019
|
||||
30,50913,50912,1,0,24,0.9999803586510322,0.9999999999622486,-1.964131121645618e-05,0.9999986656563125,-1.8307005280271405e-05,1051.556950792329,1060.6770832338811,-9.120132441552187
|
||||
31,2066,1315,751,0,1,0.6364956437560504,0.6321205588285577,0.004375084927492723,0.6290865426462895,0.007409101109760896,0.7230200777724071,1.0699684262056588,-0.34694834843325173
|
||||
32,4220,3665,555,0,2,0.8684834123222749,0.8646647167633873,0.003818695558887586,0.8699431413615347,-0.0014597290392598383,2.157800749365557,1.7671025496009645,0.39069819976459264
|
||||
33,18970,18967,3,0,9,0.9998418555614128,0.9998765901959134,-3.4734634500543926e-05,0.9996632274608059,0.00017862810060687018,414.71678401757964,351.26851632199947,63.44826769558017
|
||||
34,2017,1253,764,0,1,0.6212196331184928,0.6321205588285577,-0.010900925710064846,0.6234482825211313,-0.0022286494026384496,0.6546370683918411,1.0116163920777494,-0.35697932368590835
|
||||
35,482945,482944,1,0,230,0.9999979293708393,1.0,-2.070629160688675e-06,0.9999954591933033,2.47017753596257e-06,1051.4308899443467,1049.8793478041084,1.5515421402383254
|
||||
36,6414,6109,305,0,3,0.9524477705020268,0.950212931632136,0.0022348388698907318,0.9512728244379791,0.001174946064047666,5.524010217324982,3.4195551005821376,2.104455116742844
|
||||
37,4220,3662,558,0,2,0.8677725118483413,0.8646647167633873,0.003107795084953957,0.8645046758974438,0.003267835950897413,2.1730423630741207,1.7568317267509388,0.4162106363231819
|
||||
38,2029,1258,771,0,1,0.6200098570724495,0.6321205588285577,-0.012110701756108178,0.6245609074067603,-0.004551050334310802,0.6951414331367817,1.0071835083536647,-0.312042075216883
|
||||
39,2140,1371,769,0,1,0.6406542056074767,0.6321205588285577,0.00853364677891899,0.6465996427873995,-0.005945437179922797,0.7331063680345756,1.0866609455921368,-0.35355457755756114
|
||||
40,396893,396892,1,0,189,0.9999974804292341,1.0,-2.5195707659131372e-06,0.9999997450855033,-2.26465626917971e-06,1049.6389396004367,1049.9801587369875,-0.3412191365507624
|
||||
41,18809,18804,5,0,9,0.9997341698123239,0.9998765901959134,-0.00014242038358946996,0.999761865309944,-2.7695497620161547e-05,230.1592470517047,208.96110741851095,21.19813963319376
|
||||
42,2101,1332,769,0,1,0.6339838172298905,0.6321205588285577,0.0018632584013328346,0.6323890173317033,0.001594799898187227,0.7117787497314539,1.0600592353645504,-0.34828048563309644
|
||||
43,2079,1330,749,0,1,0.6397306397306397,0.6321205588285577,0.007610080902082039,0.6221478195297644,0.017582820200875315,0.7313189714743383,1.0829223358728817,-0.35160336439854334
|
||||
44,2138,1367,771,0,1,0.6393826005612722,0.6321205588285577,0.007262041732714497,0.6463898487664325,-0.007007248205160299,0.7184997883851266,1.0815181573109378,-0.3630183689258112
|
||||
45,2165,1413,752,0,1,0.6526558891454965,0.6321205588285577,0.020535330316938882,0.6392583776004548,0.013397511545041763,0.7351676021170711,1.1369513605603987,-0.4017837584433276
|
||||
46,4187,3601,586,0,2,0.860042990207786,0.8646647167633873,-0.004621726555601335,0.8637169618768995,-0.0036739716691135405,2.063093178693653,1.6518573030005026,0.41123587569315045
|
||||
47,2148,1383,765,0,1,0.6438547486033519,0.6321205588285577,0.011734189774794235,0.6463634638233302,-0.002508715219978308,0.7481312973439003,1.0997584420344175,-0.35162714469051726
|
||||
48,6425,6109,316,0,3,0.9508171206225681,0.950212931632136,0.0006041889904320197,0.9563334512206229,-0.005516330598054786,5.633691606183319,3.3032787947584223,2.330412811424897
|
||||
49,16931,16925,6,0,8,0.9996456204595121,0.9996645373720975,-1.891691258537609e-05,0.9997767430658197,-0.00013112260630754324,356.27256314172126,176.3333277951613,179.93923534655997
|
||||
50,2000,1234,766,0,1,0.617,0.6321205588285577,-0.015120558828557673,0.6204614943875189,-0.0034614943875188597,0.6793668808109574,0.996268433791746,-0.3169015529807886
|
||||
51,4273,3713,560,0,2,0.8689445354551837,0.8646647167633873,0.004279818691796389,0.8656165925524981,0.0033279429026855656,2.218002636640929,1.7738239463704335,0.4441786902704956
|
||||
52,2079,1304,775,0,1,0.6272246272246272,0.6321205588285577,-0.004895931603930426,0.6343644349161804,-0.007139807691553202,0.7438857528020518,1.0340186702011005,-0.2901329173990487
|
||||
53,2127,1369,758,0,1,0.6436295251527974,0.6321205588285577,0.0115089663242397,0.6348467466200354,0.008782778532761992,0.7602205110067514,1.0988294952995659,-0.3386089842928145
|
||||
54,8543,8407,136,0,4,0.9840805337703383,0.9816843611112658,0.0023961726590725485,0.9843279775968735,-0.0002474438265351875,13.378780841088949,7.789020583897302,5.589760257191647
|
||||
55,4293,3735,558,0,2,0.870020964360587,0.8646647167633873,0.005356247597199659,0.8622558371649645,0.007765127195622501,2.023796577567873,1.7896987559670177,0.23409782160085535
|
||||
56,10397,10322,75,0,5,0.9927863806867365,0.9932620530009145,-0.0004756723141779995,0.993370841633472,-0.0005844609467354767,27.048422882002715,13.812485673375466,13.235937208627249
|
||||
57,14735,14724,11,0,7,0.9992534781133356,0.9990881180344455,0.00016536007889011994,0.999345560281983,-9.208216864731167e-05,139.93409276250762,95.64609056038789,44.28800220211973
|
||||
58,2103,1336,767,0,1,0.635282929148835,0.6321205588285577,0.00316237032027733,0.6330332490907105,0.002249680058124537,0.7236898426078076,1.0651681968432503,-0.3414783542354427
|
||||
59,4303,3776,527,0,2,0.8775273065303277,0.8646647167633873,0.012862589766940435,0.8697102839636216,0.007817022566706133,2.463676618980179,1.9081174915733703,0.5555591274068088
|
||||
60,6206,5890,316,0,3,0.9490815339993555,0.950212931632136,-0.0011313976327805841,0.9504958632735787,-0.0014143292742232472,5.369547728227819,3.1876963895028227,2.1818513387249965
|
||||
61,2114,1371,743,0,1,0.6485335856196783,0.6321205588285577,0.016413026791120666,0.6336984014546233,0.014835184165055026,0.7529156468669017,1.1193111798111886,-0.36639553294428684
|
||||
62,4163,3613,550,0,2,0.8678837376891665,0.8646647167633873,0.0032190209257791924,0.8650430219700659,0.002840715719100606,2.2561480423175704,1.7584314206883658,0.4977166216292046
|
||||
63,6378,6100,278,0,3,0.9564126685481342,0.950212931632136,0.0061997369159981774,0.9559046525131535,0.0005080160349807405,5.963863316464734,3.7385510729099045,2.22531224355483
|
||||
64,8387,8226,161,0,4,0.9808036246572076,0.9816843611112658,-0.000880736454058173,0.9808681550140825,-6.453035687492559e-05,10.736055602276272,6.448540262377781,4.287515339898491
|
||||
65,4249,3671,578,0,2,0.8639679924688162,0.8646647167633873,-0.0006967242945711272,0.8651818290750533,-0.0012138366062370842,2.1429297178060502,1.7036802934186148,0.4392494243874354
|
||||
66,8448,8294,154,0,4,0.9817708333333334,0.9816843611112658,8.647222206759064e-05,0.9797727954528629,0.0019980378804704824,12.097201392123369,6.794067955697414,5.303133436425955
|
||||
67,8326,8170,156,0,4,0.9812635118904636,0.9816843611112658,-0.00042084922080221077,0.9803669991588394,0.0008965127316241661,11.45053488547345,6.608383306598018,4.842151578875432
|
||||
68,14751,14738,13,0,7,0.9991187038166904,0.9990881180344455,3.058578224490738e-05,0.9990543982078244,6.430560886605541e-05,119.8978069349945,81.0137205193707,38.88408641562381
|
||||
69,4201,3633,568,0,2,0.8647940966436563,0.8646647167633873,0.00012937988026895386,0.8611467054175092,0.003647391226147101,2.0530789385558204,1.714968631677735,0.3381103068780853
|
||||
70,4206,3636,570,0,2,0.8644793152639088,0.8646647167633873,-0.00018540149947854356,0.8637760249532991,0.0007032903106096722,1.978923609450587,1.710651149679862,0.2682724597707251
|
||||
71,2046,1264,782,0,1,0.6177908113391984,0.6321205588285577,-0.014329747489359224,0.6315554355810773,-0.013764624241878853,0.740245952435544,0.9991206991137451,-0.2588747466782011
|
||||
72,2048,1264,784,0,1,0.6171875,0.6321205588285577,-0.014933058828557666,0.631193058718493,-0.01400555871849296,0.6787173252865725,0.9969437050182391,-0.3182263797316667
|
||||
73,2058,1259,799,0,1,0.6117589893100097,0.6321205588285577,-0.02036156951854795,0.631607181279405,-0.019848191969395246,0.6813741940200416,0.9776397463968942,-0.2962655523768526
|
||||
74,4198,3626,572,0,2,0.863744640304907,0.8646647167633873,-0.0009200764584802457,0.8657197272470744,-0.0019750869421673034,2.158434843829807,1.7006516617329497,0.4577831820968574
|
||||
75,4139,3577,562,0,2,0.8642184102440202,0.8646647167633873,-0.0004463065193670568,0.8519506855778062,0.012267724666214064,2.1520763125600055,1.707087712549972,0.4449886000100336
|
||||
76,4240,3672,568,0,2,0.8660377358490566,0.8646647167633873,0.0013730190856693358,0.8752396042726742,-0.009201868423617587,2.15485110097346,1.732223472279583,0.42262762869387704
|
||||
77,2124,1357,767,0,1,0.6388888888888888,0.6321205588285577,0.006768330060331174,0.6409143932347295,-0.0020255043458407007,0.7375402773284447,1.0795306388526726,-0.3419903615242279
|
||||
78,6192,5874,318,0,3,0.9486434108527132,0.950212931632136,-0.0015695207794228505,0.9458523354461974,0.0027910754065157972,4.711473538474908,3.1597534315979123,1.5517201068769957
|
||||
79,2060,1304,756,0,1,0.6330097087378641,0.6321205588285577,0.0008891499093064414,0.6191951472441075,0.013814561493756594,0.706316177244247,1.0562507470949802,-0.34993456985073323
|
||||
80,2087,1327,760,0,1,0.6358409199808337,0.6321205588285577,0.0037203611522760305,0.6413631554007471,-0.005522235419913368,0.7635391371641519,1.0673731230536798,-0.3038339858895279
|
||||
81,2110,1324,786,0,1,0.6274881516587678,0.6321205588285577,-0.004632407169789854,0.6354308013101057,-0.00794264965133784,0.659571835472744,1.035017287090182,-0.3754454516174379
|
||||
82,2185,1422,763,0,1,0.6508009153318077,0.6321205588285577,0.018680356503250062,0.6490532880880334,0.001747627243774308,0.7362229346695698,1.1289646860389781,-0.39274175136940837
|
||||
83,2111,1332,779,0,1,0.6309805779251539,0.6321205588285577,-0.0011399809034037256,0.6406973797009461,-0.00971680177579215,0.6726982030750602,1.0483781906470944,-0.37567998757203414
|
||||
84,4235,3667,568,0,2,0.8658795749704841,0.8646647167633873,0.0012148582070967695,0.8706930030413157,-0.004813428070831627,2.0971637221680024,1.7300114118016123,0.36715231036639007
|
||||
85,2051,1277,774,0,1,0.6226231106777181,0.6321205588285577,-0.009497448150839527,0.6280685959394191,-0.005445485261700966,0.6816439640990977,1.016792371670642,-0.3351484075715443
|
||||
86,2050,1262,788,0,1,0.615609756097561,0.6321205588285577,-0.0165108027309967,0.6355676676100724,-0.019957911512511473,0.6811642708756571,0.9912807449912945,-0.31011647411563736
|
||||
87,2098,1328,770,0,1,0.6329837940896091,0.6321205588285577,0.000863235261051476,0.634387033382002,-0.0014032392923928327,0.7003372398418751,1.0561496880235934,-0.3558124481817183
|
||||
88,2067,1297,770,0,1,0.6274794388001935,0.6321205588285577,-0.004641120028364143,0.6324707502592124,-0.004991311459018877,0.715880068724731,1.0349842488070788,-0.31910418008234787
|
||||
89,2067,1311,756,0,1,0.6342525399129173,0.6321205588285577,0.0021319810843596354,0.6239784344795758,0.010274105433341507,0.7009903035635902,1.0611132256336522,-0.360122922070062
|
||||
90,2074,1315,759,0,1,0.6340405014464803,0.6321205588285577,0.0019199426179226098,0.6378436691355511,-0.003803167689070852,0.7315759296279856,1.0602814422076232,-0.32870551257963765
|
||||
91,2056,1302,754,0,1,0.6332684824902723,0.6321205588285577,0.0011479236617146782,0.631368686412172,0.0018997960781003131,0.8069256951645205,1.0572606215332796,-0.2503349263687591
|
||||
92,2108,1340,768,0,1,0.635673624288425,0.6321205588285577,0.003553065459867333,0.6400249960178345,-0.00435137172940947,0.732250420896245,1.0667113785769526,-0.3344609576807076
|
||||
93,2179,1412,767,0,1,0.6480036714089031,0.6321205588285577,0.01588311258034547,0.6498604273476047,-0.0018567559387016042,0.7474449108035998,1.1170719788025762,-0.3696270679989765
|
||||
94,10432,10333,99,0,5,0.9905099693251533,0.9932620530009145,-0.0027520836757611855,0.9900752355819671,0.00043473374318625524,22.383130545101054,10.487135355481081,11.895995189619972
|
||||
95,22994,22992,2,0,11,0.9999130207880317,0.9999832982992097,-7.027751117805181e-05,0.9999218373009534,-8.816512921727693e-06,560.4661320004816,522.5681808298789,37.89795117060271
|
||||
96,4048,3467,581,0,2,0.8564723320158103,0.8646647167633873,-0.008192384747576997,0.8498752142509508,0.006597117764859495,2.1288594086594186,1.6071604352969335,0.521698973362485
|
||||
97,6335,6022,313,0,3,0.9505919494869771,0.950212931632136,0.0003790178548410683,0.9508768873697284,-0.0002849378827513016,4.838855656239663,3.2878252878532104,1.5510303683864528
|
||||
98,2109,1341,768,0,1,0.635846372688478,0.6321205588285577,0.003725813859920324,0.6341486807030832,0.0016976919853948225,0.7654889606932175,1.0673947010869567,-0.3019057403937392
|
||||
99,2151,1356,795,0,1,0.6304044630404463,0.6321205588285577,-0.0017160957881113825,0.6479660203212211,-0.017561557280774798,0.7366927145593735,1.0461578191326242,-0.3094651045732507
|
||||
100,2146,1384,762,0,1,0.6449207828518173,0.6321205588285577,0.012800224023259643,0.6431941855557608,0.001726597296056509,0.8029697729682717,1.10417047727391,-0.3012007043056384
|
||||
|
@@ -0,0 +1,101 @@
|
||||
obj_id,hit_rate,expected_hit_rate,avg_cache_time,avg_age,expected_age
|
||||
1,0.8651061776061776,0.8646647167633873,0.8639953325880592,2.372490918780109,1.7192688550034934
|
||||
2,0.6456400742115028,0.6321205588285577,0.6467569961493514,0.7153746498241418,1.1071616189638587
|
||||
3,0.6357074109720885,0.6321205588285577,0.6317592865441175,0.747581971261324,1.0668449769397554
|
||||
4,0.6260280599903242,0.6321205588285577,0.6306521980455059,0.711918729104051,1.029500937817666
|
||||
5,0.9999735799207398,0.9999999847700203,0.9999981122400605,1053.911688655145,1051.3749998176343
|
||||
6,0.6190944881889764,0.6321205588285577,0.6297240784796383,0.6800747285490315,1.003846909042357
|
||||
7,0.9481018740989908,0.950212931632136,0.9478511250356125,4.952288503711561,3.125866390152691
|
||||
8,0.9935284186831739,0.9932620530009145,0.9942835443881529,26.111757185568532,15.402011598293935
|
||||
9,0.6544943820224719,0.6321205588285577,0.6394613807691697,0.7859895306791574,1.1449473408146644
|
||||
10,0.6391184573002755,0.6321205588285577,0.6580019578799743,0.7496671781579063,1.0804541663993843
|
||||
11,0.6319077366650648,0.6321205588285577,0.6310998226235776,0.7433085896504383,1.051965220948005
|
||||
12,0.6394052044609665,0.6321205588285577,0.648142548597356,0.7197819599664889,1.0816092760128104
|
||||
13,0.9999607904642409,0.9999938557876467,0.9999646249241597,1060.1371766518919,1062.6458329246743
|
||||
14,0.6444652908067542,0.6321205588285577,0.6363029070305422,0.7149829172113354,1.1022822541681276
|
||||
15,0.6331106870229007,0.6321205588285577,0.6336017863670802,0.6672198316991778,1.0566446591879988
|
||||
16,0.628420547287566,0.6321205588285577,0.6393565917941846,0.7321649924060737,1.0385612445760812
|
||||
17,0.6353824495541999,0.6321205588285577,0.6361046261468197,0.6337738278951395,1.0655609903816503
|
||||
18,0.6388495992456389,0.6321205588285577,0.6296742334462819,0.7388308522582088,1.0793726921193294
|
||||
19,0.6432062561094819,0.6321205588285577,0.6141142718866518,0.7605000151485813,1.0970866982308312
|
||||
20,0.6125186289120715,0.6321205588285577,0.6226818602497519,0.6915879205654274,0.9803106782311958
|
||||
21,0.6349431818181818,0.6321205588285577,0.6413355837740553,0.6984463948539349,1.0638287802519883
|
||||
22,0.6391119508738782,0.6321205588285577,0.6395772807924043,0.7622246068929017,1.080427976522776
|
||||
23,0.6251203079884504,0.6321205588285577,0.6354233871544687,0.6810982159846581,1.026091703181265
|
||||
24,0.9997896176300426,0.9998765901959134,0.9998499037584104,430.6060727502862,264.0416637443942
|
||||
25,0.8590084643288997,0.8646647167633873,0.8694381430423217,2.2988148924353795,1.6386757977927582
|
||||
26,0.6513888888888889,0.6321205588285577,0.6392603714484355,0.7784015705980697,1.1314875066596524
|
||||
27,0.8586903003446578,0.8646647167633873,0.8568882317060824,1.9409638392472985,1.6346604518079233
|
||||
28,0.6336822074215034,0.6321205588285577,0.6388596898868745,0.7674516829968093,1.0588779886392004
|
||||
29,0.9815792561304705,0.9816843611112658,0.9804367729112989,11.989301865792612,6.722747026010593
|
||||
30,0.9999803586510322,0.9999999999622486,0.9999986656563125,1051.556950792329,1060.6770832338811
|
||||
31,0.6364956437560504,0.6321205588285577,0.6290865426462895,0.7230200777724071,1.0699684262056588
|
||||
32,0.8684834123222749,0.8646647167633873,0.8699431413615347,2.157800749365557,1.7671025496009645
|
||||
33,0.9998418555614128,0.9998765901959134,0.9996632274608059,414.71678401757964,351.26851632199947
|
||||
34,0.6212196331184928,0.6321205588285577,0.6234482825211313,0.6546370683918411,1.0116163920777494
|
||||
35,0.9999979293708393,1.0,0.9999954591933033,1051.4308899443467,1049.8793478041084
|
||||
36,0.9524477705020268,0.950212931632136,0.9512728244379791,5.524010217324982,3.4195551005821376
|
||||
37,0.8677725118483413,0.8646647167633873,0.8645046758974438,2.1730423630741207,1.7568317267509388
|
||||
38,0.6200098570724495,0.6321205588285577,0.6245609074067603,0.6951414331367817,1.0071835083536647
|
||||
39,0.6406542056074767,0.6321205588285577,0.6465996427873995,0.7331063680345756,1.0866609455921368
|
||||
40,0.9999974804292341,1.0,0.9999997450855033,1049.6389396004367,1049.9801587369875
|
||||
41,0.9997341698123239,0.9998765901959134,0.999761865309944,230.1592470517047,208.96110741851095
|
||||
42,0.6339838172298905,0.6321205588285577,0.6323890173317033,0.7117787497314539,1.0600592353645504
|
||||
43,0.6397306397306397,0.6321205588285577,0.6221478195297644,0.7313189714743383,1.0829223358728817
|
||||
44,0.6393826005612722,0.6321205588285577,0.6463898487664325,0.7184997883851266,1.0815181573109378
|
||||
45,0.6526558891454965,0.6321205588285577,0.6392583776004548,0.7351676021170711,1.1369513605603987
|
||||
46,0.860042990207786,0.8646647167633873,0.8637169618768995,2.063093178693653,1.6518573030005026
|
||||
47,0.6438547486033519,0.6321205588285577,0.6463634638233302,0.7481312973439003,1.0997584420344175
|
||||
48,0.9508171206225681,0.950212931632136,0.9563334512206229,5.633691606183319,3.3032787947584223
|
||||
49,0.9996456204595121,0.9996645373720975,0.9997767430658197,356.27256314172126,176.3333277951613
|
||||
50,0.617,0.6321205588285577,0.6204614943875189,0.6793668808109574,0.996268433791746
|
||||
51,0.8689445354551837,0.8646647167633873,0.8656165925524981,2.218002636640929,1.7738239463704335
|
||||
52,0.6272246272246272,0.6321205588285577,0.6343644349161804,0.7438857528020518,1.0340186702011005
|
||||
53,0.6436295251527974,0.6321205588285577,0.6348467466200354,0.7602205110067514,1.0988294952995659
|
||||
54,0.9840805337703383,0.9816843611112658,0.9843279775968735,13.378780841088949,7.789020583897302
|
||||
55,0.870020964360587,0.8646647167633873,0.8622558371649645,2.023796577567873,1.7896987559670177
|
||||
56,0.9927863806867365,0.9932620530009145,0.993370841633472,27.048422882002715,13.812485673375466
|
||||
57,0.9992534781133356,0.9990881180344455,0.999345560281983,139.93409276250762,95.64609056038789
|
||||
58,0.635282929148835,0.6321205588285577,0.6330332490907105,0.7236898426078076,1.0651681968432503
|
||||
59,0.8775273065303277,0.8646647167633873,0.8697102839636216,2.463676618980179,1.9081174915733703
|
||||
60,0.9490815339993555,0.950212931632136,0.9504958632735787,5.369547728227819,3.1876963895028227
|
||||
61,0.6485335856196783,0.6321205588285577,0.6336984014546233,0.7529156468669017,1.1193111798111886
|
||||
62,0.8678837376891665,0.8646647167633873,0.8650430219700659,2.2561480423175704,1.7584314206883658
|
||||
63,0.9564126685481342,0.950212931632136,0.9559046525131535,5.963863316464734,3.7385510729099045
|
||||
64,0.9808036246572076,0.9816843611112658,0.9808681550140825,10.736055602276272,6.448540262377781
|
||||
65,0.8639679924688162,0.8646647167633873,0.8651818290750533,2.1429297178060502,1.7036802934186148
|
||||
66,0.9817708333333334,0.9816843611112658,0.9797727954528629,12.097201392123369,6.794067955697414
|
||||
67,0.9812635118904636,0.9816843611112658,0.9803669991588394,11.45053488547345,6.608383306598018
|
||||
68,0.9991187038166904,0.9990881180344455,0.9990543982078244,119.8978069349945,81.0137205193707
|
||||
69,0.8647940966436563,0.8646647167633873,0.8611467054175092,2.0530789385558204,1.714968631677735
|
||||
70,0.8644793152639088,0.8646647167633873,0.8637760249532991,1.978923609450587,1.710651149679862
|
||||
71,0.6177908113391984,0.6321205588285577,0.6315554355810773,0.740245952435544,0.9991206991137451
|
||||
72,0.6171875,0.6321205588285577,0.631193058718493,0.6787173252865725,0.9969437050182391
|
||||
73,0.6117589893100097,0.6321205588285577,0.631607181279405,0.6813741940200416,0.9776397463968942
|
||||
74,0.863744640304907,0.8646647167633873,0.8657197272470744,2.158434843829807,1.7006516617329497
|
||||
75,0.8642184102440202,0.8646647167633873,0.8519506855778062,2.1520763125600055,1.707087712549972
|
||||
76,0.8660377358490566,0.8646647167633873,0.8752396042726742,2.15485110097346,1.732223472279583
|
||||
77,0.6388888888888888,0.6321205588285577,0.6409143932347295,0.7375402773284447,1.0795306388526726
|
||||
78,0.9486434108527132,0.950212931632136,0.9458523354461974,4.711473538474908,3.1597534315979123
|
||||
79,0.6330097087378641,0.6321205588285577,0.6191951472441075,0.706316177244247,1.0562507470949802
|
||||
80,0.6358409199808337,0.6321205588285577,0.6413631554007471,0.7635391371641519,1.0673731230536798
|
||||
81,0.6274881516587678,0.6321205588285577,0.6354308013101057,0.659571835472744,1.035017287090182
|
||||
82,0.6508009153318077,0.6321205588285577,0.6490532880880334,0.7362229346695698,1.1289646860389781
|
||||
83,0.6309805779251539,0.6321205588285577,0.6406973797009461,0.6726982030750602,1.0483781906470944
|
||||
84,0.8658795749704841,0.8646647167633873,0.8706930030413157,2.0971637221680024,1.7300114118016123
|
||||
85,0.6226231106777181,0.6321205588285577,0.6280685959394191,0.6816439640990977,1.016792371670642
|
||||
86,0.615609756097561,0.6321205588285577,0.6355676676100724,0.6811642708756571,0.9912807449912945
|
||||
87,0.6329837940896091,0.6321205588285577,0.634387033382002,0.7003372398418751,1.0561496880235934
|
||||
88,0.6274794388001935,0.6321205588285577,0.6324707502592124,0.715880068724731,1.0349842488070788
|
||||
89,0.6342525399129173,0.6321205588285577,0.6239784344795758,0.7009903035635902,1.0611132256336522
|
||||
90,0.6340405014464803,0.6321205588285577,0.6378436691355511,0.7315759296279856,1.0602814422076232
|
||||
91,0.6332684824902723,0.6321205588285577,0.631368686412172,0.8069256951645205,1.0572606215332796
|
||||
92,0.635673624288425,0.6321205588285577,0.6400249960178345,0.732250420896245,1.0667113785769526
|
||||
93,0.6480036714089031,0.6321205588285577,0.6498604273476047,0.7474449108035998,1.1170719788025762
|
||||
94,0.9905099693251533,0.9932620530009145,0.9900752355819671,22.383130545101054,10.487135355481081
|
||||
95,0.9999130207880317,0.9999832982992097,0.9999218373009534,560.4661320004816,522.5681808298789
|
||||
96,0.8564723320158103,0.8646647167633873,0.8498752142509508,2.1288594086594186,1.6071604352969335
|
||||
97,0.9505919494869771,0.950212931632136,0.9508768873697284,4.838855656239663,3.2878252878532104
|
||||
98,0.635846372688478,0.6321205588285577,0.6341486807030832,0.7654889606932175,1.0673947010869567
|
||||
99,0.6304044630404463,0.6321205588285577,0.6479660203212211,0.7366927145593735,1.0461578191326242
|
||||
100,0.6449207828518173,0.6321205588285577,0.6431941855557608,0.8029697729682717,1.10417047727391
|
||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,9 @@
|
||||
,hit_rate,expected_hit_rate,avg_cache_time,avg_age,expected_age
|
||||
count,100.0,100.0,100.0,100.0,100.0
|
||||
mean,0.7698280647273673,0.7686774180614354,0.770425426951484,77.69522257985282,71.61047536922527
|
||||
std,0.15640597335671985,0.15703293697817727,0.1555513910930252,242.71862375527397,238.0298584082803
|
||||
min,0.6117589893100097,0.6321205588285577,0.6141142718866518,0.6337738278951395,0.9776397463968942
|
||||
25%,0.6340263303923328,0.6321205588285577,0.6343104963629062,0.7222105483209276,1.060225890496855
|
||||
50%,0.6482686285142907,0.6321205588285577,0.6473615082352863,0.7664703218450134,1.1181915793068824
|
||||
75%,0.9487529416393737,0.950212931632136,0.948512309595104,4.867213868107638,3.16673917107414
|
||||
max,0.9999979293708393,1.0,0.9999997450855033,1060.1371766518919,1062.6458329246743
|
||||
|
@@ -0,0 +1,101 @@
|
||||
obj_id,access_count,hits,misses,mu,lambda,hit_rate,expected_hit_rate,expected_hit_rate_delta,avg_cache_time,cache_time_delta,avg_age,expected_age,age_delta
|
||||
1,2096,1808,288,0,1,0.8625954198473282,0.8646647167633873,-0.00206929691605906,0.862011606559361,0.0005838132879671942,4.44118332426254,3.370446265938069,1.0707370583244709
|
||||
2,4235,4165,70,0,2,0.9834710743801653,0.9816843611112658,0.0017867132688995646,0.9890913517657185,-0.005620277385553152,26.65902178930945,14.998958333333388,11.660063455976061
|
||||
3,6405,6390,15,0,3,0.9976580796252927,0.9975212478233336,0.00013683180195911415,0.9973589041474583,0.00029917547783442355,160.7004886856743,71.08323563892091,89.61725304675338
|
||||
4,2162,1866,296,0,1,0.8630897317298798,0.8646647167633873,-0.0015749850335075033,0.8680907673977374,-0.00500103566785759,4.019045299926855,3.383655626828419,0.6353896730984361
|
||||
5,2213,1935,278,0,1,0.8743786714866697,0.8646647167633873,0.009713954723282403,0.8707692136074034,0.0036094578792662535,4.953362992167432,3.7134607646573206,1.2399022275101115
|
||||
6,2216,1929,287,0,1,0.8704873646209387,0.8646647167633873,0.005822647857551377,0.8756434450570312,-0.005156080436092503,4.4438516221172595,3.5933171656376244,0.8505344564796351
|
||||
7,10745,10743,2,0,5,0.9998138669148441,0.9999546000702375,-0.00014073315539342435,0.999957263438408,-0.00014339652356387678,620.2155697754326,537.1999953460819,83.01557442935075
|
||||
8,6304,6288,16,0,3,0.9974619289340102,0.9975212478233336,-5.931888932342311e-05,0.9977727779128601,-0.00031084897884992024,196.3240977392333,65.5832274459981,130.74087029323522
|
||||
9,2148,1870,278,0,1,0.8705772811918063,0.8646647167633873,0.0059125644284190315,0.8630660472661146,0.0075112339256917515,4.478834781228983,3.596012189750439,0.8828225914785439
|
||||
10,2189,1915,274,0,1,0.8748286888990406,0.8646647167633873,0.010163972135653343,0.8857005571124441,-0.010871868213403468,5.002985662543493,3.7278345143068528,1.27515114823664
|
||||
11,2104,1824,280,0,1,0.8669201520912547,0.8646647167633873,0.0022554353278674277,0.8421291258650718,0.0247910262261829,4.319189225105765,3.489322083212102,0.8298671418936627
|
||||
12,2094,1794,300,0,1,0.8567335243553008,0.8646647167633873,-0.007931192408086485,0.8512798918606452,0.00545363249465558,3.997243157059799,3.220709876543209,0.7765332805165901
|
||||
13,6277,6258,19,0,3,0.9969730763103394,0.9975212478233336,-0.0005481715129942444,0.9967436523869486,0.00022942392339075912,74.70454760796919,54.977943862449564,19.726603745519625
|
||||
14,2079,1781,298,0,1,0.8566618566618567,0.8646647167633873,-0.008002860101530618,0.8589511570295824,-0.0022893003677256774,4.131915384448054,3.218954515422333,0.9129608690257212
|
||||
15,2098,1806,292,0,1,0.8608198284080076,0.8646647167633873,-0.003844888355379661,0.849447543636136,0.011372284771871688,4.077146417639869,3.323766982932855,0.7533794347070142
|
||||
16,4253,4174,79,0,2,0.9814248765577239,0.9816843611112658,-0.0002594845535418555,0.9837205739385149,-0.0022956973807909398,23.372040605877448,13.332688930847626,10.039351675029822
|
||||
17,2098,1819,279,0,1,0.8670162059103909,0.8646647167633873,0.0023514891470035604,0.8475985885496021,0.01941761736078873,4.462107289945928,3.4920496356750235,0.9700576542709047
|
||||
18,6446,6436,10,0,3,0.9984486503257834,0.9975212478233336,0.0009274025024498256,0.998433863622595,1.4786703188440775e-05,158.63359208846987,107.34993531025144,51.28365677821843
|
||||
19,4358,4287,71,0,2,0.9837081229921982,0.9816843611112658,0.002023761880932451,0.9796796875989169,0.004028435393281349,26.006452337274155,15.219043817561221,10.787408519712933
|
||||
20,2069,1762,307,0,1,0.8516191396810053,0.8646647167633873,-0.013045577082381965,0.8556452197145263,-0.004026080033521007,3.8846617693973022,3.0996729066921067,0.7849888627051955
|
||||
21,2223,1915,308,0,1,0.8614484930274404,0.8646647167633873,-0.003216223735946877,0.8814796758088389,-0.020031182781398482,4.395653724657171,3.340158210566621,1.0554955140905498
|
||||
22,2152,1859,293,0,1,0.8638475836431226,0.8646647167633873,-0.000817133120264657,0.8631117552107638,0.0007358284323588649,4.032904554064808,3.4040926700719774,0.6288118839928303
|
||||
23,17042,17041,1,0,8,0.9999413214411454,0.9999998874648253,-5.8566023679818e-05,0.9999684779876951,-2.7156546549611527e-05,1066.0077585963572,1065.0937490841825,0.9140095121747436
|
||||
24,4336,4267,69,0,2,0.9840867158671587,0.9816843611112658,0.0024023547558928993,0.9861095627949591,-0.0020228469278004146,31.831829413953603,15.58414237028879,16.24768704366481
|
||||
25,2160,1868,292,0,1,0.8648148148148148,0.8646647167633873,0.0001500980514275163,0.8657577605011602,-0.0009429456863453423,3.77701418959094,3.430506998952538,0.3465071906384023
|
||||
26,2180,1921,259,0,1,0.8811926605504588,0.8646647167633873,0.016527943787071453,0.8648041971514983,0.016388463398960496,5.119011150314841,3.9427053765020132,1.1763057738128277
|
||||
27,4190,4095,95,0,2,0.977326968973747,0.9816843611112658,-0.004357392137518734,0.9769602220847254,0.00036674688902160746,18.984086797392983,10.899882476257044,8.084204321135939
|
||||
28,4315,4236,79,0,2,0.9816917728852839,0.9816843611112658,7.4117740180845715e-06,0.9847345044706743,-0.003042731585390479,23.208100070140613,13.528908455447503,9.67919161469311
|
||||
29,4273,4197,76,0,2,0.9822139012403464,0.9816843611112658,0.0005295401290805746,0.9797383654269515,0.00247553581339488,25.228374624277702,13.92979944696453,11.298575177313172
|
||||
30,2085,1804,281,0,1,0.8652278177458034,0.8646647167633873,0.000563100982416076,0.8539274320211415,0.011300385724661854,4.337326090422286,3.4419006432048063,0.8954254472174794
|
||||
31,145188,145187,1,0,68,0.9999931123784335,1.0,-6.887621566531443e-06,0.9999996306423272,-6.518263893751097e-06,1067.051574770499,1067.5551470487446,-0.503572278245656
|
||||
32,2102,1808,294,0,1,0.8601332064700286,0.8646647167633873,-0.0045315102933587426,0.8724767007023218,-0.012343494232293195,4.461974126156576,3.3060319780085954,1.155942148147981
|
||||
33,4291,4214,77,0,2,0.9820554649265906,0.9816843611112658,0.0003711038153247914,0.9858494851898852,-0.003794020263294673,24.370690971588093,13.805686494575406,10.565004477012687
|
||||
34,2167,1901,266,0,1,0.8772496538994001,0.8646647167633873,0.01258493713601283,0.8820266392935029,-0.004776985394102762,5.450572893335998,3.8069611713649922,1.643611721971006
|
||||
35,2256,1987,269,0,1,0.8807624113475178,0.8646647167633873,0.016097694584130462,0.8823586167415202,-0.0015962053940024035,4.779129402940771,3.9274589154934403,0.8516704874473304
|
||||
36,6348,6333,15,0,3,0.9976370510396976,0.9975212478233336,0.00011580321636395219,0.9972691778478644,0.000367873191833179,141.55876475026972,70.44990142733346,71.10886332293626
|
||||
37,2132,1844,288,0,1,0.8649155722326454,0.8646647167633873,0.0002508554692580711,0.8617516564591282,0.0031639157735171564,4.130609713964223,3.433280236977419,0.6973294769868037
|
||||
38,2110,1812,298,0,1,0.8587677725118483,0.8646647167633873,-0.005896944251538971,0.861274946310088,-0.0025071737982397257,3.9124964694724227,3.271273045870994,0.6412234236014287
|
||||
39,4221,4133,88,0,2,0.9791518597488746,0.9816843611112658,-0.0025325013623911374,0.9813097388968687,-0.002157879147994035,21.26303376521624,11.865160538228805,9.397873226987434
|
||||
40,10685,10684,1,0,5,0.9999064108563407,0.9999546000702375,-4.818921389682096e-05,0.999979489278659,-7.307842231829564e-05,1070.728501042905,1068.4499976604018,2.2785033825032315
|
||||
41,2123,1840,283,0,1,0.8666980687706076,0.8646647167633873,0.0020333520072203237,0.8755856265622449,-0.008887557791637302,4.474131941726347,3.483030755334904,0.9911011863914436
|
||||
42,2223,1952,271,0,1,0.8780926675663517,0.8646647167633873,0.013427950802964439,0.8771439727595566,0.0009486948067951584,4.7796797583441,3.8352484698499674,0.9444312884941328
|
||||
43,2119,1825,294,0,1,0.8612553091080698,0.8646647167633873,-0.003409407655317498,0.8689705728597512,-0.0077152637516814115,4.054845128880172,3.3351055939617216,0.7197395349184501
|
||||
44,2155,1869,286,0,1,0.8672853828306265,0.8646647167633873,0.002620666067239208,0.8765942350032162,-0.009308852172589699,5.084687351127778,3.4997141278204915,1.5849732233072866
|
||||
45,14930,14929,1,0,7,0.9999330207635633,0.9999991684712809,-6.614770771762313e-05,0.999961212613127,-2.8191849563707905e-05,1062.0227078821051,1066.3928559460198,-4.370148063914712
|
||||
46,2043,1752,291,0,1,0.8575624082232012,0.8646647167633873,-0.00710230854018612,0.8551559761463232,0.0024064320768779623,3.828893487146852,3.241139317876207,0.5877541692706449
|
||||
47,2128,1844,284,0,1,0.8665413533834586,0.8646647167633873,0.0018766366200713147,0.8661544398858453,0.00038691349761332816,4.478438285127198,3.478603747358267,0.999834537768931
|
||||
48,2152,1849,303,0,1,0.8592007434944238,0.8646647167633873,-0.005463973268963529,0.855118737468998,0.004082006025425744,3.7940910243064976,3.2822223487032525,0.5118686756032451
|
||||
49,2153,1874,279,0,1,0.8704133766836971,0.8646647167633873,0.005748659920309818,0.865500382678378,0.004912994005319082,4.384199198384147,3.5911023530238975,0.7930968453602496
|
||||
50,2095,1779,316,0,1,0.8491646778042959,0.8646647167633873,-0.015500038959091356,0.851794264899746,-0.0026295870954500256,3.3579252700152082,3.044481058402985,0.31344421161222336
|
||||
51,4240,4154,86,0,2,0.9797169811320755,0.9816843611112658,-0.0019673799791902757,0.9799937263322844,-0.0002767452002089277,26.682696961270185,12.199300718675053,14.483396242595132
|
||||
52,2101,1809,292,0,1,0.8610185625892433,0.8646647167633873,-0.003646154174144045,0.8550214944765334,0.005997068112709836,4.229415347632967,3.328932662999685,0.9004826846332823
|
||||
53,6544,6531,13,0,3,0.9980134474327629,0.9975212478233336,0.0004921996094292558,0.9977799396172745,0.0002335078154883652,121.76067037067789,83.81401970878153,37.946650661896356
|
||||
54,4268,4194,74,0,2,0.9826616682286785,0.9816843611112658,0.000977307117412729,0.984188943125845,-0.0015272748971665306,27.36075767170609,14.292825796725575,13.067931874980514
|
||||
55,2184,1907,277,0,1,0.8731684981684982,0.8646647167633873,0.008503781405110877,0.8759041704572621,-0.002735672288763924,4.194987641147051,3.6753108655347178,0.5196767756123335
|
||||
56,2127,1833,294,0,1,0.8617771509167842,0.8646647167633873,-0.0028875658466031018,0.8670473562900118,-0.005270205373227643,4.280937219571236,3.348786332714904,0.9321508868563315
|
||||
57,4314,4240,74,0,2,0.9828465461288827,0.9816843611112658,0.0011621850176168902,0.9829999130908761,-0.00015336696199341748,28.620977259519233,14.44824295888122,14.172734300638012
|
||||
58,25343,25342,1,0,12,0.9999605413723711,0.9999999999622486,-3.945858987752793e-05,0.9999815239867414,-2.0982614370335106e-05,1068.5152040552123,1055.937499590527,12.577704464685212
|
||||
59,2111,1812,299,0,1,0.8583609663666508,0.8646647167633873,-0.006303750396736474,0.863365981066972,-0.00500501470032122,4.578270740967819,3.2610460392659006,1.3172247017019187
|
||||
60,2123,1829,294,0,1,0.8615167216203485,0.8646647167633873,-0.003147995143038762,0.87275011383319,-0.011233392212841475,4.361985659930144,3.341946039549422,1.020039620380722
|
||||
61,4281,4203,78,0,2,0.9817799579537492,0.9816843611112658,9.559684248339195e-05,0.9804707120928738,0.00130924586087533,24.921818829840507,13.595004624088803,11.326814205751704
|
||||
62,4325,4251,74,0,2,0.9828901734104046,0.9816843611112658,0.0012058122991388531,0.9820598638791126,0.0008303095312920394,33.13657343002617,14.485407895068576,18.65116553495759
|
||||
63,6284,6262,22,0,3,0.9964990451941439,0.9975212478233336,-0.001022202629189728,0.9969040173143285,-0.00040497212018464346,81.06814022868988,47.52258114381537,33.54555908487451
|
||||
64,2194,1909,285,0,1,0.8701002734731085,0.8646647167633873,0.005435556709721179,0.8749987979141955,-0.004898524441087071,4.135291814198717,3.581757464585178,0.553534349613539
|
||||
65,2147,1872,275,0,1,0.871914299021891,0.8646647167633873,0.007249582258503695,0.8723017096271682,-0.0003874106052772497,4.478386697958349,3.636530118301703,0.8418565796566462
|
||||
66,4361,4287,74,0,2,0.9830314148131163,0.9816843611112658,0.001347053701850509,0.9843729837696098,-0.0013415689564935107,25.094151458820033,14.607038496637296,10.487112962182737
|
||||
67,2218,1961,257,0,1,0.8841298467087466,0.8646647167633873,0.019465129945359316,0.8753077018700133,0.008822144838733337,5.53853628818087,4.049800605771121,1.4887356824097493
|
||||
68,2055,1768,287,0,1,0.8603406326034063,0.8646647167633873,-0.004324084159980979,0.8440433769690433,0.016297255634363017,4.524235022973792,3.311371389563079,1.2128636334107128
|
||||
69,2202,1922,280,0,1,0.8728428701180745,0.8646647167633873,0.00817815335468719,0.8682638435488484,0.004579026569226041,4.656214699768444,3.665169045309687,0.9910456544587576
|
||||
70,12730,12729,1,0,6,0.9999214454045562,0.9999938557876467,-7.241038309047099e-05,0.9999924712280175,-7.102582346130148e-05,1059.1469203191152,1060.7916650306693,-1.64474471155404
|
||||
71,4261,4190,71,0,2,0.983337244778221,0.9816843611112658,0.0016528836669552627,0.9870676160277905,-0.0037303712495694308,27.153927936215812,14.877470955183183,12.276456981032629
|
||||
72,2077,1790,287,0,1,0.861819932595089,0.8646647167633873,-0.0028447841682982533,0.8714424801071166,-0.009622547512027513,4.692521945951774,3.3499124639921996,1.3426094819595744
|
||||
73,2113,1827,286,0,1,0.8646474207288216,0.8646647167633873,-1.7296034565683627e-05,0.8503689266285177,0.014278494100303907,4.379614565501338,3.4259087359341174,0.9537058295672209
|
||||
74,6527,6509,18,0,3,0.997242224605485,0.9975212478233336,-0.0002790232178486729,0.997128692935891,0.0001135316695939359,95.17258736112076,60.35173678588123,34.82085057523953
|
||||
75,2170,1878,292,0,1,0.8654377880184332,0.8646647167633873,0.0007730712550458874,0.8686138180583679,-0.0031760300399347186,5.258256752727215,3.44771982781959,1.810536924907625
|
||||
76,2126,1839,287,0,1,0.8650047036688617,0.8646647167633873,0.000339986905474432,0.8577210771468815,0.007283626521980224,4.270160666653897,3.4357369140255996,0.8344237526282976
|
||||
77,2165,1869,296,0,1,0.8632794457274827,0.8646647167633873,-0.0013852710359045783,0.8688233010801113,-0.005543855352628579,4.645145992899122,3.3887505192351512,1.256395473663971
|
||||
78,12733,12732,1,0,6,0.9999214639126679,0.9999938557876467,-7.23918749787611e-05,0.9999558188466329,-3.435493396497513e-05,1065.9352204631232,1061.041665031129,4.893555431994173
|
||||
79,2178,1878,300,0,1,0.8622589531680441,0.8646647167633873,-0.002405763595343169,0.8779810343648916,-0.01572208119684748,4.11030378419857,3.3615088757396454,0.7487949084589247
|
||||
80,8489,8486,3,0,4,0.9996466014842738,0.9996645373720975,-1.7935887823727903e-05,0.9996824170632034,-3.581557892962106e-05,491.54042097563513,353.6458222876754,137.89459868795973
|
||||
81,2111,1831,280,0,1,0.8673614400757934,0.8646647167633873,0.002696723312406113,0.8625845768081761,0.004776863267617282,4.821494121359948,3.5018853736319477,1.3196087477280005
|
||||
82,2012,1691,321,0,1,0.8404572564612326,0.8646647167633873,-0.024207460302154704,0.8533828635550774,-0.012925607093844826,3.7075214754603656,2.8622847686854893,0.8452367067748763
|
||||
83,2042,1733,309,0,1,0.8486777668952008,0.8646647167633873,-0.015986949868186495,0.8588206136712291,-0.01014284677602828,4.051148634937937,3.03374354358216,1.0174050913557773
|
||||
84,2124,1836,288,0,1,0.864406779661017,0.8646647167633873,-0.0002579371023703203,0.8631559168816202,0.0012508627793967886,4.565364250287144,3.4193181818181824,1.1460460684689613
|
||||
85,6329,6309,20,0,3,0.9968399431189762,0.9975212478233336,-0.0006813047043574549,0.9965477594421578,0.00029218367681838053,85.34451471731543,52.65820145592705,32.686313261388385
|
||||
86,2122,1827,295,0,1,0.8609802073515551,0.8646647167633873,-0.003684509411832182,0.8687331595189943,-0.007752952167439209,4.057136252886273,3.327934555412011,0.7292016974742617
|
||||
87,4253,4173,80,0,2,0.981189748412885,0.9816843611112658,-0.000494612698380803,0.985370804395356,-0.0041810559824709825,24.481905132608848,13.164438197246596,11.317466935362251
|
||||
88,8391,8389,2,0,4,0.9997616493862471,0.9996645373720975,9.711201414963622e-05,0.9996136903854305,0.00014795900081665536,546.0652289769329,524.374992550588,21.69023642634488
|
||||
89,2080,1802,278,0,1,0.8663461538461539,0.8646647167633873,0.0016814370827665792,0.8661575269986499,0.00018862684750398095,4.692808769789424,3.4731040515346616,1.219704718254762
|
||||
90,4374,4299,75,0,2,0.9828532235939643,0.9816843611112658,0.0011688624826985405,0.9863223576189963,-0.003469134025032017,26.290670532149846,14.45391905914906,11.836751473000787
|
||||
91,4341,4270,71,0,2,0.9836443215848882,0.9816843611112658,0.0019599604736224574,0.9836402038315661,4.117753322097073e-06,25.700977416179168,15.159180609145475,10.541796807033693
|
||||
92,4202,4108,94,0,2,0.9776297001427892,0.9816843611112658,-0.00405466096847662,0.9799988698820339,-0.0023691697392447253,21.942918038918513,11.049117955808194,10.89380008311032
|
||||
93,61748,61747,1,0,29,0.9999838051434864,1.0,-1.6194856513607192e-05,0.9999747296150359,9.075528450530612e-06,1067.1411996073414,1064.612068894919,2.5291307124223295
|
||||
94,15001,15000,1,0,7,0.9999333377774815,0.9999991684712809,-6.583069379939577e-05,0.9999862096445807,-5.2871867099235637e-05,1068.1945201865392,1071.464284524187,-3.269764337647757
|
||||
95,2191,1934,257,0,1,0.882701962574167,0.8646647167633873,0.0180372458107797,0.8783802132466791,0.004321749327487856,4.808344959542469,3.997070156821128,0.8112748027213414
|
||||
96,2000,1697,303,0,1,0.8485,0.8646647167633873,-0.016164716763387266,0.8295998260614277,0.01890017393857235,3.6597724366143556,3.029840446852368,0.6299319897619875
|
||||
97,2169,1884,285,0,1,0.8686030428769018,0.8646647167633873,0.003938326113514523,0.8724047783722378,-0.0038017354953360227,4.399095911422586,3.537683587206358,0.8614123242162282
|
||||
98,2203,1917,286,0,1,0.870177031320926,0.8646647167633873,0.0055123145575387555,0.8814469710969955,-0.011269939776069493,4.107885193622078,3.584044232466563,0.523840961155515
|
||||
99,2267,1998,269,0,1,0.8813409792677548,0.8646647167633873,0.01667626250436749,0.8862078215818726,-0.004866842314117825,5.170511414130189,3.9479867687627754,1.2225246453674137
|
||||
100,2102,1812,290,0,1,0.8620361560418649,0.8646647167633873,-0.0026285607215223994,0.8616814390373451,0.00035471700451983335,4.193048972285818,3.3556146811622294,0.8374342911235888
|
||||
|
@@ -0,0 +1,101 @@
|
||||
obj_id,hit_rate,expected_hit_rate,avg_cache_time,avg_age,expected_age
|
||||
1,0.8625954198473282,0.8646647167633873,0.862011606559361,4.44118332426254,3.370446265938069
|
||||
2,0.9834710743801653,0.9816843611112658,0.9890913517657185,26.65902178930945,14.998958333333388
|
||||
3,0.9976580796252927,0.9975212478233336,0.9973589041474583,160.7004886856743,71.08323563892091
|
||||
4,0.8630897317298798,0.8646647167633873,0.8680907673977374,4.019045299926855,3.383655626828419
|
||||
5,0.8743786714866697,0.8646647167633873,0.8707692136074034,4.953362992167432,3.7134607646573206
|
||||
6,0.8704873646209387,0.8646647167633873,0.8756434450570312,4.4438516221172595,3.5933171656376244
|
||||
7,0.9998138669148441,0.9999546000702375,0.999957263438408,620.2155697754326,537.1999953460819
|
||||
8,0.9974619289340102,0.9975212478233336,0.9977727779128601,196.3240977392333,65.5832274459981
|
||||
9,0.8705772811918063,0.8646647167633873,0.8630660472661146,4.478834781228983,3.596012189750439
|
||||
10,0.8748286888990406,0.8646647167633873,0.8857005571124441,5.002985662543493,3.7278345143068528
|
||||
11,0.8669201520912547,0.8646647167633873,0.8421291258650718,4.319189225105765,3.489322083212102
|
||||
12,0.8567335243553008,0.8646647167633873,0.8512798918606452,3.997243157059799,3.220709876543209
|
||||
13,0.9969730763103394,0.9975212478233336,0.9967436523869486,74.70454760796919,54.977943862449564
|
||||
14,0.8566618566618567,0.8646647167633873,0.8589511570295824,4.131915384448054,3.218954515422333
|
||||
15,0.8608198284080076,0.8646647167633873,0.849447543636136,4.077146417639869,3.323766982932855
|
||||
16,0.9814248765577239,0.9816843611112658,0.9837205739385149,23.372040605877448,13.332688930847626
|
||||
17,0.8670162059103909,0.8646647167633873,0.8475985885496021,4.462107289945928,3.4920496356750235
|
||||
18,0.9984486503257834,0.9975212478233336,0.998433863622595,158.63359208846987,107.34993531025144
|
||||
19,0.9837081229921982,0.9816843611112658,0.9796796875989169,26.006452337274155,15.219043817561221
|
||||
20,0.8516191396810053,0.8646647167633873,0.8556452197145263,3.8846617693973022,3.0996729066921067
|
||||
21,0.8614484930274404,0.8646647167633873,0.8814796758088389,4.395653724657171,3.340158210566621
|
||||
22,0.8638475836431226,0.8646647167633873,0.8631117552107638,4.032904554064808,3.4040926700719774
|
||||
23,0.9999413214411454,0.9999998874648253,0.9999684779876951,1066.0077585963572,1065.0937490841825
|
||||
24,0.9840867158671587,0.9816843611112658,0.9861095627949591,31.831829413953603,15.58414237028879
|
||||
25,0.8648148148148148,0.8646647167633873,0.8657577605011602,3.77701418959094,3.430506998952538
|
||||
26,0.8811926605504588,0.8646647167633873,0.8648041971514983,5.119011150314841,3.9427053765020132
|
||||
27,0.977326968973747,0.9816843611112658,0.9769602220847254,18.984086797392983,10.899882476257044
|
||||
28,0.9816917728852839,0.9816843611112658,0.9847345044706743,23.208100070140613,13.528908455447503
|
||||
29,0.9822139012403464,0.9816843611112658,0.9797383654269515,25.228374624277702,13.92979944696453
|
||||
30,0.8652278177458034,0.8646647167633873,0.8539274320211415,4.337326090422286,3.4419006432048063
|
||||
31,0.9999931123784335,1.0,0.9999996306423272,1067.051574770499,1067.5551470487446
|
||||
32,0.8601332064700286,0.8646647167633873,0.8724767007023218,4.461974126156576,3.3060319780085954
|
||||
33,0.9820554649265906,0.9816843611112658,0.9858494851898852,24.370690971588093,13.805686494575406
|
||||
34,0.8772496538994001,0.8646647167633873,0.8820266392935029,5.450572893335998,3.8069611713649922
|
||||
35,0.8807624113475178,0.8646647167633873,0.8823586167415202,4.779129402940771,3.9274589154934403
|
||||
36,0.9976370510396976,0.9975212478233336,0.9972691778478644,141.55876475026972,70.44990142733346
|
||||
37,0.8649155722326454,0.8646647167633873,0.8617516564591282,4.130609713964223,3.433280236977419
|
||||
38,0.8587677725118483,0.8646647167633873,0.861274946310088,3.9124964694724227,3.271273045870994
|
||||
39,0.9791518597488746,0.9816843611112658,0.9813097388968687,21.26303376521624,11.865160538228805
|
||||
40,0.9999064108563407,0.9999546000702375,0.999979489278659,1070.728501042905,1068.4499976604018
|
||||
41,0.8666980687706076,0.8646647167633873,0.8755856265622449,4.474131941726347,3.483030755334904
|
||||
42,0.8780926675663517,0.8646647167633873,0.8771439727595566,4.7796797583441,3.8352484698499674
|
||||
43,0.8612553091080698,0.8646647167633873,0.8689705728597512,4.054845128880172,3.3351055939617216
|
||||
44,0.8672853828306265,0.8646647167633873,0.8765942350032162,5.084687351127778,3.4997141278204915
|
||||
45,0.9999330207635633,0.9999991684712809,0.999961212613127,1062.0227078821051,1066.3928559460198
|
||||
46,0.8575624082232012,0.8646647167633873,0.8551559761463232,3.828893487146852,3.241139317876207
|
||||
47,0.8665413533834586,0.8646647167633873,0.8661544398858453,4.478438285127198,3.478603747358267
|
||||
48,0.8592007434944238,0.8646647167633873,0.855118737468998,3.7940910243064976,3.2822223487032525
|
||||
49,0.8704133766836971,0.8646647167633873,0.865500382678378,4.384199198384147,3.5911023530238975
|
||||
50,0.8491646778042959,0.8646647167633873,0.851794264899746,3.3579252700152082,3.044481058402985
|
||||
51,0.9797169811320755,0.9816843611112658,0.9799937263322844,26.682696961270185,12.199300718675053
|
||||
52,0.8610185625892433,0.8646647167633873,0.8550214944765334,4.229415347632967,3.328932662999685
|
||||
53,0.9980134474327629,0.9975212478233336,0.9977799396172745,121.76067037067789,83.81401970878153
|
||||
54,0.9826616682286785,0.9816843611112658,0.984188943125845,27.36075767170609,14.292825796725575
|
||||
55,0.8731684981684982,0.8646647167633873,0.8759041704572621,4.194987641147051,3.6753108655347178
|
||||
56,0.8617771509167842,0.8646647167633873,0.8670473562900118,4.280937219571236,3.348786332714904
|
||||
57,0.9828465461288827,0.9816843611112658,0.9829999130908761,28.620977259519233,14.44824295888122
|
||||
58,0.9999605413723711,0.9999999999622486,0.9999815239867414,1068.5152040552123,1055.937499590527
|
||||
59,0.8583609663666508,0.8646647167633873,0.863365981066972,4.578270740967819,3.2610460392659006
|
||||
60,0.8615167216203485,0.8646647167633873,0.87275011383319,4.361985659930144,3.341946039549422
|
||||
61,0.9817799579537492,0.9816843611112658,0.9804707120928738,24.921818829840507,13.595004624088803
|
||||
62,0.9828901734104046,0.9816843611112658,0.9820598638791126,33.13657343002617,14.485407895068576
|
||||
63,0.9964990451941439,0.9975212478233336,0.9969040173143285,81.06814022868988,47.52258114381537
|
||||
64,0.8701002734731085,0.8646647167633873,0.8749987979141955,4.135291814198717,3.581757464585178
|
||||
65,0.871914299021891,0.8646647167633873,0.8723017096271682,4.478386697958349,3.636530118301703
|
||||
66,0.9830314148131163,0.9816843611112658,0.9843729837696098,25.094151458820033,14.607038496637296
|
||||
67,0.8841298467087466,0.8646647167633873,0.8753077018700133,5.53853628818087,4.049800605771121
|
||||
68,0.8603406326034063,0.8646647167633873,0.8440433769690433,4.524235022973792,3.311371389563079
|
||||
69,0.8728428701180745,0.8646647167633873,0.8682638435488484,4.656214699768444,3.665169045309687
|
||||
70,0.9999214454045562,0.9999938557876467,0.9999924712280175,1059.1469203191152,1060.7916650306693
|
||||
71,0.983337244778221,0.9816843611112658,0.9870676160277905,27.153927936215812,14.877470955183183
|
||||
72,0.861819932595089,0.8646647167633873,0.8714424801071166,4.692521945951774,3.3499124639921996
|
||||
73,0.8646474207288216,0.8646647167633873,0.8503689266285177,4.379614565501338,3.4259087359341174
|
||||
74,0.997242224605485,0.9975212478233336,0.997128692935891,95.17258736112076,60.35173678588123
|
||||
75,0.8654377880184332,0.8646647167633873,0.8686138180583679,5.258256752727215,3.44771982781959
|
||||
76,0.8650047036688617,0.8646647167633873,0.8577210771468815,4.270160666653897,3.4357369140255996
|
||||
77,0.8632794457274827,0.8646647167633873,0.8688233010801113,4.645145992899122,3.3887505192351512
|
||||
78,0.9999214639126679,0.9999938557876467,0.9999558188466329,1065.9352204631232,1061.041665031129
|
||||
79,0.8622589531680441,0.8646647167633873,0.8779810343648916,4.11030378419857,3.3615088757396454
|
||||
80,0.9996466014842738,0.9996645373720975,0.9996824170632034,491.54042097563513,353.6458222876754
|
||||
81,0.8673614400757934,0.8646647167633873,0.8625845768081761,4.821494121359948,3.5018853736319477
|
||||
82,0.8404572564612326,0.8646647167633873,0.8533828635550774,3.7075214754603656,2.8622847686854893
|
||||
83,0.8486777668952008,0.8646647167633873,0.8588206136712291,4.051148634937937,3.03374354358216
|
||||
84,0.864406779661017,0.8646647167633873,0.8631559168816202,4.565364250287144,3.4193181818181824
|
||||
85,0.9968399431189762,0.9975212478233336,0.9965477594421578,85.34451471731543,52.65820145592705
|
||||
86,0.8609802073515551,0.8646647167633873,0.8687331595189943,4.057136252886273,3.327934555412011
|
||||
87,0.981189748412885,0.9816843611112658,0.985370804395356,24.481905132608848,13.164438197246596
|
||||
88,0.9997616493862471,0.9996645373720975,0.9996136903854305,546.0652289769329,524.374992550588
|
||||
89,0.8663461538461539,0.8646647167633873,0.8661575269986499,4.692808769789424,3.4731040515346616
|
||||
90,0.9828532235939643,0.9816843611112658,0.9863223576189963,26.290670532149846,14.45391905914906
|
||||
91,0.9836443215848882,0.9816843611112658,0.9836402038315661,25.700977416179168,15.159180609145475
|
||||
92,0.9776297001427892,0.9816843611112658,0.9799988698820339,21.942918038918513,11.049117955808194
|
||||
93,0.9999838051434864,1.0,0.9999747296150359,1067.1411996073414,1064.612068894919
|
||||
94,0.9999333377774815,0.9999991684712809,0.9999862096445807,1068.1945201865392,1071.464284524187
|
||||
95,0.882701962574167,0.8646647167633873,0.8783802132466791,4.808344959542469,3.997070156821128
|
||||
96,0.8485,0.8646647167633873,0.8295998260614277,3.6597724366143556,3.029840446852368
|
||||
97,0.8686030428769018,0.8646647167633873,0.8724047783722378,4.399095911422586,3.537683587206358
|
||||
98,0.870177031320926,0.8646647167633873,0.8814469710969955,4.107885193622078,3.584044232466563
|
||||
99,0.8813409792677548,0.8646647167633873,0.8862078215818726,5.170511414130189,3.9479867687627754
|
||||
100,0.8620361560418649,0.8646647167633873,0.8616814390373451,4.193048972285818,3.3556146811622294
|
||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,9 @@
|
||||
,hit_rate,expected_hit_rate,avg_cache_time,avg_age,expected_age
|
||||
count,100.0,100.0,100.0,100.0,100.0
|
||||
mean,0.91661710442031,0.9162582095250477,0.9169650284855991,131.39556743161324,120.89851661699817
|
||||
std,0.06253952442618005,0.062451494468941625,0.06302771562285776,311.3062277178353,309.38973404832717
|
||||
min,0.8404572564612326,0.8646647167633873,0.8295998260614277,3.3579252700152082,2.8622847686854893
|
||||
25%,0.863232017228082,0.8646647167633873,0.8633134650206341,4.309626223722132,3.387476796133468
|
||||
50%,0.8737735848275839,0.8646647167633873,0.8768691038813864,4.814919540451209,3.694385815096019
|
||||
75%,0.9833707021787071,0.9816843611112658,0.9859145045911537,27.20563537008838,14.907842799720735
|
||||
max,0.9999931123784335,1.0,0.9999996306423272,1070.728501042905,1071.464284524187
|
||||
|
@@ -0,0 +1,11 @@
|
||||
obj_id,access_count,hits,misses,mu,lambda,hit_rate,expected_hit_rate,expected_hit_rate_delta,avg_cache_time,cache_time_delta,avg_age,expected_age,age_delta
|
||||
1,3976,3975,1,0,2,0.9997484909456741,1.0,-0.00025150905432591575,0.9999452683555543,-0.0001967774098802222,1014.452192424839,993.8749842789704,20.577208145868667
|
||||
2,4157,4156,1,0,2,0.9997594419052201,1.0,-0.00024055809477985246,0.9997876305871629,-2.8188681942764582e-05,1038.7315038331315,1039.1249849635733,-0.39348113044184174
|
||||
3,2039,2038,1,0,1,0.9995095635115253,1.0,-0.0004904364884746881,0.9999920609641746,-0.00048249745264927757,1028.4120480513966,1019.2499386805124,9.162109370884195
|
||||
4,2000,1999,1,0,1,0.9995,1.0,-0.0004999999999999449,0.999669486423034,-0.00016948642303393768,1015.4553032138923,999.7499374845162,15.705365729376126
|
||||
5,2039,2038,1,0,1,0.9995095635115253,1.0,-0.0004904364884746881,0.9998738733751102,-0.0003643098635849329,1029.8158881005302,1019.2499386805124,10.565949420017773
|
||||
6,2112,2111,1,0,1,0.9995265151515151,1.0,-0.00047348484848486194,0.9997380674284976,-0.00021155227698244072,1026.9772486610193,1055.7499408004087,-28.77269213938939
|
||||
7,2000,1999,1,0,1,0.9995,1.0,-0.0004999999999999449,0.9992752105163177,0.00022478948368231944,1045.3996323619958,999.7499374845162,45.64969487747965
|
||||
8,6162,6161,1,0,3,0.9998377150275884,1.0,-0.0001622849724115527,0.9998413078239241,-3.592796335660786e-06,1023.4481436270584,1026.9166599042649,-3.468516277206504
|
||||
9,2073,2072,1,0,1,0.9995176073323685,1.0,-0.0004823926676315038,0.999122154187991,0.0003954531443775,1029.0536159581613,1036.2499396862609,-7.1963237280995145
|
||||
10,6231,6230,1,0,3,0.9998395121168352,1.0,-0.000160487883164806,0.9998707229599707,-3.121084313550959e-05,1033.7580924486485,1038.4166599790938,-4.658567530445225
|
||||
|
@@ -0,0 +1,11 @@
|
||||
obj_id,hit_rate,expected_hit_rate,avg_cache_time,avg_age,expected_age
|
||||
1,0.9997484909456741,1.0,0.9999452683555543,1014.452192424839,993.8749842789704
|
||||
2,0.9997594419052201,1.0,0.9997876305871629,1038.7315038331315,1039.1249849635733
|
||||
3,0.9995095635115253,1.0,0.9999920609641746,1028.4120480513966,1019.2499386805124
|
||||
4,0.9995,1.0,0.999669486423034,1015.4553032138923,999.7499374845162
|
||||
5,0.9995095635115253,1.0,0.9998738733751102,1029.8158881005302,1019.2499386805124
|
||||
6,0.9995265151515151,1.0,0.9997380674284976,1026.9772486610193,1055.7499408004087
|
||||
7,0.9995,1.0,0.9992752105163177,1045.3996323619958,999.7499374845162
|
||||
8,0.9998377150275884,1.0,0.9998413078239241,1023.4481436270584,1026.9166599042649
|
||||
9,0.9995176073323685,1.0,0.999122154187991,1029.0536159581613,1036.2499396862609
|
||||
10,0.9998395121168352,1.0,0.9998707229599707,1033.7580924486485,1038.4166599790938
|
||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,9 @@
|
||||
,hit_rate,expected_hit_rate,avg_cache_time,avg_age,expected_age
|
||||
count,10.0,10.0,10.0,10.0,10.0
|
||||
mean,0.9996248409502252,1.0,0.9997115782621735,1028.5503668680672,1022.8332921942629
|
||||
std,0.0001504515920636073,0.0,0.000288265504048382,9.5177859042572,20.326210920562882
|
||||
min,0.9995,1.0,0.999122154187991,1014.452192424839,993.8749842789704
|
||||
25%,0.9995095635115253,1.0,0.9996866316743999,1024.3304198855485,1004.6249377835152
|
||||
50%,0.9995220612419418,1.0,0.9998144692055435,1028.732832004779,1023.0832992923886
|
||||
75%,0.9997567041653337,1.0,0.9998730857713254,1032.772541361619,1037.8749799058855
|
||||
max,0.9998395121168352,1.0,0.9999920609641746,1045.3996323619958,1055.7499408004087
|
||||
|
@@ -0,0 +1,101 @@
|
||||
obj_id,access_count,hits,misses,mu,lambda,hit_rate,expected_hit_rate,expected_hit_rate_delta,avg_cache_time,cache_time_delta,avg_age,expected_age,age_delta
|
||||
1,2070,1955,115,0,1,0.9444444444444444,0.950212931632136,-0.005768487187691629,0.9486243772332095,-0.004179932788765051,12.619823384477973,8.74285714285714,3.876966241620833
|
||||
2,4378,4360,18,0,2,0.9958885335769758,0.9975212478233336,-0.0016327142463578026,0.9966439208996107,-0.000755387322634915,114.74771608240994,60.68029805956138,54.06741802284856
|
||||
3,2211,2102,109,0,1,0.9507010402532791,0.950212931632136,0.000488108621143013,0.9529021389066927,-0.002201098653413669,14.757716445474099,9.885883726816937,4.871832718657162
|
||||
4,2259,2157,102,0,1,0.9548472775564409,0.950212931632136,0.0046343459243048946,0.9516151026006796,0.0032321749557613355,16.32134990580003,10.817754955242982,5.503594950557048
|
||||
5,2193,2078,115,0,1,0.9475604195166438,0.950212931632136,-0.0026525121154922227,0.9392093506747987,0.00835106884184511,14.566894470347622,9.278051164069096,5.288843306278526
|
||||
6,2111,2001,110,0,1,0.9478919943154903,0.950212931632136,-0.0023209373166457326,0.9477760523713599,0.00011594194413044878,13.208161166782352,9.338766802263889,3.869394364518463
|
||||
7,2165,2058,107,0,1,0.9505773672055428,0.950212931632136,0.0003644355734067073,0.9533309154112495,-0.002753548205706724,18.924952953318776,9.860488070446454,9.064464882872322
|
||||
8,2147,2029,118,0,1,0.9450395901257569,0.950212931632136,-0.005173341506379159,0.9409780265898632,0.0040615635358937086,12.698470627072505,8.84039345087344,3.858077176199064
|
||||
9,2153,2044,109,0,1,0.9493729679516953,0.950212931632136,-0.0008399636804407029,0.9514088129408648,-0.002035844989169422,14.96870235338682,9.619654056086379,5.349048297300442
|
||||
10,2288,2180,108,0,1,0.9527972027972028,0.950212931632136,0.002584271165066765,0.9549529450172702,-0.0021557422200674248,17.4586929133598,10.336549620345505,7.122143293014297
|
||||
11,2212,2107,105,0,1,0.9525316455696202,0.950212931632136,0.0023187139374841736,0.9491875424495626,0.0033441031200576177,17.01874418756274,10.277255537547262,6.7414886500154765
|
||||
12,2211,2116,95,0,1,0.9570330167345092,0.950212931632136,0.006820085102373197,0.9560112180744198,0.0010217986600894458,18.990991240416847,11.381353313952777,7.609637926464069
|
||||
13,2228,2124,104,0,1,0.9533213644524237,0.950212931632136,0.00310843282028761,0.94855240204016,0.004768962412263655,15.167333252738144,10.455564196832565,4.711769055905579
|
||||
14,4369,4358,11,0,2,0.9974822613870451,0.9975212478233336,-3.898643628852394e-05,0.9983924234833677,-0.0009101620963225532,133.9883568464587,99.17029698844817,34.818059858010514
|
||||
15,2164,2056,108,0,1,0.9500924214417745,0.950212931632136,-0.00012051019036152244,0.9381545915635087,0.01193782987826586,14.500117045013923,9.76212041425312,4.737996630760803
|
||||
16,4244,4230,14,0,2,0.9967012252591895,0.9975212478233336,-0.0008200225641441516,0.9963765739486156,0.00032465131057390906,145.62636586023797,75.6605077716718,69.96585808856616
|
||||
17,36851,36850,1,0,17,0.9999728636943367,1.0,-2.7136305663311155e-05,0.9999665191873586,6.3445069781176144e-06,1094.2283599399932,1083.8382350956906,10.39012484430259
|
||||
18,4341,4327,14,0,2,0.9967749366505414,0.9975212478233336,-0.0007463111727922245,0.9952264665291463,0.0015484701213951402,114.1088655128529,77.3926552508421,36.716210262010804
|
||||
19,2146,2032,114,0,1,0.9468779123951537,0.950212931632136,-0.0033350192369823173,0.9441913811324777,0.0026865312626760396,17.437068429987498,9.155459256086592,8.281609173900906
|
||||
20,2149,2039,110,0,1,0.9488134015821312,0.950212931632136,-0.0013995300500048158,0.9497349083660105,-0.0009215067838792557,17.373238108293418,9.511615438048105,7.861622670245312
|
||||
21,2161,2040,121,0,1,0.944007403979639,0.950212931632136,-0.006205527652497045,0.9517621179301926,-0.0077547139505536045,14.004467151545468,8.672551399607716,5.331915751937752
|
||||
22,6533,6532,1,0,3,0.9998469309658656,0.9998765901959134,-2.965923004771831e-05,0.9999106450383906,-6.3714072524923e-05,1096.523003122301,1088.7499936216823,7.7730095006186275
|
||||
23,10825,10824,1,0,5,0.9999076212471132,0.9999996940976795,-9.207285056633818e-05,0.9998738715437948,3.3749703318375346e-05,1091.1093407420508,1082.449997690629,8.659343051421729
|
||||
24,2190,2077,113,0,1,0.9484018264840183,0.950212931632136,-0.0018111051481177753,0.9523508347550618,-0.003949008271043497,14.439572392863898,9.433644910208203,5.005927482655695
|
||||
25,88914,88913,1,0,41,0.9999887531772275,1.0,-1.124682277253708e-05,0.9999959433622262,-7.19018499872881e-06,1086.2345123413852,1084.3109755791656,1.9235367622195554
|
||||
26,2183,2085,98,0,1,0.9551076500229042,0.950212931632136,0.00489471839076816,0.958399796996221,-0.003292146973316812,15.65463464605401,10.882014708413807,4.7726199376402025
|
||||
27,2151,2027,124,0,1,0.9423523942352394,0.950212931632136,-0.007860537396896627,0.9389465725551559,0.0034058216800835206,13.311785422605222,8.415967278679412,4.89581814392581
|
||||
28,2178,2064,114,0,1,0.9476584022038568,0.950212931632136,-0.002554529428279273,0.9494375433407667,-0.001779141136909912,13.813518228207817,9.295913049951611,4.517605178256206
|
||||
29,2156,2036,120,0,1,0.9443413729128015,0.950212931632136,-0.005871558719334535,0.9512306572329248,-0.006889284320123257,14.603162466061,8.726176844783721,5.87698562127728
|
||||
30,8674,8673,1,0,4,0.9998847129352086,0.9999938557876467,-0.00010914285243801558,0.9999213266970824,-3.661376187380494e-05,1091.101748088275,1084.187496396891,6.9142516913839245
|
||||
31,2159,2038,121,0,1,0.9439555349698935,0.950212931632136,-0.006257396662242565,0.9500803049712329,-0.006124770001339375,12.54234771374873,8.664280074118272,3.8780676396304585
|
||||
32,6572,6568,4,0,3,0.9993913572732805,0.9998765901959134,-0.0004852329226328056,0.9993452090504101,4.6148222870412425e-05,419.9493102120405,273.7499746321489,146.19933557989157
|
||||
33,10916,10915,1,0,5,0.9999083913521436,0.9999996940976795,-9.13027455359261e-05,0.9999705200905955,-6.212873845190536e-05,1089.471429291145,1091.5499977088755,-2.078568417730594
|
||||
34,2171,2062,109,0,1,0.9497927222478121,0.950212931632136,-0.00042020938432396626,0.9421281494748277,0.007664572772984379,15.466799141783113,9.702278081565337,5.764521060217776
|
||||
35,17211,17210,1,0,8,0.9999418976236129,0.9999999999622486,-5.8102338635790396e-05,0.9999938483752753,-5.19507516624218e-05,1085.6583856448483,1075.6562490928354,10.002136552012871
|
||||
36,2287,2201,86,0,1,0.9623961521644075,0.950212931632136,0.0121832205322715,0.9609862607663917,0.001409891398015839,20.06580041000901,13.041721075322313,7.024079334686698
|
||||
37,2212,2113,99,0,1,0.955244122965642,0.950212931632136,0.0050311913335059355,0.9482275510852737,0.007016571880368305,15.684517542723453,10.915994628364578,4.768522914358876
|
||||
38,6449,6447,2,0,3,0.9996898743991316,0.9998765901959134,-0.00018671579678175565,0.9997690581587559,-7.91837596243461e-05,554.1410090825157,537.3333204093423,16.807688673173402
|
||||
39,2129,2019,110,0,1,0.9483325504931893,0.950212931632136,-0.0018803811389467295,0.9494228707764726,-0.0010903202832832637,16.253694409895203,9.420643026211978,6.833051383683225
|
||||
40,2167,2059,108,0,1,0.9501615136132903,0.950212931632136,-5.1418018845783564e-05,0.9453290347627322,0.004832478850558042,14.959503656155935,9.7760183870572,5.183485269098735
|
||||
41,21738,21737,1,0,10,0.9999539976078756,0.9999999999999064,-4.6002392030786154e-05,0.9999647932445452,-1.0795636669613806e-05,1086.0355246537058,1086.874999425334,-0.8394747716281472
|
||||
42,4272,4255,17,0,2,0.9960205992509363,0.9975212478233336,-0.0015006485723972895,0.9955260352114926,0.0004945640394437012,86.32067728975686,62.69828020336835,23.62239708638851
|
||||
43,2186,2068,118,0,1,0.9460201280878316,0.950212931632136,-0.004192803544304402,0.9456294541776077,0.0003906739102239598,12.960757477647363,9.005777214665356,3.9549802629820068
|
||||
44,2254,2145,109,0,1,0.9516415261756876,0.950212931632136,0.0014285945435515979,0.9478286269583412,0.0038128992173463994,14.652385956199947,10.083254951604923,4.5691310045950235
|
||||
45,4264,4251,13,0,2,0.9969512195121951,0.9975212478233336,-0.000570028311138504,0.9981406072292069,-0.001189387717011825,146.45357054888225,81.87480916030545,64.57876138857681
|
||||
46,2136,2024,112,0,1,0.947565543071161,0.950212931632136,-0.002647388560975017,0.9485318202443077,-0.000966277173146679,14.474733302358878,9.278983516483517,5.1957497858753605
|
||||
47,4327,4315,12,0,2,0.9972267159694939,0.9975212478233336,-0.00029453185383976344,0.9971814887645647,4.5227204929165765e-05,169.7532344924805,90.02065976240027,79.73257473008022
|
||||
48,2194,2090,104,0,1,0.9525979945305378,0.950212931632136,0.0023850628984017908,0.9530355992507042,-0.00043760472016640684,17.63447350093758,10.29200782877254,7.342465672165041
|
||||
49,2000,1866,134,0,1,0.933,0.950212931632136,-0.017212931632135997,0.9273820930115407,0.00561790698845932,11.129952406217221,7.204021280045715,3.9259311261715064
|
||||
50,47739,47738,1,0,22,0.9999790527660822,1.0,-2.0947233917767427e-05,0.9999828473911744,-3.79462509214612e-06,1089.8073115115287,1084.9659089703694,4.841402541159368
|
||||
51,2233,2122,111,0,1,0.9502910882221227,0.950212931632136,7.815658998666652e-05,0.9498134896764552,0.0004775985456675347,19.271955906608373,9.802186572335827,9.469769334272545
|
||||
52,13110,13109,1,0,6,0.9999237223493517,0.9999999847700203,-7.626242066860467e-05,0.999959286053994,-3.556370464230518e-05,1086.3053870584633,1092.4583317444958,-6.15294468603247
|
||||
53,4319,4307,12,0,2,0.997221579069229,0.9975212478233336,-0.00029966875410458726,0.997583845414707,-0.00036226634547797953,145.1207557958186,89.85399277378542,55.26676302203319
|
||||
54,2225,2115,110,0,1,0.950561797752809,0.950212931632136,0.00034886612067297484,0.9502639189702244,0.0002978787825845819,13.925934883514747,9.857299958106422,4.068634925408325
|
||||
55,2274,2176,98,0,1,0.9569041336851363,0.950212931632136,0.0066912020530002225,0.957557897364692,-0.0006537636795557189,19.849144502358556,11.346535198348986,8.50260930400957
|
||||
56,4399,4389,10,0,2,0.9977267560809275,0.9975212478233336,0.00020550825759391156,0.9973501118271939,0.00037664425373362675,166.4420206553423,109.84985776058465,56.59216289475765
|
||||
57,2102,1990,112,0,1,0.9467174119885823,0.950212931632136,-0.0034955196435537683,0.948812263838397,-0.0020948518498147273,17.995804311978645,9.127085951682723,8.868718360295922
|
||||
58,10814,10813,1,0,5,0.9999075272794525,0.9999996940976795,-9.21668182269908e-05,0.9998649083671042,4.2618912348357796e-05,1089.7262771368573,1081.349997687955,8.376279448902324
|
||||
59,4273,4265,8,0,2,0.9981277790779312,0.9975212478233336,0.000606531254597531,0.9976238965346087,0.0005038825433224536,385.7647951271697,133.40613287655088,252.3586622506188
|
||||
60,8625,8624,1,0,4,0.9998840579710145,0.9999938557876467,-0.00010979781663211785,0.9999970857486101,-0.0001130277775955868,1084.816663780959,1078.0624963769628,6.7541674039962345
|
||||
61,38967,38966,1,0,18,0.9999743372597326,1.0,-2.5662740267384798e-05,0.9999851652546019,-1.0827994869289093e-05,1087.196610049301,1082.4027775995085,4.79383244979249
|
||||
62,2253,2158,95,0,1,0.9578339991122947,0.950212931632136,0.007621067480158672,0.9571483101682046,0.000685688944090157,18.131720870098327,11.602510470235886,6.529210399862441
|
||||
63,2202,2108,94,0,1,0.9573115349682108,0.950212931632136,0.007098603336074705,0.9629888617155431,-0.005677326747332345,20.682737751517752,11.45731352125192,9.225424230265832
|
||||
64,8772,8771,1,0,4,0.9998860009119928,0.9999938557876467,-0.00010785487565390106,0.9996734899927322,0.00021251091926055565,1082.6563948842895,1096.437496438031,-13.781101553741564
|
||||
65,2129,2001,128,0,1,0.9398778769375293,0.950212931632136,-0.010335054694606716,0.9364088471185154,0.00346902981901398,13.89516498909274,8.058658065980628,5.836506923112111
|
||||
66,2156,2034,122,0,1,0.9434137291280148,0.950212931632136,-0.006799202504121249,0.9425762222646027,0.0008375068634121074,13.410181478914625,8.578786337493636,4.831395141420989
|
||||
67,2216,2114,102,0,1,0.953971119133574,0.950212931632136,0.0037581875014379706,0.951863823053923,0.0021072960796509888,16.76733769246498,10.606855952542679,6.160481739922302
|
||||
68,8731,8730,1,0,4,0.9998854655824075,0.9999938557876467,-0.00010839020523911724,0.9999948322425977,-0.00010936666019012442,1095.4919663053333,1091.3124964207943,4.179469884539003
|
||||
69,2171,2059,112,0,1,0.9484108705665591,0.950212931632136,-0.0018020610655768987,0.950546987355242,-0.0021361167886828625,13.598032614877097,9.435344900371488,4.1626877145056085
|
||||
70,2222,2123,99,0,1,0.9554455445544554,0.950212931632136,0.005232612922319357,0.9484429966552087,0.007002547899246703,16.216739372730984,10.966526019690564,5.2502133530404205
|
||||
71,15119,15118,1,0,7,0.9999338580593955,0.999999999241744,-6.61411823484892e-05,0.9998622319790162,7.162608037925011e-05,1089.455098007797,1079.8928559625058,9.562242045291214
|
||||
72,2177,2068,109,0,1,0.9499310978410657,0.950212931632136,-0.000281833791070385,0.9455993890353961,0.004331708805669576,13.936315113695613,9.729819215266744,4.206495898428869
|
||||
73,2151,2036,115,0,1,0.9465364946536494,0.950212931632136,-0.00367643697848663,0.9528023078357455,-0.006265813182096069,14.582887117105265,9.095307421522094,5.487579695583172
|
||||
74,4417,4405,12,0,2,0.9972832239076296,0.9975212478233336,-0.00023802391570404424,0.9977166287561327,-0.0004334048485030717,138.5712978978568,91.89566330386072,46.67563459399608
|
||||
75,2187,2084,103,0,1,0.9529035208047554,0.950212931632136,0.0026905891726193287,0.9491195120254524,0.003784008779302961,17.31125180553481,10.36047582135559,6.950775984179218
|
||||
76,2178,2063,115,0,1,0.9471992653810836,0.950212931632136,-0.0030136662510524825,0.9395421546977504,0.00765711068333319,16.62374120900776,9.212786155849217,7.410955053158544
|
||||
77,2297,2198,99,0,1,0.95690030474532,0.950212931632136,0.006687373113183903,0.955159205393011,0.001741099352308928,16.105512081013774,11.345503983101302,4.760008097912472
|
||||
78,2253,2152,101,0,1,0.9551708832667555,0.950212931632136,0.0049579516346194286,0.9518723572680906,0.0032985259986648696,18.06822264436819,10.897733223946693,7.170489420421498
|
||||
79,2082,1968,114,0,1,0.9452449567723343,0.950212931632136,-0.004967974859801716,0.9485865466427489,-0.003341589870414552,15.304112659590958,8.874541910331395,6.429570749259563
|
||||
80,2262,2156,106,0,1,0.9531388152077808,0.950212931632136,0.0029258835756447166,0.9483241742908707,0.0048146409169100846,15.270630451591341,10.413813131528835,4.856817320062506
|
||||
81,2160,2052,108,0,1,0.95,0.950212931632136,-0.000212931632136093,0.9473476696220361,0.002652330377963863,14.112745358373834,9.74358974358974,4.369155614784095
|
||||
82,6557,6555,2,0,3,0.9996949824614916,0.9998765901959134,-0.0001816077344217737,0.9992788006232607,0.00041618183823088906,628.181697302567,546.3333206224169,81.84837668015018
|
||||
83,2188,2093,95,0,1,0.956581352833638,0.950212931632136,0.006368421201501939,0.9509922431696775,0.005589109663960534,18.899582863721427,11.260241704471394,7.6393411592500335
|
||||
84,6418,6417,1,0,3,0.9998441882206295,0.9998765901959134,-3.24019752838689e-05,0.9997872187407677,5.696947986177925e-05,1093.1155867350597,1069.5833268407387,23.532259894320987
|
||||
85,8693,8692,1,0,4,0.9998849649142989,0.9999938557876467,-0.0001088908733477556,0.9999010219388974,-1.6057024598503666e-05,1086.624871833535,1086.5624964054705,0.06237542806456986
|
||||
86,2191,2090,101,0,1,0.9539023277042447,0.950212931632136,0.0036893960721086083,0.9544092705323604,-0.0005069428281156974,19.842160152290703,10.59063649882859,9.251523653462112
|
||||
87,2200,2092,108,0,1,0.9509090909090909,0.950212931632136,0.0006961592769548774,0.9567405423948059,-0.005831451485714956,15.257878558516683,9.928894411653035,5.3289841468636485
|
||||
88,8817,8816,1,0,4,0.9998865827378927,0.9999938557876467,-0.00010727304975399754,0.9999513757110653,-6.479297317263377e-05,1082.3912723156463,1102.0624964552994,-19.671224139653077
|
||||
89,2221,2113,108,0,1,0.9513732552904097,0.950212931632136,0.0011603236582736765,0.9584026472312254,-0.0070293919408156436,15.811072003455324,10.026177596609072,5.784894406846252
|
||||
90,2249,2148,101,0,1,0.9550911516229436,0.950212931632136,0.0048782199908075086,0.9587304039429301,-0.003639252319986519,19.26328420063018,10.877920814596823,8.385363386033358
|
||||
91,8648,8647,1,0,4,0.9998843663274746,0.9999938557876467,-0.00010948946017208527,0.9998995710436726,-1.5204716197980694e-05,1089.8530368436582,1080.9374963861974,8.915540457460793
|
||||
92,2115,2000,115,0,1,0.9456264775413712,0.950212931632136,-0.004586454090764858,0.9407819658279913,0.004844511713379851,13.055759280433797,8.938665539648168,4.117093740785629
|
||||
93,2206,2091,115,0,1,0.9478694469628286,0.950212931632136,-0.0023434846693074496,0.9519410873396043,-0.004071640376775654,14.676167085018152,9.334613633374135,5.3415534516440175
|
||||
94,2115,1992,123,0,1,0.9418439716312057,0.950212931632136,-0.008368960000930348,0.9464650991382689,-0.004621127507063227,16.6744064880033,8.340073758663088,8.334332729340211
|
||||
95,4436,4425,11,0,2,0.9975202885482417,0.9975212478233336,-9.592750919162896e-07,0.9985158679561049,-0.0009955794078632119,137.08597659127236,100.69302664382371,36.39294994744864
|
||||
96,2096,1979,117,0,1,0.9441793893129771,0.950212931632136,-0.00603354231915898,0.9490251128189702,-0.004845723505993105,17.30330429726066,8.700087043154527,8.603217254106132
|
||||
97,4412,4398,14,0,2,0.9968268359020852,0.9975212478233336,-0.0006944119212484168,0.9962643332460374,0.0005625026560478474,141.29250934936076,78.66051564780176,62.631993701559
|
||||
98,10915,10914,1,0,5,0.9999083829592305,0.9999996940976795,-9.131113844906835e-05,0.9999534726346531,-4.508967542260489e-05,1083.2307881624758,1091.4499977101557,-8.219209547679839
|
||||
99,2116,2006,110,0,1,0.9480151228733459,0.950212931632136,-0.002197808758790165,0.9449450825569793,0.0030700403163665957,15.825859397383763,9.36151029950156,6.464349097882202
|
||||
100,2144,2030,114,0,1,0.9468283582089553,0.950212931632136,-0.00338457342318077,0.9548518186968017,-0.008023460487846412,14.972900837503742,9.146680789179472,5.82622004832427
|
||||
|
@@ -0,0 +1,101 @@
|
||||
obj_id,hit_rate,expected_hit_rate,avg_cache_time,avg_age,expected_age
|
||||
1,0.9444444444444444,0.950212931632136,0.9486243772332095,12.619823384477973,8.74285714285714
|
||||
2,0.9958885335769758,0.9975212478233336,0.9966439208996107,114.74771608240994,60.68029805956138
|
||||
3,0.9507010402532791,0.950212931632136,0.9529021389066927,14.757716445474099,9.885883726816937
|
||||
4,0.9548472775564409,0.950212931632136,0.9516151026006796,16.32134990580003,10.817754955242982
|
||||
5,0.9475604195166438,0.950212931632136,0.9392093506747987,14.566894470347622,9.278051164069096
|
||||
6,0.9478919943154903,0.950212931632136,0.9477760523713599,13.208161166782352,9.338766802263889
|
||||
7,0.9505773672055428,0.950212931632136,0.9533309154112495,18.924952953318776,9.860488070446454
|
||||
8,0.9450395901257569,0.950212931632136,0.9409780265898632,12.698470627072505,8.84039345087344
|
||||
9,0.9493729679516953,0.950212931632136,0.9514088129408648,14.96870235338682,9.619654056086379
|
||||
10,0.9527972027972028,0.950212931632136,0.9549529450172702,17.4586929133598,10.336549620345505
|
||||
11,0.9525316455696202,0.950212931632136,0.9491875424495626,17.01874418756274,10.277255537547262
|
||||
12,0.9570330167345092,0.950212931632136,0.9560112180744198,18.990991240416847,11.381353313952777
|
||||
13,0.9533213644524237,0.950212931632136,0.94855240204016,15.167333252738144,10.455564196832565
|
||||
14,0.9974822613870451,0.9975212478233336,0.9983924234833677,133.9883568464587,99.17029698844817
|
||||
15,0.9500924214417745,0.950212931632136,0.9381545915635087,14.500117045013923,9.76212041425312
|
||||
16,0.9967012252591895,0.9975212478233336,0.9963765739486156,145.62636586023797,75.6605077716718
|
||||
17,0.9999728636943367,1.0,0.9999665191873586,1094.2283599399932,1083.8382350956906
|
||||
18,0.9967749366505414,0.9975212478233336,0.9952264665291463,114.1088655128529,77.3926552508421
|
||||
19,0.9468779123951537,0.950212931632136,0.9441913811324777,17.437068429987498,9.155459256086592
|
||||
20,0.9488134015821312,0.950212931632136,0.9497349083660105,17.373238108293418,9.511615438048105
|
||||
21,0.944007403979639,0.950212931632136,0.9517621179301926,14.004467151545468,8.672551399607716
|
||||
22,0.9998469309658656,0.9998765901959134,0.9999106450383906,1096.523003122301,1088.7499936216823
|
||||
23,0.9999076212471132,0.9999996940976795,0.9998738715437948,1091.1093407420508,1082.449997690629
|
||||
24,0.9484018264840183,0.950212931632136,0.9523508347550618,14.439572392863898,9.433644910208203
|
||||
25,0.9999887531772275,1.0,0.9999959433622262,1086.2345123413852,1084.3109755791656
|
||||
26,0.9551076500229042,0.950212931632136,0.958399796996221,15.65463464605401,10.882014708413807
|
||||
27,0.9423523942352394,0.950212931632136,0.9389465725551559,13.311785422605222,8.415967278679412
|
||||
28,0.9476584022038568,0.950212931632136,0.9494375433407667,13.813518228207817,9.295913049951611
|
||||
29,0.9443413729128015,0.950212931632136,0.9512306572329248,14.603162466061,8.726176844783721
|
||||
30,0.9998847129352086,0.9999938557876467,0.9999213266970824,1091.101748088275,1084.187496396891
|
||||
31,0.9439555349698935,0.950212931632136,0.9500803049712329,12.54234771374873,8.664280074118272
|
||||
32,0.9993913572732805,0.9998765901959134,0.9993452090504101,419.9493102120405,273.7499746321489
|
||||
33,0.9999083913521436,0.9999996940976795,0.9999705200905955,1089.471429291145,1091.5499977088755
|
||||
34,0.9497927222478121,0.950212931632136,0.9421281494748277,15.466799141783113,9.702278081565337
|
||||
35,0.9999418976236129,0.9999999999622486,0.9999938483752753,1085.6583856448483,1075.6562490928354
|
||||
36,0.9623961521644075,0.950212931632136,0.9609862607663917,20.06580041000901,13.041721075322313
|
||||
37,0.955244122965642,0.950212931632136,0.9482275510852737,15.684517542723453,10.915994628364578
|
||||
38,0.9996898743991316,0.9998765901959134,0.9997690581587559,554.1410090825157,537.3333204093423
|
||||
39,0.9483325504931893,0.950212931632136,0.9494228707764726,16.253694409895203,9.420643026211978
|
||||
40,0.9501615136132903,0.950212931632136,0.9453290347627322,14.959503656155935,9.7760183870572
|
||||
41,0.9999539976078756,0.9999999999999064,0.9999647932445452,1086.0355246537058,1086.874999425334
|
||||
42,0.9960205992509363,0.9975212478233336,0.9955260352114926,86.32067728975686,62.69828020336835
|
||||
43,0.9460201280878316,0.950212931632136,0.9456294541776077,12.960757477647363,9.005777214665356
|
||||
44,0.9516415261756876,0.950212931632136,0.9478286269583412,14.652385956199947,10.083254951604923
|
||||
45,0.9969512195121951,0.9975212478233336,0.9981406072292069,146.45357054888225,81.87480916030545
|
||||
46,0.947565543071161,0.950212931632136,0.9485318202443077,14.474733302358878,9.278983516483517
|
||||
47,0.9972267159694939,0.9975212478233336,0.9971814887645647,169.7532344924805,90.02065976240027
|
||||
48,0.9525979945305378,0.950212931632136,0.9530355992507042,17.63447350093758,10.29200782877254
|
||||
49,0.933,0.950212931632136,0.9273820930115407,11.129952406217221,7.204021280045715
|
||||
50,0.9999790527660822,1.0,0.9999828473911744,1089.8073115115287,1084.9659089703694
|
||||
51,0.9502910882221227,0.950212931632136,0.9498134896764552,19.271955906608373,9.802186572335827
|
||||
52,0.9999237223493517,0.9999999847700203,0.999959286053994,1086.3053870584633,1092.4583317444958
|
||||
53,0.997221579069229,0.9975212478233336,0.997583845414707,145.1207557958186,89.85399277378542
|
||||
54,0.950561797752809,0.950212931632136,0.9502639189702244,13.925934883514747,9.857299958106422
|
||||
55,0.9569041336851363,0.950212931632136,0.957557897364692,19.849144502358556,11.346535198348986
|
||||
56,0.9977267560809275,0.9975212478233336,0.9973501118271939,166.4420206553423,109.84985776058465
|
||||
57,0.9467174119885823,0.950212931632136,0.948812263838397,17.995804311978645,9.127085951682723
|
||||
58,0.9999075272794525,0.9999996940976795,0.9998649083671042,1089.7262771368573,1081.349997687955
|
||||
59,0.9981277790779312,0.9975212478233336,0.9976238965346087,385.7647951271697,133.40613287655088
|
||||
60,0.9998840579710145,0.9999938557876467,0.9999970857486101,1084.816663780959,1078.0624963769628
|
||||
61,0.9999743372597326,1.0,0.9999851652546019,1087.196610049301,1082.4027775995085
|
||||
62,0.9578339991122947,0.950212931632136,0.9571483101682046,18.131720870098327,11.602510470235886
|
||||
63,0.9573115349682108,0.950212931632136,0.9629888617155431,20.682737751517752,11.45731352125192
|
||||
64,0.9998860009119928,0.9999938557876467,0.9996734899927322,1082.6563948842895,1096.437496438031
|
||||
65,0.9398778769375293,0.950212931632136,0.9364088471185154,13.89516498909274,8.058658065980628
|
||||
66,0.9434137291280148,0.950212931632136,0.9425762222646027,13.410181478914625,8.578786337493636
|
||||
67,0.953971119133574,0.950212931632136,0.951863823053923,16.76733769246498,10.606855952542679
|
||||
68,0.9998854655824075,0.9999938557876467,0.9999948322425977,1095.4919663053333,1091.3124964207943
|
||||
69,0.9484108705665591,0.950212931632136,0.950546987355242,13.598032614877097,9.435344900371488
|
||||
70,0.9554455445544554,0.950212931632136,0.9484429966552087,16.216739372730984,10.966526019690564
|
||||
71,0.9999338580593955,0.999999999241744,0.9998622319790162,1089.455098007797,1079.8928559625058
|
||||
72,0.9499310978410657,0.950212931632136,0.9455993890353961,13.936315113695613,9.729819215266744
|
||||
73,0.9465364946536494,0.950212931632136,0.9528023078357455,14.582887117105265,9.095307421522094
|
||||
74,0.9972832239076296,0.9975212478233336,0.9977166287561327,138.5712978978568,91.89566330386072
|
||||
75,0.9529035208047554,0.950212931632136,0.9491195120254524,17.31125180553481,10.36047582135559
|
||||
76,0.9471992653810836,0.950212931632136,0.9395421546977504,16.62374120900776,9.212786155849217
|
||||
77,0.95690030474532,0.950212931632136,0.955159205393011,16.105512081013774,11.345503983101302
|
||||
78,0.9551708832667555,0.950212931632136,0.9518723572680906,18.06822264436819,10.897733223946693
|
||||
79,0.9452449567723343,0.950212931632136,0.9485865466427489,15.304112659590958,8.874541910331395
|
||||
80,0.9531388152077808,0.950212931632136,0.9483241742908707,15.270630451591341,10.413813131528835
|
||||
81,0.95,0.950212931632136,0.9473476696220361,14.112745358373834,9.74358974358974
|
||||
82,0.9996949824614916,0.9998765901959134,0.9992788006232607,628.181697302567,546.3333206224169
|
||||
83,0.956581352833638,0.950212931632136,0.9509922431696775,18.899582863721427,11.260241704471394
|
||||
84,0.9998441882206295,0.9998765901959134,0.9997872187407677,1093.1155867350597,1069.5833268407387
|
||||
85,0.9998849649142989,0.9999938557876467,0.9999010219388974,1086.624871833535,1086.5624964054705
|
||||
86,0.9539023277042447,0.950212931632136,0.9544092705323604,19.842160152290703,10.59063649882859
|
||||
87,0.9509090909090909,0.950212931632136,0.9567405423948059,15.257878558516683,9.928894411653035
|
||||
88,0.9998865827378927,0.9999938557876467,0.9999513757110653,1082.3912723156463,1102.0624964552994
|
||||
89,0.9513732552904097,0.950212931632136,0.9584026472312254,15.811072003455324,10.026177596609072
|
||||
90,0.9550911516229436,0.950212931632136,0.9587304039429301,19.26328420063018,10.877920814596823
|
||||
91,0.9998843663274746,0.9999938557876467,0.9998995710436726,1089.8530368436582,1080.9374963861974
|
||||
92,0.9456264775413712,0.950212931632136,0.9407819658279913,13.055759280433797,8.938665539648168
|
||||
93,0.9478694469628286,0.950212931632136,0.9519410873396043,14.676167085018152,9.334613633374135
|
||||
94,0.9418439716312057,0.950212931632136,0.9464650991382689,16.6744064880033,8.340073758663088
|
||||
95,0.9975202885482417,0.9975212478233336,0.9985158679561049,137.08597659127236,100.69302664382371
|
||||
96,0.9441793893129771,0.950212931632136,0.9490251128189702,17.30330429726066,8.700087043154527
|
||||
97,0.9968268359020852,0.9975212478233336,0.9962643332460374,141.29250934936076,78.66051564780176
|
||||
98,0.9999083829592305,0.9999996940976795,0.9999534726346531,1083.2307881624758,1091.4499977101557
|
||||
99,0.9480151228733459,0.950212931632136,0.9449450825569793,15.825859397383763,9.36151029950156
|
||||
100,0.9468283582089553,0.950212931632136,0.9548518186968017,14.972900837503742,9.146680789179472
|
||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,9 @@
|
||||
,hit_rate,expected_hit_rate,avg_cache_time,avg_age,expected_age
|
||||
count,100.0,100.0,100.0,100.0,100.0
|
||||
mean,0.9679317913838174,0.9683052961638563,0.9676874650457498,274.8288863738333,259.21462622522296
|
||||
std,0.02419206068641592,0.02373803008919154,0.024569875837750704,433.52977094831726,435.77879154008764
|
||||
min,0.933,0.950212931632136,0.9273820930115407,11.129952406217221,7.204021280045715
|
||||
25%,0.9482531935882285,0.950212931632136,0.9486149195855943,14.909056853485476,9.405859844534374
|
||||
50%,0.9544091983450075,0.950212931632136,0.9538700929718049,17.546583207148693,10.712305453892832
|
||||
75%,0.9978270118301784,0.9975212478233336,0.9984232846015519,223.7561246511528,115.73892653957621
|
||||
max,0.9999887531772275,1.0,0.9999970857486101,1096.523003122301,1102.0624964552994
|
||||
|
@@ -0,0 +1,101 @@
|
||||
obj_id,access_count,hits,misses,mu,lambda,hit_rate,expected_hit_rate,expected_hit_rate_delta,avg_cache_time,cache_time_delta,avg_age,expected_age,age_delta
|
||||
1,4167,4165,2,0,2,0.9995200383969283,0.9996645373720975,-0.00014449897516921606,0.9998192381954838,-0.00029919979855552725,635.2559060931944,520.7499699952386,114.50593609795578
|
||||
2,2096,2054,42,0,1,0.9799618320610687,0.9816843611112658,-0.001722529050197097,0.9808735790087878,-0.0009117469477191165,46.71550070945313,24.69985083189899,22.015649877554143
|
||||
3,2183,2152,31,0,1,0.9857993586807147,0.9816843611112658,0.004114997569448886,0.984075817840616,0.0017235408400986252,66.56677302722846,34.95788964542183,31.608883381806635
|
||||
4,2056,2021,35,0,1,0.982976653696498,0.9816843611112658,0.0012922925852322242,0.9841689968267355,-0.0011923431302375276,50.39553351189006,29.119282385507443,21.276251126382615
|
||||
5,4155,4152,3,0,2,0.9992779783393502,0.9996645373720975,-0.0003865590327473134,0.9988586442695482,0.00041933406980199095,524.1852685941784,346.1249548573571,178.06031373682129
|
||||
6,2099,2059,40,0,1,0.9809433063363506,0.9816843611112658,-0.0007410547749151508,0.9824007263519379,-0.0014574200155872408,61.650453121017655,25.985094997595013,35.66535812342264
|
||||
7,2054,2007,47,0,1,0.9771178188899707,0.9816843611112658,-0.004566542221295045,0.9778687620925027,-0.0007509432025319951,36.264342607774275,21.59817045377141,14.666172154002865
|
||||
8,4238,4235,3,0,2,0.9992921189240208,0.9996645373720975,-0.00037241844807667235,0.9983779862293971,0.0009141326946237038,492.4873947896936,353.04162240847,139.4457723812236
|
||||
9,20674,20673,1,0,10,0.9999516300667505,1.0,-4.8369933249525765e-05,0.9999874000369385,-3.576997018805983e-05,1037.8062524797815,1033.674999394971,4.131253084810396
|
||||
10,4136,4135,1,0,2,0.9997582205029013,0.9996645373720975,9.368313080382329e-05,0.9999123344507647,-0.00015411394786335464,1055.014678985838,1033.8749848867221,21.139694099115786
|
||||
11,4156,4155,1,0,2,0.9997593840230992,0.9996645373720975,9.484665100167877e-05,0.9988896327402211,0.0008697512828780285,1035.551674792508,1038.8749849597054,-3.3233101671974055
|
||||
12,4281,4279,2,0,2,0.9995328194347115,0.9996645373720975,-0.0001317179373859778,0.9995548953439891,-2.207590927760794e-05,531.0839878668272,534.9999707943878,-3.915982927560549
|
||||
13,2009,1956,53,0,1,0.9736187157789945,0.9816843611112658,-0.008065645332271276,0.9774629698646986,-0.003844254085704102,36.3279533887452,18.699488448452236,17.628464940292965
|
||||
14,4182,4179,3,0,2,0.9992826398852224,0.9996645373720975,-0.0003818974868751157,0.9995325523426023,-0.0002499124573799305,390.2516425587451,348.37495514890446,41.876687409840656
|
||||
15,2000,1950,50,0,1,0.975,0.9816843611112658,-0.006684361111265802,0.9735952287816474,0.0014047712183525851,35.06397461406132,19.746835443037952,15.31713917102337
|
||||
16,530841,530840,1,0,255,0.9999981161967519,1.0,-1.883803248059479e-06,0.999999191877705,-1.0756809530887423e-06,1041.989021665378,1040.8637254866096,1.1252961787683944
|
||||
17,2087,2046,41,0,1,0.9803545759463345,0.9816843611112658,-0.0013297851649313186,0.9812804309021976,-0.0009258549558631701,45.790056603609756,25.19873947348235,20.591317130127404
|
||||
18,2149,2120,29,0,1,0.9865053513261982,0.9816843611112658,0.00482099021493243,0.9829723773805936,0.0035329739456045894,56.07169519447233,36.80002584793337,19.271669346538964
|
||||
19,12399,12398,1,0,6,0.9999193483345431,0.9999999999622486,-8.065162770554135e-05,0.9998979343437586,2.141399078448014e-05,1043.116845838823,1033.2083316527892,9.908514186033926
|
||||
20,14560,14559,1,0,7,0.9999313186813187,0.9999999999993086,-6.868131798987154e-05,0.999947731167323,-1.6412486004369065e-05,1042.544208118014,1039.9642844881346,2.5799236298794312
|
||||
21,2142,2096,46,0,1,0.9785247432306255,0.9816843611112658,-0.003159617880640231,0.9758081845765377,0.0027165586540878195,43.03824231172668,23.029895151527526,20.00834716019915
|
||||
22,6279,6278,1,0,3,0.9998407389711738,0.9999938557876467,-0.000153116816472898,0.9998273150118497,1.3423959324021517e-05,1041.6612968137524,1046.4166600302374,-4.755363216484966
|
||||
23,2047,2009,38,0,1,0.9814362481680508,0.9816843611112658,-0.00024811294321502864,0.9805147447092036,0.0009215034588471172,48.74481111418707,26.68186831724274,22.062942796944334
|
||||
24,20977,20976,1,0,10,0.999952328741002,1.0,-4.76712589979611e-05,0.9999846972425687,-3.2368501566626406e-05,1036.6399810445407,1048.8249994037699,-12.185018359229161
|
||||
25,2000,1956,44,0,1,0.978,0.9816843611112658,-0.0036843611112657992,0.9762915202382545,0.001708479761745485,38.72796499163139,22.474492140821766,16.253472850809622
|
||||
26,2090,2050,40,0,1,0.9808612440191388,0.9816843611112658,-0.0008231170921270126,0.9819870605583574,-0.001125816539218616,41.37126758740238,25.87258454106284,15.49868304633954
|
||||
27,2021,1978,43,0,1,0.9787234042553191,0.9816843611112658,-0.0029609568559466615,0.9753569016484275,0.0033665026068916415,47.969987738165734,23.24731182795696,24.722675910208775
|
||||
28,4186,4182,4,0,2,0.9990444338270426,0.9996645373720975,-0.0006201035450549286,0.997684549674156,0.0013598841528865702,321.7425405235365,261.499940248576,60.242600274960466
|
||||
29,2171,2152,19,0,1,0.9912482726853984,0.9816843611112658,0.00956391157413261,0.9919766709482026,-0.0007283982628042418,112.5907245721269,56.8804801733686,55.7102443987583
|
||||
30,4141,4138,3,0,2,0.9992755373098285,0.9996645373720975,-0.00038900006226894046,0.9995179270165178,-0.00024238970668921667,481.4007165881675,344.95828803799503,136.44242855017245
|
||||
31,6205,6204,1,0,3,0.9998388396454472,0.9999938557876467,-0.00015501614219948223,0.9998432856493535,-4.4460039063665135e-06,1047.720356948237,1034.0833266175912,13.637030330645757
|
||||
32,4173,4171,2,0,2,0.9995207284926911,0.9996645373720975,-0.00014380887940634857,0.9997365282797438,-0.00021579978705266178,656.258857385147,521.4999700383935,134.75888734675357
|
||||
33,6218,6216,2,0,3,0.9996783531682213,0.9999938557876467,-0.0003155026194253674,0.9997123848103135,-3.4031642092258174e-05,950.4017745218048,518.0833199292599,432.31845459254487
|
||||
34,22930,22929,1,0,11,0.9999563890100305,1.0,-4.361098996952251e-05,0.9999910432191064,-3.465420907589056e-05,1043.4064360448156,1042.2499995026653,1.1564365421502316
|
||||
35,20944,20943,1,0,10,0.9999522536287242,1.0,-4.774637127580306e-05,0.9999819396733806,-2.968604465636293e-05,1037.5811525754038,1047.174999402734,-9.593846827330253
|
||||
36,4137,4134,3,0,2,0.9992748368382887,0.9996645373720975,-0.0003897005338088233,0.9990719225866938,0.00020291425159491006,745.2338426811225,344.62495466089473,400.60888802022777
|
||||
37,2085,2041,44,0,1,0.9788968824940047,0.9816843611112658,-0.00278747861726103,0.9778764163974742,0.0010204660965305035,46.9762041757909,23.44051579782308,23.53568837796782
|
||||
38,2018,1967,51,0,1,0.9747274529236868,0.9816843611112658,-0.006956908187578992,0.9779278544320649,-0.0032004015083780812,40.599914119986366,19.531114227372218,21.068799892614148
|
||||
39,6190,6189,1,0,3,0.9998384491114701,0.9999938557876467,-0.00015540667617652826,0.9999901110072464,-0.00015166189577631162,1036.0343734707976,1031.5833266014697,4.451046869327911
|
||||
40,2085,2044,41,0,1,0.9803357314148681,0.9816843611112658,-0.0013486296963977074,0.9832856923338772,-0.0029499609190091203,43.49529504812321,25.17434682702355,18.32094822109966
|
||||
41,2093,2051,42,0,1,0.979933110367893,0.9816843611112658,-0.0017512507433727897,0.981528499204166,-0.0015953888362729707,46.01877480399265,24.6641328828829,21.35464192110975
|
||||
42,8189,8188,1,0,4,0.9998778849676395,0.9999998874648253,-0.00012200249718574696,0.9999607355582241,-8.285059058454891e-05,1037.141977178144,1023.5624961836784,13.579480994465712
|
||||
43,2060,2021,39,0,1,0.9810679611650486,0.9816843611112658,-0.0006163999462172054,0.9834663496811741,-0.0023983885161255047,51.597512320418375,26.15786728994283,25.439645030475546
|
||||
44,4108,4105,3,0,2,0.999269717624148,0.9996645373720975,-0.00039481974794952635,0.9997515069250867,-0.00048178930093878414,465.17478252559727,342.2082876739968,122.96649485160049
|
||||
45,4288,4286,2,0,2,0.9995335820895522,0.9996645373720975,-0.00013095528254525313,0.999375486134542,0.0001580959550102623,725.4450982145585,535.8749708420486,189.5701273725099
|
||||
46,6124,6123,1,0,3,0.9998367080339647,0.9999938557876467,-0.0001571477536819188,0.9999970841982215,-0.00016037616425679246,1047.488628699624,1020.5833265288696,26.905302170754453
|
||||
47,2095,2054,41,0,1,0.9804295942720763,0.9816843611112658,-0.0012547668391894584,0.9805768545942264,-0.0001472603221500668,52.6898819824895,25.296310012991626,27.393571969497877
|
||||
48,8248,8247,1,0,4,0.9998787584869059,0.9999998874648253,-0.00012112897791938249,0.9999433275507984,-6.456906389251671e-05,1043.4084887831807,1030.9374962107102,12.47099257247055
|
||||
49,2093,2057,36,0,1,0.9827998088867654,0.9816843611112658,0.0011154477754996561,0.9754114612425017,0.007388347644263771,52.44384906670266,28.817275769745695,23.626573296956966
|
||||
50,4084,4079,5,0,2,0.9987757100881489,0.9996645373720975,-0.0008888272839485678,0.9990175034869335,-0.0002417933987846066,353.0717223208189,204.07492343501903,148.99679888579985
|
||||
51,2116,2076,40,0,1,0.9810964083175804,0.9816843611112658,-0.0005879527936853979,0.98370767634202,-0.0026112680244396724,37.00386340195036,26.19761450381687,10.806248898133493
|
||||
52,4210,4205,5,0,2,0.998812351543943,0.9996645373720975,-0.0008521858281544947,0.9995886448037941,-0.0007762932598510686,303.3003800305397,210.37492572786488,92.92545430267484
|
||||
53,8415,8414,1,0,4,0.9998811645870469,0.9999998874648253,-0.00011872287777836554,0.9999413056067357,-6.0141019688764175e-05,1032.5798967891774,1051.8124962857307,-19.232599496553348
|
||||
54,45764,45763,1,0,22,0.99997814876322,1.0,-2.185123678000167e-05,0.9999984506155479,-2.0301852327930803e-05,1032.4131336127734,1040.0795453292974,-7.666411716523953
|
||||
55,2102,2054,48,0,1,0.9771646051379639,0.9816843611112658,-0.004519755973301898,0.9781387954305562,-0.0009741902925922696,43.59965587442871,21.642945941610563,21.95670993281815
|
||||
56,6145,6144,1,0,3,0.9998372660699756,0.9999938557876467,-0.000156589717671074,0.9997505497282843,8.671634169132858e-05,1056.523302199333,1024.083326552199,32.43997564713413
|
||||
57,18764,18763,1,0,9,0.9999467064591772,0.9999999999999998,-5.3293540822618723e-05,0.999993823265829,-4.711680665181461e-05,1037.6831811677603,1042.416665926928,-4.733484759167823
|
||||
58,2098,2062,36,0,1,0.982840800762631,0.9816843611112658,0.0011564396513652486,0.9774017248835251,0.00543907587910597,55.91823140944377,28.88672542735036,27.03150598209341
|
||||
59,2011,1962,49,0,1,0.9756340129288911,0.9816843611112658,-0.00605034818237471,0.9667173187026393,0.008916694226251742,36.02186165247274,20.26732485090688,15.754536801565855
|
||||
60,2150,2119,31,0,1,0.9855813953488373,0.9816843611112658,0.003897034237571484,0.9814761094697789,0.00410528587905834,59.36381547533759,34.42560394139308,24.93821153394451
|
||||
61,2177,2149,28,0,1,0.9871382636655949,0.9816843611112658,0.005453902554329093,0.9900321399327077,-0.0028938762671127938,65.43484011479234,38.623381877022716,26.81145823776962
|
||||
62,2100,2060,40,0,1,0.9809523809523809,0.9816843611112658,-0.0007319801588848707,0.981123689208729,-0.00017130825634814606,53.68121161952549,25.99759615384608,27.683615465679413
|
||||
63,4279,4278,1,0,2,0.9997663005375088,0.9996645373720975,0.00010176316541132824,0.999545509843728,0.0002207906937807813,1048.4402441614432,1069.624985392202,-21.184741230758846
|
||||
64,2096,2052,44,0,1,0.9790076335877863,0.9816843611112658,-0.002676727523479472,0.9786282336616712,0.0003793999261151315,35.802022406446184,23.56552993775757,12.236492468688613
|
||||
65,2031,1979,52,0,1,0.9743968488429345,0.9816843611112658,-0.007287512268331242,0.9680129707770178,0.0063838780659167815,33.90051418559974,19.275604258584337,14.624909927015402
|
||||
66,6300,6299,1,0,3,0.9998412698412699,0.9999938557876467,-0.00015258594637679312,0.9998210581058352,2.0211735434649825e-05,1035.0259431159761,1049.9166600526337,-14.890716936657554
|
||||
67,2082,2034,48,0,1,0.9769452449567724,0.9816843611112658,-0.004739116154493406,0.9779011684291296,-0.0009559234723571786,34.02110584197645,21.43458454810497,12.586521293871481
|
||||
68,2130,2093,37,0,1,0.9826291079812206,0.9816843611112658,0.0009447468699548267,0.9862192738823191,-0.0035901659010985076,57.33148022217681,28.53159339780216,28.79988682437465
|
||||
69,2145,2108,37,0,1,0.9827505827505828,0.9816843611112658,0.001066221639317022,0.9838873627602823,-0.0011367800096995229,58.25939877164335,28.734311551146767,29.52508722049658
|
||||
70,2027,1977,50,0,1,0.9753330044400592,0.9816843611112658,-0.006351356671206565,0.9690825498806886,0.006250454559370566,31.80512905242063,20.01687812187813,11.7882509305425
|
||||
71,2150,2119,31,0,1,0.9855813953488373,0.9816843611112658,0.003897034237571484,0.9821639236070996,0.0034174717417376765,52.04822178451133,34.42560394139308,17.62261784311825
|
||||
72,8520,8519,1,0,4,0.9998826291079812,0.9999998874648253,-0.00011725835684406327,0.9996328640454961,0.00024976506248508556,1042.4269912542798,1064.9374963317566,-22.510505077476864
|
||||
73,10115,10114,1,0,5,0.9999011369253584,0.9999999979388464,-9.886101348799414e-05,0.9998677064456418,3.3430479716600736e-05,1036.1154175781332,1011.4499975290004,24.665420049132877
|
||||
74,4097,4090,7,0,2,0.9982914327556749,0.9996645373720975,-0.0013731046164225935,0.9987796572055742,-0.00048822444989926606,232.7474345714733,146.19632169467104,86.55111287680225
|
||||
75,2076,2034,42,0,1,0.9797687861271677,0.9816843611112658,-0.0019155749840981118,0.9799827614083544,-0.00021397528118671794,40.994399921900786,24.46173096976022,16.532668952140565
|
||||
76,4079,4078,1,0,2,0.9997548418730081,0.9996645373720975,9.03045009106318e-05,0.9999869283258638,-0.0002320864528556621,1072.649996937639,1019.624984675767,53.02501226187189
|
||||
77,8308,8307,1,0,4,0.9998796340876264,0.9999998874648253,-0.00012025337719889784,0.999917655103593,-3.802101596661611e-05,1041.9616054783526,1038.4374962380928,3.524109240259804
|
||||
78,2095,2064,31,0,1,0.9852028639618139,0.9816843611112658,0.003518502850548111,0.985738171750322,-0.000535307788508077,74.58262899390506,33.538459151936394,41.04416984196867
|
||||
79,2105,2066,39,0,1,0.9814726840855107,0.9816843611112658,-0.00021167702575508596,0.9804531296429978,0.0010195544425128933,62.011641495066506,26.73484191825119,35.27679957681532
|
||||
80,2021,1981,40,0,1,0.9802078179119248,0.9816843611112658,-0.001476543199340985,0.9816898590171894,-0.0014820411052646199,43.82969053003942,25.010001249375314,18.819689280664107
|
||||
81,2106,2066,40,0,1,0.9810066476733144,0.9816843611112658,-0.0006777134379514216,0.9812605695799625,-0.00025392190664819125,51.03760895020144,26.07260306807289,24.965005882128548
|
||||
82,2072,2028,44,0,1,0.9787644787644788,0.9816843611112658,-0.0029198823467869728,0.9826548103919548,-0.0038903316274759847,39.4841929840853,23.292771618625306,16.19142136545999
|
||||
83,10367,10366,1,0,5,0.9999035400790971,0.9999999979388464,-9.645785974932153e-05,0.9999517822452517,-4.8242166154621735e-05,1036.5865154161265,1036.6499975881889,-0.0634821720623222
|
||||
84,123616,123615,1,0,59,0.9999919104323065,1.0,-8.089567693492228e-06,0.9999921060852305,-1.9565292397327738e-07,1044.5281975943342,1047.5889830344843,-3.0607854401500845
|
||||
85,2112,2074,38,0,1,0.9820075757575758,0.9816843611112658,0.0003232146463100216,0.982092432007656,-8.48562500801453e-05,48.127258970995285,27.53720421454986,20.590054756445426
|
||||
86,2112,2071,41,0,1,0.9805871212121212,0.9816843611112658,-0.0010972398991445642,0.979893565251402,0.0006935559607191832,41.46577100559597,25.50364716652187,15.9621238390741
|
||||
87,2109,2069,40,0,1,0.9810336652441916,0.9816843611112658,-0.0006506958670742247,0.9799489076123609,0.0010847576318306906,43.05239820630881,26.110106510292013,16.942291696016795
|
||||
88,2058,2018,40,0,1,0.9805636540330418,0.9816843611112658,-0.0011207070782239814,0.9806505052249188,-8.685119187701318e-05,49.28574909240365,25.472546614327808,23.81320247807584
|
||||
89,2084,2045,39,0,1,0.9812859884836852,0.9816843611112658,-0.0003983726275805788,0.9822063056518248,-0.0009203171681395617,43.81963369348439,26.465587371375655,17.354046322108736
|
||||
90,2080,2033,47,0,1,0.9774038461538461,0.9816843611112658,-0.004280514957419657,0.9794791144087509,-0.002075268254904783,39.9863845699711,21.87480277894169,18.111581791029412
|
||||
91,23259,23258,1,0,11,0.9999570058901931,1.0,-4.299410980690421e-05,0.9999881665868495,-3.116069665642929e-05,1041.7696866429717,1057.2045449671432,-15.4348583241715
|
||||
92,2086,2054,32,0,1,0.9846596356663471,0.9816843611112658,0.0029752745550812865,0.9875712789492308,-0.0029116432828837358,62.015624406218244,32.34181763285019,29.673806773368057
|
||||
93,6267,6266,1,0,3,0.9998404340194671,0.9999938557876467,-0.00015342176817956243,0.9998811346679102,-4.070064844308163e-05,1042.7021527260254,1044.4166600179612,-1.7145072919358881
|
||||
94,25004,25003,1,0,12,0.9999600063989762,1.0,-3.999360102380223e-05,0.9999995775220942,-3.957112311803179e-05,1052.0826718048784,1041.8124995839464,10.270172220931954
|
||||
95,2065,2026,39,0,1,0.9811138014527845,0.9816843611112658,-0.0005705596584812955,0.9811046095835793,9.191869205227299e-06,42.14477414439309,26.22197569398737,15.922798450405718
|
||||
96,2108,2068,40,0,1,0.9810246679316889,0.9816843611112658,-0.0006596931795769256,0.979855388899924,0.0011692790317648916,40.753451941217065,26.09760536398475,14.655846577232314
|
||||
97,4283,4281,2,0,2,0.999533037590474,0.9996645373720975,-0.00013149978162352305,0.9996367531822522,-0.00010371559177824174,569.9834924794287,535.2499708080451,34.73352167138364
|
||||
98,6289,6288,1,0,3,0.9998409922086182,0.9999938557876467,-0.0001528635790284394,0.9999818109259527,-0.00014081871733451212,1051.2012122680146,1048.08332670757,3.11788556044462
|
||||
99,10426,10425,1,0,5,0.9999040859389987,0.9999999979388464,-9.59119998477087e-05,0.999980742051203,-7.665611220430968e-05,1035.316614529562,1042.5499976023225,-7.233383072760489
|
||||
100,2074,2037,37,0,1,0.9821600771456124,0.9816843611112658,0.00047571603434659604,0.9854545392466711,-0.0032944621010587705,50.20887877618417,27.77477696621463,22.43410180996954
|
||||
|
@@ -0,0 +1,101 @@
|
||||
obj_id,hit_rate,expected_hit_rate,avg_cache_time,avg_age,expected_age
|
||||
1,0.9995200383969283,0.9996645373720975,0.9998192381954838,635.2559060931944,520.7499699952386
|
||||
2,0.9799618320610687,0.9816843611112658,0.9808735790087878,46.71550070945313,24.69985083189899
|
||||
3,0.9857993586807147,0.9816843611112658,0.984075817840616,66.56677302722846,34.95788964542183
|
||||
4,0.982976653696498,0.9816843611112658,0.9841689968267355,50.39553351189006,29.119282385507443
|
||||
5,0.9992779783393502,0.9996645373720975,0.9988586442695482,524.1852685941784,346.1249548573571
|
||||
6,0.9809433063363506,0.9816843611112658,0.9824007263519379,61.650453121017655,25.985094997595013
|
||||
7,0.9771178188899707,0.9816843611112658,0.9778687620925027,36.264342607774275,21.59817045377141
|
||||
8,0.9992921189240208,0.9996645373720975,0.9983779862293971,492.4873947896936,353.04162240847
|
||||
9,0.9999516300667505,1.0,0.9999874000369385,1037.8062524797815,1033.674999394971
|
||||
10,0.9997582205029013,0.9996645373720975,0.9999123344507647,1055.014678985838,1033.8749848867221
|
||||
11,0.9997593840230992,0.9996645373720975,0.9988896327402211,1035.551674792508,1038.8749849597054
|
||||
12,0.9995328194347115,0.9996645373720975,0.9995548953439891,531.0839878668272,534.9999707943878
|
||||
13,0.9736187157789945,0.9816843611112658,0.9774629698646986,36.3279533887452,18.699488448452236
|
||||
14,0.9992826398852224,0.9996645373720975,0.9995325523426023,390.2516425587451,348.37495514890446
|
||||
15,0.975,0.9816843611112658,0.9735952287816474,35.06397461406132,19.746835443037952
|
||||
16,0.9999981161967519,1.0,0.999999191877705,1041.989021665378,1040.8637254866096
|
||||
17,0.9803545759463345,0.9816843611112658,0.9812804309021976,45.790056603609756,25.19873947348235
|
||||
18,0.9865053513261982,0.9816843611112658,0.9829723773805936,56.07169519447233,36.80002584793337
|
||||
19,0.9999193483345431,0.9999999999622486,0.9998979343437586,1043.116845838823,1033.2083316527892
|
||||
20,0.9999313186813187,0.9999999999993086,0.999947731167323,1042.544208118014,1039.9642844881346
|
||||
21,0.9785247432306255,0.9816843611112658,0.9758081845765377,43.03824231172668,23.029895151527526
|
||||
22,0.9998407389711738,0.9999938557876467,0.9998273150118497,1041.6612968137524,1046.4166600302374
|
||||
23,0.9814362481680508,0.9816843611112658,0.9805147447092036,48.74481111418707,26.68186831724274
|
||||
24,0.999952328741002,1.0,0.9999846972425687,1036.6399810445407,1048.8249994037699
|
||||
25,0.978,0.9816843611112658,0.9762915202382545,38.72796499163139,22.474492140821766
|
||||
26,0.9808612440191388,0.9816843611112658,0.9819870605583574,41.37126758740238,25.87258454106284
|
||||
27,0.9787234042553191,0.9816843611112658,0.9753569016484275,47.969987738165734,23.24731182795696
|
||||
28,0.9990444338270426,0.9996645373720975,0.997684549674156,321.7425405235365,261.499940248576
|
||||
29,0.9912482726853984,0.9816843611112658,0.9919766709482026,112.5907245721269,56.8804801733686
|
||||
30,0.9992755373098285,0.9996645373720975,0.9995179270165178,481.4007165881675,344.95828803799503
|
||||
31,0.9998388396454472,0.9999938557876467,0.9998432856493535,1047.720356948237,1034.0833266175912
|
||||
32,0.9995207284926911,0.9996645373720975,0.9997365282797438,656.258857385147,521.4999700383935
|
||||
33,0.9996783531682213,0.9999938557876467,0.9997123848103135,950.4017745218048,518.0833199292599
|
||||
34,0.9999563890100305,1.0,0.9999910432191064,1043.4064360448156,1042.2499995026653
|
||||
35,0.9999522536287242,1.0,0.9999819396733806,1037.5811525754038,1047.174999402734
|
||||
36,0.9992748368382887,0.9996645373720975,0.9990719225866938,745.2338426811225,344.62495466089473
|
||||
37,0.9788968824940047,0.9816843611112658,0.9778764163974742,46.9762041757909,23.44051579782308
|
||||
38,0.9747274529236868,0.9816843611112658,0.9779278544320649,40.599914119986366,19.531114227372218
|
||||
39,0.9998384491114701,0.9999938557876467,0.9999901110072464,1036.0343734707976,1031.5833266014697
|
||||
40,0.9803357314148681,0.9816843611112658,0.9832856923338772,43.49529504812321,25.17434682702355
|
||||
41,0.979933110367893,0.9816843611112658,0.981528499204166,46.01877480399265,24.6641328828829
|
||||
42,0.9998778849676395,0.9999998874648253,0.9999607355582241,1037.141977178144,1023.5624961836784
|
||||
43,0.9810679611650486,0.9816843611112658,0.9834663496811741,51.597512320418375,26.15786728994283
|
||||
44,0.999269717624148,0.9996645373720975,0.9997515069250867,465.17478252559727,342.2082876739968
|
||||
45,0.9995335820895522,0.9996645373720975,0.999375486134542,725.4450982145585,535.8749708420486
|
||||
46,0.9998367080339647,0.9999938557876467,0.9999970841982215,1047.488628699624,1020.5833265288696
|
||||
47,0.9804295942720763,0.9816843611112658,0.9805768545942264,52.6898819824895,25.296310012991626
|
||||
48,0.9998787584869059,0.9999998874648253,0.9999433275507984,1043.4084887831807,1030.9374962107102
|
||||
49,0.9827998088867654,0.9816843611112658,0.9754114612425017,52.44384906670266,28.817275769745695
|
||||
50,0.9987757100881489,0.9996645373720975,0.9990175034869335,353.0717223208189,204.07492343501903
|
||||
51,0.9810964083175804,0.9816843611112658,0.98370767634202,37.00386340195036,26.19761450381687
|
||||
52,0.998812351543943,0.9996645373720975,0.9995886448037941,303.3003800305397,210.37492572786488
|
||||
53,0.9998811645870469,0.9999998874648253,0.9999413056067357,1032.5798967891774,1051.8124962857307
|
||||
54,0.99997814876322,1.0,0.9999984506155479,1032.4131336127734,1040.0795453292974
|
||||
55,0.9771646051379639,0.9816843611112658,0.9781387954305562,43.59965587442871,21.642945941610563
|
||||
56,0.9998372660699756,0.9999938557876467,0.9997505497282843,1056.523302199333,1024.083326552199
|
||||
57,0.9999467064591772,0.9999999999999998,0.999993823265829,1037.6831811677603,1042.416665926928
|
||||
58,0.982840800762631,0.9816843611112658,0.9774017248835251,55.91823140944377,28.88672542735036
|
||||
59,0.9756340129288911,0.9816843611112658,0.9667173187026393,36.02186165247274,20.26732485090688
|
||||
60,0.9855813953488373,0.9816843611112658,0.9814761094697789,59.36381547533759,34.42560394139308
|
||||
61,0.9871382636655949,0.9816843611112658,0.9900321399327077,65.43484011479234,38.623381877022716
|
||||
62,0.9809523809523809,0.9816843611112658,0.981123689208729,53.68121161952549,25.99759615384608
|
||||
63,0.9997663005375088,0.9996645373720975,0.999545509843728,1048.4402441614432,1069.624985392202
|
||||
64,0.9790076335877863,0.9816843611112658,0.9786282336616712,35.802022406446184,23.56552993775757
|
||||
65,0.9743968488429345,0.9816843611112658,0.9680129707770178,33.90051418559974,19.275604258584337
|
||||
66,0.9998412698412699,0.9999938557876467,0.9998210581058352,1035.0259431159761,1049.9166600526337
|
||||
67,0.9769452449567724,0.9816843611112658,0.9779011684291296,34.02110584197645,21.43458454810497
|
||||
68,0.9826291079812206,0.9816843611112658,0.9862192738823191,57.33148022217681,28.53159339780216
|
||||
69,0.9827505827505828,0.9816843611112658,0.9838873627602823,58.25939877164335,28.734311551146767
|
||||
70,0.9753330044400592,0.9816843611112658,0.9690825498806886,31.80512905242063,20.01687812187813
|
||||
71,0.9855813953488373,0.9816843611112658,0.9821639236070996,52.04822178451133,34.42560394139308
|
||||
72,0.9998826291079812,0.9999998874648253,0.9996328640454961,1042.4269912542798,1064.9374963317566
|
||||
73,0.9999011369253584,0.9999999979388464,0.9998677064456418,1036.1154175781332,1011.4499975290004
|
||||
74,0.9982914327556749,0.9996645373720975,0.9987796572055742,232.7474345714733,146.19632169467104
|
||||
75,0.9797687861271677,0.9816843611112658,0.9799827614083544,40.994399921900786,24.46173096976022
|
||||
76,0.9997548418730081,0.9996645373720975,0.9999869283258638,1072.649996937639,1019.624984675767
|
||||
77,0.9998796340876264,0.9999998874648253,0.999917655103593,1041.9616054783526,1038.4374962380928
|
||||
78,0.9852028639618139,0.9816843611112658,0.985738171750322,74.58262899390506,33.538459151936394
|
||||
79,0.9814726840855107,0.9816843611112658,0.9804531296429978,62.011641495066506,26.73484191825119
|
||||
80,0.9802078179119248,0.9816843611112658,0.9816898590171894,43.82969053003942,25.010001249375314
|
||||
81,0.9810066476733144,0.9816843611112658,0.9812605695799625,51.03760895020144,26.07260306807289
|
||||
82,0.9787644787644788,0.9816843611112658,0.9826548103919548,39.4841929840853,23.292771618625306
|
||||
83,0.9999035400790971,0.9999999979388464,0.9999517822452517,1036.5865154161265,1036.6499975881889
|
||||
84,0.9999919104323065,1.0,0.9999921060852305,1044.5281975943342,1047.5889830344843
|
||||
85,0.9820075757575758,0.9816843611112658,0.982092432007656,48.127258970995285,27.53720421454986
|
||||
86,0.9805871212121212,0.9816843611112658,0.979893565251402,41.46577100559597,25.50364716652187
|
||||
87,0.9810336652441916,0.9816843611112658,0.9799489076123609,43.05239820630881,26.110106510292013
|
||||
88,0.9805636540330418,0.9816843611112658,0.9806505052249188,49.28574909240365,25.472546614327808
|
||||
89,0.9812859884836852,0.9816843611112658,0.9822063056518248,43.81963369348439,26.465587371375655
|
||||
90,0.9774038461538461,0.9816843611112658,0.9794791144087509,39.9863845699711,21.87480277894169
|
||||
91,0.9999570058901931,1.0,0.9999881665868495,1041.7696866429717,1057.2045449671432
|
||||
92,0.9846596356663471,0.9816843611112658,0.9875712789492308,62.015624406218244,32.34181763285019
|
||||
93,0.9998404340194671,0.9999938557876467,0.9998811346679102,1042.7021527260254,1044.4166600179612
|
||||
94,0.9999600063989762,1.0,0.9999995775220942,1052.0826718048784,1041.8124995839464
|
||||
95,0.9811138014527845,0.9816843611112658,0.9811046095835793,42.14477414439309,26.22197569398737
|
||||
96,0.9810246679316889,0.9816843611112658,0.979855388899924,40.753451941217065,26.09760536398475
|
||||
97,0.999533037590474,0.9996645373720975,0.9996367531822522,569.9834924794287,535.2499708080451
|
||||
98,0.9998409922086182,0.9999938557876467,0.9999818109259527,1051.2012122680146,1048.08332670757
|
||||
99,0.9999040859389987,0.9999999979388464,0.999980742051203,1035.316614529562,1042.5499976023225
|
||||
100,0.9821600771456124,0.9816843611112658,0.9854545392466711,50.20887877618417,27.77477696621463
|
||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,9 @@
|
||||
,hit_rate,expected_hit_rate,avg_cache_time,avg_age,expected_age
|
||||
count,100.0,100.0,100.0,100.0,100.0
|
||||
mean,0.9897884982115596,0.9904115712104672,0.989656371005946,442.73239130566145,407.29114300695545
|
||||
std,0.009867599979994651,0.009130036174312687,0.01025008954940116,452.19363937617715,456.45616827864234
|
||||
min,0.9736187157789945,0.9816843611112658,0.9667173187026393,31.80512905242063,18.699488448452236
|
||||
25%,0.9807927133173844,0.9816843611112658,0.9808178105628206,45.961595253896924,25.780350197427595
|
||||
50%,0.9868218074958965,0.9816843611112658,0.9888017094409692,70.57470101056677,37.711703862478046
|
||||
75%,0.9998385467449644,0.9999938557876467,0.9998493908484256,1036.2331920376316,1031.9895778642995
|
||||
max,0.9999981161967519,1.0,0.9999995775220942,1072.649996937639,1069.624985392202
|
||||
|
@@ -0,0 +1,101 @@
|
||||
obj_id,access_count,hits,misses,mu,lambda,hit_rate,expected_hit_rate,expected_hit_rate_delta,avg_cache_time,cache_time_delta,avg_age,expected_age,age_delta
|
||||
1,2090,2075,15,0,1,0.992822966507177,0.9932620530009145,-0.00043908649373747277,0.9940976666796555,-0.001274700172478438,109.278874314301,69.41576630652277,39.86310800777824
|
||||
2,10476,10475,1,0,5,0.9999045437189767,0.9999999999861121,-9.545626713536315e-05,0.9998974437027563,7.1000162203960215e-06,1053.4122488131368,1047.5499976137783,5.862251199358525
|
||||
3,2153,2137,16,0,1,0.9925685090571296,0.9932620530009145,-0.0006935439437849578,0.9939927884341715,-0.001424279377041926,108.8353428772836,67.03031759906732,41.80502527821628
|
||||
4,2142,2132,10,0,1,0.9953314659197012,0.9932620530009145,0.002069412918786706,0.9949130608291996,0.0004184050905016168,201.30691298784208,106.84941506785196,94.45749791999012
|
||||
5,2060,2043,17,0,1,0.9917475728155339,0.9932620530009145,-0.0015144801853805845,0.9891913293531807,0.0025562434623532804,90.32204359318277,60.337199466673965,29.984844126508804
|
||||
6,2060,2038,22,0,1,0.9893203883495145,0.9932620530009145,-0.003941664651400001,0.989872336116493,-0.0005519477669784223,88.04038691703117,46.566839700075285,41.473547216955886
|
||||
7,2154,2140,14,0,1,0.9935004642525533,0.9932620530009145,0.00023841125163881483,0.9908450685283415,0.0026553957242118065,170.87214755846804,76.67775633774653,94.19439122072151
|
||||
8,4247,4246,1,0,2,0.9997645396750647,0.9999546000702375,-0.0001900603951727753,0.9997416368016643,2.2902873400454382e-05,1036.1521648812577,1061.624985282039,-25.472820400781302
|
||||
9,2064,2047,17,0,1,0.9917635658914729,0.9932620530009145,-0.0014984871094416707,0.990803985474535,0.0009595804169378885,104.14446356430201,60.45484854121659,43.68961502308542
|
||||
10,10514,10513,1,0,5,0.9999048887198022,0.9999999999861121,-9.511126630989963e-05,0.9999731503549902,-6.826163518802719e-05,1039.7009568790397,1051.349997622456,-11.649040743416208
|
||||
11,6273,6272,1,0,3,0.9998405866411605,0.9999996940976795,-0.00015910745651903646,0.999761533958269,7.905268289143397e-05,1053.2713092921933,1045.4166600237581,7.854649268435196
|
||||
12,2108,2092,16,0,1,0.9924098671726755,0.9932620530009145,-0.0008521858282389827,0.9917908383109599,0.0006190288617156092,125.39829671336915,65.62404761904779,59.77424909432136
|
||||
13,2057,2045,12,0,1,0.9941662615459407,0.9932620530009145,0.0009042085450261528,0.9937461553232396,0.00042010622270105547,153.4304954571533,85.45760198277274,67.97289347438057
|
||||
14,2026,2016,10,0,1,0.9950641658440277,0.9932620530009145,0.0018021128431131572,0.99646250225397,-0.0013983364099423579,165.00325522702414,101.04938149431003,63.953873732714115
|
||||
15,4164,4163,1,0,2,0.9997598463016331,0.9999546000702375,-0.00019475376860444982,0.9996906336644787,6.921263715431447e-05,1037.9964824608865,1040.8749849886717,-2.8785025277852583
|
||||
16,4261,4260,1,0,2,0.9997653133067355,0.9999546000702375,-0.0001892867635020501,0.9999200268814672,-0.0001547135747317352,1051.316943476151,1065.1249853300403,-13.808041853889335
|
||||
17,6186,6185,1,0,3,0.9998383446492078,0.9999996940976795,-0.00016134944847168153,0.9999995747943947,-0.00016123014518687473,1036.8041706201589,1030.9166599301484,5.887510690010458
|
||||
18,10487,10486,1,0,5,0.9999046438447602,0.9999999999861121,-9.535614135192105e-05,0.9999881058132777,-8.346196851749532e-05,1043.6068609472782,1048.6499976158134,-5.043136668535226
|
||||
19,2092,2078,14,0,1,0.9933078393881453,0.9932620530009145,4.578638723073958e-05,0.9967770323422745,-0.0034691929541292854,110.21899451870944,74.4634463857482,35.75554813296124
|
||||
20,6157,6156,1,0,3,0.9998375832385902,0.9999996940976795,-0.0001621108590893483,0.9999227395217289,-8.515628313876533e-05,1038.6480667934482,1026.0833265651004,12.564740228347773
|
||||
21,2129,2113,16,0,1,0.9924847346171912,0.9932620530009145,-0.0007773183837233022,0.9946625851178192,-0.00217785050062802,90.35898975372355,66.2803070485625,24.078682705161043
|
||||
22,10316,10315,1,0,5,0.9999030632027918,0.9999999999861121,-9.693678332034494e-05,0.9999218016365358,-1.8738433744003302e-05,1038.6206505625844,1031.5499975760486,7.070652986535833
|
||||
23,6303,6302,1,0,3,0.9998413453910836,0.9999996940976795,-0.00015834870659592326,0.9997568948065019,8.445058458173005e-05,1042.5137938593364,1050.4166600555259,-7.902866196189507
|
||||
24,2061,2050,11,0,1,0.9946627850557982,0.9932620530009145,0.0014007320548836688,0.9966272407979475,-0.001964455742149318,165.6565489720489,93.43114924482019,72.22539972722872
|
||||
25,2079,2059,20,0,1,0.9903799903799904,0.9932620530009145,-0.002882062620924164,0.988991936118847,0.0013880542611434121,151.28758426746322,51.723791686805214,99.563792580658
|
||||
26,4172,4170,2,0,2,0.9995206136145733,0.9999546000702375,-0.0004339864556641704,0.999809812857067,-0.00028919924249370954,862.739172615693,521.3749700311639,341.36420258452904
|
||||
27,4330,4329,1,0,2,0.9997690531177829,0.9999546000702375,-0.00018554695245465158,0.9996150443257639,0.0001540087920189892,1058.9825317018497,1082.3749855637955,-23.392453861945796
|
||||
28,6317,6316,1,0,3,0.9998416970080735,0.9999996940976795,-0.00015799708960606562,0.9998572630189518,-1.556601087837617e-05,1059.1058581492478,1052.7499934034113,6.35586474583647
|
||||
29,2039,2019,20,0,1,0.9901912702305051,0.9932620530009145,-0.003070782770409397,0.9889574189975904,0.001233851232914751,98.67827957538736,50.723767865943614,47.95451170944375
|
||||
30,2111,2094,17,0,1,0.9919469445760303,0.9932620530009145,-0.0013151084248842482,0.9934676624912053,-0.0015207179151750516,128.81144542342122,61.83722459257138,66.97422083084984
|
||||
31,2153,2140,13,0,1,0.9939619136089178,0.9932620530009145,0.000699860608003311,0.9951137958837051,-0.0011518822747872415,127.44380156800598,82.55693526133852,44.88686630666746
|
||||
32,4174,4173,1,0,2,0.9997604216578821,0.9999546000702375,-0.00019417841235536137,0.9999127826182868,-0.00015236096040460723,1037.427559709789,1043.3749850245613,-5.9474253147723175
|
||||
33,2038,2033,5,0,1,0.9975466143277724,0.9932620530009145,0.004284561326857839,0.9961077460193342,0.0014388683084382015,306.8259392811569,203.54969295013595,103.27624633102093
|
||||
34,2108,2092,16,0,1,0.9924098671726755,0.9932620530009145,-0.0008521858282389827,0.9914294135636378,0.000980453609037757,127.31373517907211,65.62404761904779,61.689687560024325
|
||||
35,4105,4104,1,0,2,0.9997563946406821,0.9999546000702375,-0.0001982054295553981,0.9997301279963705,2.6266644311601084e-05,1054.8127910282446,1026.1249847728127,28.68780625543195
|
||||
36,3982,3980,2,0,2,0.9994977398292315,0.9999546000702375,-0.0004568602410059963,0.9994879741381064,9.76569112509651e-06,730.0983168697065,497.62496860081046,232.47334826889607
|
||||
37,4268,4267,1,0,2,0.9997656982193065,0.9999546000702375,-0.00018890185093101142,0.9993803072409759,0.0003853909783305687,1060.170816020301,1066.8749853546283,-6.704169334327389
|
||||
38,2074,2057,17,0,1,0.9918032786885246,0.9932620530009145,-0.0014587743123899433,0.990597956655717,0.0012053220328075431,99.83409892417012,60.748971193415706,39.085127730754415
|
||||
39,6296,6295,1,0,3,0.999841168996188,0.9999996940976795,-0.00015852510149150234,0.9999701378687055,-0.00012896887251745426,1046.4243558944966,1049.2499933814406,-2.8256374869440606
|
||||
40,4205,4204,1,0,2,0.9997621878715814,0.9999546000702375,-0.00019241219865606674,0.999683057255861,7.913061572040192e-05,1061.668255053678,1051.1249851349778,10.543269918700162
|
||||
41,2102,2083,19,0,1,0.9909609895337773,0.9932620530009145,-0.00230106346713721,0.9931641348834511,-0.0022031453496738074,94.18062325414994,55.064654467710106,39.11596878643983
|
||||
42,2129,2119,10,0,1,0.9953029591357445,0.9932620530009145,0.0020409061348299895,0.9910930394299716,0.004209919705772891,154.4881446569803,106.1994114877596,48.28873316922069
|
||||
43,2070,2052,18,0,1,0.991304347826087,0.9932620530009145,-0.0019577051748275176,0.9922437943144916,-0.000939446488404605,92.1357130776481,57.24890829694347,34.88680478070464
|
||||
44,4238,4237,1,0,2,0.9997640396413403,0.9999546000702375,-0.00019056042889720182,0.9998326984284556,-6.865878711526108e-05,1048.624227749891,1059.3749852510412,-10.750757501150247
|
||||
45,2071,2055,16,0,1,0.9922742636407532,0.9932620530009145,-0.0009877893601613064,0.9927752258662498,-0.0005009622254965596,95.15379136553392,64.46778053805126,30.68601082748266
|
||||
46,6214,6213,1,0,3,0.9998390730608304,0.9999996940976795,-0.00016062103684910678,0.9998030569504812,3.6016110349201824e-05,1050.8329966232905,1035.5833266276254,15.249669995665045
|
||||
47,2033,2010,23,0,1,0.9886866699458927,0.9932620530009145,-0.004575383055021809,0.9903687362897658,-0.0016820663438731343,66.15867367479018,43.94422996268366,22.214443712106522
|
||||
48,4129,4128,1,0,2,0.9997578106078954,0.9999546000702375,-0.00019678946234213957,0.9999004022436591,-0.00014259163576368916,1047.5587150798865,1032.1249848612704,15.43373021861612
|
||||
49,65117,65116,1,0,31,0.9999846430271665,1.0,-1.5356972833502347e-05,0.999997150810812,-1.2507783645476778e-05,1046.6726849747247,1050.2661289697635,-3.593443995038797
|
||||
50,2099,2080,19,0,1,0.9909480705097665,0.9932620530009145,-0.0023139824911480034,0.9923873178418411,-0.001439247332074567,85.90480669348909,54.98570546970427,30.91910122378482
|
||||
51,2098,2079,19,0,1,0.9909437559580553,0.9932620530009145,-0.002318297042859241,0.9903673667643471,0.0005763891937081711,81.3865113402388,54.9593891359954,26.427122204243396
|
||||
52,2053,2035,18,0,1,0.9912323429128105,0.9932620530009145,-0.002029710088104042,0.9892318517289466,0.0020004911838639172,98.33463678625267,56.776676994998574,41.5579597912541
|
||||
53,12561,12560,1,0,6,0.9999203885041,0.9999999999999064,-7.961149580637539e-05,0.9999140246140985,6.363890001526151e-06,1044.7923155936528,1046.7083316749959,-1.9160160813430593
|
||||
54,2000,1980,20,0,1,0.99,0.9932620530009145,-0.003262053000914533,0.9880895961230295,0.0019104038769705012,107.89072713265469,49.74874371859289,58.1419834140618
|
||||
55,2079,2068,11,0,1,0.9947089947089947,0.9932620530009145,0.0014469417080801295,0.9932583588026858,0.0014506359063088947,143.8011493850208,94.24933687002553,49.55181251499528
|
||||
56,2098,2084,14,0,1,0.9933269780743565,0.9932620530009145,6.49250734420237e-05,0.9938397813174706,-0.0005128032431140905,175.18094786299233,74.67773450843777,100.50321335455456
|
||||
57,2015,1997,18,0,1,0.9910669975186104,0.9932620530009145,-0.0021950554823041424,0.9890142958337269,0.0020527016848834734,88.71111911528159,55.721100587127246,32.990018528154344
|
||||
58,2090,2076,14,0,1,0.9933014354066986,0.9932620530009145,3.938240578404972e-05,0.9940941042652627,-0.0007926688585641051,124.24231560884266,74.39201700843566,49.850298600407
|
||||
59,4129,4127,2,0,2,0.9995156212157907,0.9999546000702375,-0.00043897885444676987,0.9995131040992579,2.5171165328741196e-06,579.7528882055386,515.9999697190016,63.752918486537055
|
||||
60,2124,2108,16,0,1,0.992467043314501,0.9932620530009145,-0.0007950096864135503,0.9939255908086915,-0.0014585474941904986,103.59500227859806,66.12405482041633,37.470947458181726
|
||||
61,14678,14677,1,0,7,0.9999318708270881,0.9999999999999993,-6.812917291121323e-05,0.9998783563196159,5.351450747226316e-05,1041.118511292761,1048.392855925834,-7.274344633073042
|
||||
62,2000,1976,24,0,1,0.988,0.9932620530009145,-0.005262053000914535,0.9902657049477617,-0.002265704947761682,76.70741128190923,41.41515761234073,35.2922536695685
|
||||
63,2040,2022,18,0,1,0.9911764705882353,0.9932620530009145,-0.002085582412679199,0.9912274031322784,-5.093254404309189e-05,106.01226256027917,56.4155588380111,49.59670372226807
|
||||
64,21079,21078,1,0,10,0.9999525594193273,1.0,-4.744058067274182e-05,0.9999998745822094,-4.7315162882144435e-05,1053.8386084605859,1053.9249994062686,-0.08639094568275141
|
||||
65,2109,2094,15,0,1,0.9928876244665719,0.9932620530009145,-0.00037442853434266343,0.994224654750159,-0.001337030283587115,146.32998430396663,70.04910778015716,76.28087652380947
|
||||
66,2125,2113,12,0,1,0.9943529411764706,0.9932620530009145,0.0010908881755560262,0.991978707677139,0.002374233499331524,152.7474426161782,88.29095878559008,64.45648383058813
|
||||
67,1421912,1421911,1,0,680,0.9999992967215974,1.0,-7.032784026250738e-07,0.9999984644906902,8.322309071884249e-07,1045.7056965578388,1045.5231617324898,0.18253482534896648
|
||||
68,2087,2070,17,0,1,0.9918543363679924,0.9932620530009145,-0.0014077166329221624,0.9899807425987847,0.0018735937692077043,86.55524758947784,61.131330569273764,25.42391702020408
|
||||
69,2107,2088,19,0,1,0.9909824394874229,0.9932620530009145,-0.0022796135134915962,0.9922268825014922,-0.0012444430140692297,126.37708177038449,55.19623612069544,71.18084564968905
|
||||
70,2098,2083,15,0,1,0.9928503336510963,0.9932620530009145,-0.000411719349818207,0.9946760773635814,-0.0018257437124851172,100.69198253188897,69.68243641871997,31.009546113168994
|
||||
71,2119,2104,15,0,1,0.9929211892402077,0.9932620530009145,-0.0003408637607068554,0.9962555100226812,-0.003334320782473532,112.23321920171834,70.38244533901688,41.85077386270146
|
||||
72,16662,16661,1,0,8,0.9999399831952946,1.0,-6.0016804705353977e-05,0.9999734654439831,-3.3482248688487815e-05,1036.815097403504,1041.343749061133,-4.5286516576288705
|
||||
73,4193,4191,2,0,2,0.9995230145480563,0.9999546000702375,-0.0004315855221812548,0.9990768894492731,0.00044612509878316775,532.6485651157809,523.9999701812887,8.648594934492166
|
||||
74,2076,2061,15,0,1,0.9927745664739884,0.9932620530009145,-0.0004874865269260953,0.9951929146093773,-0.0024183481353888814,140.1667657165872,68.94909354604773,71.21767217053947
|
||||
75,4052,4051,1,0,2,0.9997532082922014,0.9999546000702375,-0.00020139177803613073,0.9997169278442772,3.628044792414187e-05,1052.042050743086,1012.8749845735522,39.16706616953388
|
||||
76,2035,2020,15,0,1,0.9926289926289926,0.9932620530009145,-0.0006330603719219008,0.9926185309541844,1.0461674808226462e-05,116.43106972599321,67.58240854911608,48.84866117687713
|
||||
77,2122,2106,16,0,1,0.9924599434495759,0.9932620530009145,-0.0008021095513386367,0.993402759356072,-0.0009428159064961417,96.39567869402144,66.06155392620659,30.334124767814856
|
||||
78,2182,2170,12,0,1,0.9945004582951421,0.9932620530009145,0.0012384052942275847,0.996120429810842,-0.001619971515699925,117.34848747018889,90.66597732843158,26.682510141757305
|
||||
79,2096,2087,9,0,1,0.995706106870229,0.9932620530009145,0.0024440538693144553,0.9976756609246469,-0.001969554054417899,188.0247129202183,116.19390655297757,71.83080636724073
|
||||
80,2071,2051,20,0,1,0.9903428295509416,0.9932620530009145,-0.002919223449972974,0.9889166823392632,0.0014261472116783303,87.58496192108058,51.52378699660354,36.06117492447704
|
||||
81,2114,2103,11,0,1,0.9947965941343425,0.9932620530009145,0.0015345411334279913,0.9945761194895183,0.00022047464482422008,118.04360344705334,95.84025696854754,22.203346478505807
|
||||
82,2148,2131,17,0,1,0.9920856610800745,0.9932620530009145,-0.0011763919208400697,0.9918157765503607,0.00026988452971377086,124.79135889043033,62.925477365519306,61.865881524911025
|
||||
83,2108,2091,17,0,1,0.9919354838709677,0.9932620530009145,-0.0013265691299467752,0.9936354183282592,-0.001699934457291441,96.70315096106,61.74898785425121,34.95416310680879
|
||||
84,2093,2079,14,0,1,0.9933110367892977,0.9932620530009145,4.898378838313899e-05,0.9940787704685208,-0.0007677336792231149,149.54053882367535,74.49916107382542,75.04137774984993
|
||||
85,14699,14698,1,0,7,0.9999319681610994,0.9999999999999993,-6.803183889991793e-05,0.9999718941188739,-3.992595777446706e-05,1043.2507837812323,1049.8928559278875,-6.6420721466552095
|
||||
86,2050,2035,15,0,1,0.9926829268292683,0.9932620530009145,-0.0005791261716462381,0.9935147028429832,-0.0008317760137148689,120.57507046964838,68.08241534067712,52.492655128971265
|
||||
87,2090,2077,13,0,1,0.9937799043062201,0.9932620530009145,0.0005178513053055722,0.9925047889994231,0.0012751153067970256,164.97965539008933,80.13383544701011,84.84581994307922
|
||||
88,2061,2047,14,0,1,0.9932071809801067,0.9932620530009145,-5.487202080778353e-05,0.9906255854780341,0.002581595502072598,127.30743365264046,73.35629086103772,53.951142791602734
|
||||
89,10466,10465,1,0,5,0.999904452512899,0.9999999999861121,-9.554747321316448e-05,0.999982483136384,-7.803062348510359e-05,1043.948535408333,1046.5499976116075,-2.601462203274423
|
||||
90,2097,2080,17,0,1,0.9918931807343825,0.9932620530009145,-0.0013688722665320396,0.9920101316326831,-0.00011695089830066063,95.799002912172,61.425453111577816,34.37354980059418
|
||||
91,2127,2113,14,0,1,0.9934179595674659,0.9932620530009145,0.00015590656655140034,0.9896162183899352,0.0038017411775307375,177.66953344475684,75.71346024258797,101.95607320216887
|
||||
92,4269,4268,1,0,2,0.9997657531037714,0.9999546000702375,-0.00018884696646614962,0.9998988406568984,-0.00013308755312702036,1037.2624435310893,1067.1249853577278,-29.862541826638562
|
||||
93,33524,33523,1,0,16,0.9999701706240306,1.0,-2.9829375969403493e-05,0.9999979456352832,-2.777501125261761e-05,1043.3590795364094,1047.6093747690004,-4.250295232591043
|
||||
94,2056,2044,12,0,1,0.9941634241245136,0.9932620530009145,0.0009013711235991151,0.9977178577316343,-0.0035544336071207105,170.698223013995,85.41593495934964,85.28228805464536
|
||||
95,2045,2033,12,0,1,0.9941320293398533,0.9932620530009145,0.000869976338938816,0.9941455540692203,-1.3524729366998223e-05,132.6051912026743,84.95759767860109,47.6475935240732
|
||||
96,18673,18672,1,0,9,0.9999464467412842,1.0,-5.3553258715810514e-05,0.9999972771678817,-5.083042659748127e-05,1044.061175760398,1037.3611103671847,6.7000653932134355
|
||||
97,2074,2063,11,0,1,0.9946962391513983,0.9932620530009145,0.0014341861504837405,0.9954735700483968,-0.000777330896998496,143.97421094655184,94.02206253982885,49.95214840672298
|
||||
98,4160,4159,1,0,2,0.9997596153846153,0.9999546000702375,-0.0001949846856221793,0.9999821795227316,-0.00022256413811627684,1058.2297464713654,1039.874984973906,18.35476149745932
|
||||
99,2011,1992,19,0,1,0.9905519641969169,0.9932620530009145,-0.00271008880399759,0.9934902173565561,-0.002938253159639137,84.41399031676642,52.66986602153633,31.744124295230087
|
||||
100,2149,2135,14,0,1,0.993485342019544,0.9932620530009145,0.00022328901862944672,0.9907864572234467,0.002698884796097256,112.28591784247415,76.49918300653562,35.78673483593853
|
||||
|
@@ -0,0 +1,101 @@
|
||||
obj_id,hit_rate,expected_hit_rate,avg_cache_time,avg_age,expected_age
|
||||
1,0.992822966507177,0.9932620530009145,0.9940976666796555,109.278874314301,69.41576630652277
|
||||
2,0.9999045437189767,0.9999999999861121,0.9998974437027563,1053.4122488131368,1047.5499976137783
|
||||
3,0.9925685090571296,0.9932620530009145,0.9939927884341715,108.8353428772836,67.03031759906732
|
||||
4,0.9953314659197012,0.9932620530009145,0.9949130608291996,201.30691298784208,106.84941506785196
|
||||
5,0.9917475728155339,0.9932620530009145,0.9891913293531807,90.32204359318277,60.337199466673965
|
||||
6,0.9893203883495145,0.9932620530009145,0.989872336116493,88.04038691703117,46.566839700075285
|
||||
7,0.9935004642525533,0.9932620530009145,0.9908450685283415,170.87214755846804,76.67775633774653
|
||||
8,0.9997645396750647,0.9999546000702375,0.9997416368016643,1036.1521648812577,1061.624985282039
|
||||
9,0.9917635658914729,0.9932620530009145,0.990803985474535,104.14446356430201,60.45484854121659
|
||||
10,0.9999048887198022,0.9999999999861121,0.9999731503549902,1039.7009568790397,1051.349997622456
|
||||
11,0.9998405866411605,0.9999996940976795,0.999761533958269,1053.2713092921933,1045.4166600237581
|
||||
12,0.9924098671726755,0.9932620530009145,0.9917908383109599,125.39829671336915,65.62404761904779
|
||||
13,0.9941662615459407,0.9932620530009145,0.9937461553232396,153.4304954571533,85.45760198277274
|
||||
14,0.9950641658440277,0.9932620530009145,0.99646250225397,165.00325522702414,101.04938149431003
|
||||
15,0.9997598463016331,0.9999546000702375,0.9996906336644787,1037.9964824608865,1040.8749849886717
|
||||
16,0.9997653133067355,0.9999546000702375,0.9999200268814672,1051.316943476151,1065.1249853300403
|
||||
17,0.9998383446492078,0.9999996940976795,0.9999995747943947,1036.8041706201589,1030.9166599301484
|
||||
18,0.9999046438447602,0.9999999999861121,0.9999881058132777,1043.6068609472782,1048.6499976158134
|
||||
19,0.9933078393881453,0.9932620530009145,0.9967770323422745,110.21899451870944,74.4634463857482
|
||||
20,0.9998375832385902,0.9999996940976795,0.9999227395217289,1038.6480667934482,1026.0833265651004
|
||||
21,0.9924847346171912,0.9932620530009145,0.9946625851178192,90.35898975372355,66.2803070485625
|
||||
22,0.9999030632027918,0.9999999999861121,0.9999218016365358,1038.6206505625844,1031.5499975760486
|
||||
23,0.9998413453910836,0.9999996940976795,0.9997568948065019,1042.5137938593364,1050.4166600555259
|
||||
24,0.9946627850557982,0.9932620530009145,0.9966272407979475,165.6565489720489,93.43114924482019
|
||||
25,0.9903799903799904,0.9932620530009145,0.988991936118847,151.28758426746322,51.723791686805214
|
||||
26,0.9995206136145733,0.9999546000702375,0.999809812857067,862.739172615693,521.3749700311639
|
||||
27,0.9997690531177829,0.9999546000702375,0.9996150443257639,1058.9825317018497,1082.3749855637955
|
||||
28,0.9998416970080735,0.9999996940976795,0.9998572630189518,1059.1058581492478,1052.7499934034113
|
||||
29,0.9901912702305051,0.9932620530009145,0.9889574189975904,98.67827957538736,50.723767865943614
|
||||
30,0.9919469445760303,0.9932620530009145,0.9934676624912053,128.81144542342122,61.83722459257138
|
||||
31,0.9939619136089178,0.9932620530009145,0.9951137958837051,127.44380156800598,82.55693526133852
|
||||
32,0.9997604216578821,0.9999546000702375,0.9999127826182868,1037.427559709789,1043.3749850245613
|
||||
33,0.9975466143277724,0.9932620530009145,0.9961077460193342,306.8259392811569,203.54969295013595
|
||||
34,0.9924098671726755,0.9932620530009145,0.9914294135636378,127.31373517907211,65.62404761904779
|
||||
35,0.9997563946406821,0.9999546000702375,0.9997301279963705,1054.8127910282446,1026.1249847728127
|
||||
36,0.9994977398292315,0.9999546000702375,0.9994879741381064,730.0983168697065,497.62496860081046
|
||||
37,0.9997656982193065,0.9999546000702375,0.9993803072409759,1060.170816020301,1066.8749853546283
|
||||
38,0.9918032786885246,0.9932620530009145,0.990597956655717,99.83409892417012,60.748971193415706
|
||||
39,0.999841168996188,0.9999996940976795,0.9999701378687055,1046.4243558944966,1049.2499933814406
|
||||
40,0.9997621878715814,0.9999546000702375,0.999683057255861,1061.668255053678,1051.1249851349778
|
||||
41,0.9909609895337773,0.9932620530009145,0.9931641348834511,94.18062325414994,55.064654467710106
|
||||
42,0.9953029591357445,0.9932620530009145,0.9910930394299716,154.4881446569803,106.1994114877596
|
||||
43,0.991304347826087,0.9932620530009145,0.9922437943144916,92.1357130776481,57.24890829694347
|
||||
44,0.9997640396413403,0.9999546000702375,0.9998326984284556,1048.624227749891,1059.3749852510412
|
||||
45,0.9922742636407532,0.9932620530009145,0.9927752258662498,95.15379136553392,64.46778053805126
|
||||
46,0.9998390730608304,0.9999996940976795,0.9998030569504812,1050.8329966232905,1035.5833266276254
|
||||
47,0.9886866699458927,0.9932620530009145,0.9903687362897658,66.15867367479018,43.94422996268366
|
||||
48,0.9997578106078954,0.9999546000702375,0.9999004022436591,1047.5587150798865,1032.1249848612704
|
||||
49,0.9999846430271665,1.0,0.999997150810812,1046.6726849747247,1050.2661289697635
|
||||
50,0.9909480705097665,0.9932620530009145,0.9923873178418411,85.90480669348909,54.98570546970427
|
||||
51,0.9909437559580553,0.9932620530009145,0.9903673667643471,81.3865113402388,54.9593891359954
|
||||
52,0.9912323429128105,0.9932620530009145,0.9892318517289466,98.33463678625267,56.776676994998574
|
||||
53,0.9999203885041,0.9999999999999064,0.9999140246140985,1044.7923155936528,1046.7083316749959
|
||||
54,0.99,0.9932620530009145,0.9880895961230295,107.89072713265469,49.74874371859289
|
||||
55,0.9947089947089947,0.9932620530009145,0.9932583588026858,143.8011493850208,94.24933687002553
|
||||
56,0.9933269780743565,0.9932620530009145,0.9938397813174706,175.18094786299233,74.67773450843777
|
||||
57,0.9910669975186104,0.9932620530009145,0.9890142958337269,88.71111911528159,55.721100587127246
|
||||
58,0.9933014354066986,0.9932620530009145,0.9940941042652627,124.24231560884266,74.39201700843566
|
||||
59,0.9995156212157907,0.9999546000702375,0.9995131040992579,579.7528882055386,515.9999697190016
|
||||
60,0.992467043314501,0.9932620530009145,0.9939255908086915,103.59500227859806,66.12405482041633
|
||||
61,0.9999318708270881,0.9999999999999993,0.9998783563196159,1041.118511292761,1048.392855925834
|
||||
62,0.988,0.9932620530009145,0.9902657049477617,76.70741128190923,41.41515761234073
|
||||
63,0.9911764705882353,0.9932620530009145,0.9912274031322784,106.01226256027917,56.4155588380111
|
||||
64,0.9999525594193273,1.0,0.9999998745822094,1053.8386084605859,1053.9249994062686
|
||||
65,0.9928876244665719,0.9932620530009145,0.994224654750159,146.32998430396663,70.04910778015716
|
||||
66,0.9943529411764706,0.9932620530009145,0.991978707677139,152.7474426161782,88.29095878559008
|
||||
67,0.9999992967215974,1.0,0.9999984644906902,1045.7056965578388,1045.5231617324898
|
||||
68,0.9918543363679924,0.9932620530009145,0.9899807425987847,86.55524758947784,61.131330569273764
|
||||
69,0.9909824394874229,0.9932620530009145,0.9922268825014922,126.37708177038449,55.19623612069544
|
||||
70,0.9928503336510963,0.9932620530009145,0.9946760773635814,100.69198253188897,69.68243641871997
|
||||
71,0.9929211892402077,0.9932620530009145,0.9962555100226812,112.23321920171834,70.38244533901688
|
||||
72,0.9999399831952946,1.0,0.9999734654439831,1036.815097403504,1041.343749061133
|
||||
73,0.9995230145480563,0.9999546000702375,0.9990768894492731,532.6485651157809,523.9999701812887
|
||||
74,0.9927745664739884,0.9932620530009145,0.9951929146093773,140.1667657165872,68.94909354604773
|
||||
75,0.9997532082922014,0.9999546000702375,0.9997169278442772,1052.042050743086,1012.8749845735522
|
||||
76,0.9926289926289926,0.9932620530009145,0.9926185309541844,116.43106972599321,67.58240854911608
|
||||
77,0.9924599434495759,0.9932620530009145,0.993402759356072,96.39567869402144,66.06155392620659
|
||||
78,0.9945004582951421,0.9932620530009145,0.996120429810842,117.34848747018889,90.66597732843158
|
||||
79,0.995706106870229,0.9932620530009145,0.9976756609246469,188.0247129202183,116.19390655297757
|
||||
80,0.9903428295509416,0.9932620530009145,0.9889166823392632,87.58496192108058,51.52378699660354
|
||||
81,0.9947965941343425,0.9932620530009145,0.9945761194895183,118.04360344705334,95.84025696854754
|
||||
82,0.9920856610800745,0.9932620530009145,0.9918157765503607,124.79135889043033,62.925477365519306
|
||||
83,0.9919354838709677,0.9932620530009145,0.9936354183282592,96.70315096106,61.74898785425121
|
||||
84,0.9933110367892977,0.9932620530009145,0.9940787704685208,149.54053882367535,74.49916107382542
|
||||
85,0.9999319681610994,0.9999999999999993,0.9999718941188739,1043.2507837812323,1049.8928559278875
|
||||
86,0.9926829268292683,0.9932620530009145,0.9935147028429832,120.57507046964838,68.08241534067712
|
||||
87,0.9937799043062201,0.9932620530009145,0.9925047889994231,164.97965539008933,80.13383544701011
|
||||
88,0.9932071809801067,0.9932620530009145,0.9906255854780341,127.30743365264046,73.35629086103772
|
||||
89,0.999904452512899,0.9999999999861121,0.999982483136384,1043.948535408333,1046.5499976116075
|
||||
90,0.9918931807343825,0.9932620530009145,0.9920101316326831,95.799002912172,61.425453111577816
|
||||
91,0.9934179595674659,0.9932620530009145,0.9896162183899352,177.66953344475684,75.71346024258797
|
||||
92,0.9997657531037714,0.9999546000702375,0.9998988406568984,1037.2624435310893,1067.1249853577278
|
||||
93,0.9999701706240306,1.0,0.9999979456352832,1043.3590795364094,1047.6093747690004
|
||||
94,0.9941634241245136,0.9932620530009145,0.9977178577316343,170.698223013995,85.41593495934964
|
||||
95,0.9941320293398533,0.9932620530009145,0.9941455540692203,132.6051912026743,84.95759767860109
|
||||
96,0.9999464467412842,1.0,0.9999972771678817,1044.061175760398,1037.3611103671847
|
||||
97,0.9946962391513983,0.9932620530009145,0.9954735700483968,143.97421094655184,94.02206253982885
|
||||
98,0.9997596153846153,0.9999546000702375,0.9999821795227316,1058.2297464713654,1039.874984973906
|
||||
99,0.9905519641969169,0.9932620530009145,0.9934902173565561,84.41399031676642,52.66986602153633
|
||||
100,0.993485342019544,0.9932620530009145,0.9907864572234467,112.28591784247415,76.49918300653562
|
||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,9 @@
|
||||
,hit_rate,expected_hit_rate,avg_cache_time,avg_age,expected_age
|
||||
count,100.0,100.0,100.0,100.0,100.0
|
||||
mean,0.9953443206249202,0.9958147334586499,0.9954451062793003,460.0120641644132,421.2475605352718
|
||||
std,0.0037838417482891156,0.003277078465023217,0.003941487312951466,438.5456330279936,459.7399440940381
|
||||
min,0.988,0.9932620530009145,0.9880895961230295,66.15867367479018,41.41515761234073
|
||||
25%,0.9923759662896949,0.9932620530009145,0.9921726947842899,108.59918894112637,65.33498084879865
|
||||
50%,0.9941648428352272,0.9932620530009145,0.9947945690963905,153.08896903666576,85.43676847106119
|
||||
75%,0.9997647330829824,0.9999546000702375,0.9998047459271276,1040.05534548247,1040.1249849775975
|
||||
max,0.9999992967215974,1.0,0.9999998745822094,1061.668255053678,1082.3749855637955
|
||||
|
9
00_aoi_caching_simulation/experiments/avg_ages.md
Normal file
9
00_aoi_caching_simulation/experiments/avg_ages.md
Normal file
@@ -0,0 +1,9 @@
|
||||
| | avg_ages |
|
||||
|:--------------|-----------:|
|
||||
| 0.5s | 32.1964 |
|
||||
| 1.0s | 77.6952 |
|
||||
| 2.0s | 131.396 |
|
||||
| 3.0s | 274.829 |
|
||||
| 4.0s | 442.732 |
|
||||
| 5.0s | 460.012 |
|
||||
| 3000000000.0s | 1028.55 |
|
||||
9
00_aoi_caching_simulation/experiments/hit_rates.md
Normal file
9
00_aoi_caching_simulation/experiments/hit_rates.md
Normal file
@@ -0,0 +1,9 @@
|
||||
| | hit_rates |
|
||||
|:--------------|------------:|
|
||||
| 0.5s | 0.564884 |
|
||||
| 1.0s | 0.769828 |
|
||||
| 2.0s | 0.916617 |
|
||||
| 3.0s | 0.967932 |
|
||||
| 4.0s | 0.989788 |
|
||||
| 5.0s | 0.995344 |
|
||||
| 3000000000.0s | 0.999625 |
|
||||
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: 42 KiB |
@@ -83,4 +83,15 @@ 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/27/2024
|
||||
## 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
|
||||
566
01_nb_cncf_optimization/00-hitrate_optimization.ipynb
Normal file
566
01_nb_cncf_optimization/00-hitrate_optimization.ipynb
Normal file
@@ -0,0 +1,566 @@
|
||||
{
|
||||
"cells": [
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 1,
|
||||
"id": "ab5cd7d1-1a57-46fc-8282-dae0a6cc2944",
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"import matplotlib.pyplot as plt\n",
|
||||
"import numpy as np\n",
|
||||
"import random\n",
|
||||
"import pandas as pd"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 2,
|
||||
"id": "3d1ad0b9-f6a8-4e98-84aa-6e02e4279954",
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"DATABASE_OBJECT_COUNT = 100\n",
|
||||
"CACHE_SIZE = DATABASE_OBJECT_COUNT/2\n",
|
||||
"ZIPF_CONSTANT = 2\n",
|
||||
"\n",
|
||||
"CACHE_MISS_COST = 2\n",
|
||||
"CACHE_REFRESH_COST = 1\n",
|
||||
"\n",
|
||||
"SEED = 42\n",
|
||||
"np.random.seed(SEED)\n",
|
||||
"random.seed(SEED)\n",
|
||||
"\n",
|
||||
"LAMBDA_VALUES = np.array([np.random.zipf(ZIPF_CONSTANT) for i in np.arange(1, DATABASE_OBJECT_COUNT + 1,1)])"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 3,
|
||||
"id": "9cc83cf6-5c78-4f0d-b7cb-08cdb80c362e",
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"# LAMBDA_VALUES = np.array([0.03, 0.04,0.05,0.06,0.07,1,1.1,1.2,1.3,1.4,1.5])\n",
|
||||
"# DATABASE_OBJECT_COUNT = len(LAMBDA_VALUES)\n",
|
||||
"# CACHE_SIZE = 4.4\n",
|
||||
"# CACHE_MISS_COST = 7\n",
|
||||
"# CACHE_REFRESH_COST = 1"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 4,
|
||||
"id": "3dc07233-0b56-4fee-a93b-212836c18b42",
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"db_object_count = DATABASE_OBJECT_COUNT\n",
|
||||
"cache_sz = CACHE_SIZE\n",
|
||||
"\n",
|
||||
"lambda_vals = LAMBDA_VALUES\n",
|
||||
"c_f = CACHE_MISS_COST\n",
|
||||
"c_delta = CACHE_REFRESH_COST"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 5,
|
||||
"id": "5a27d416-8f98-4814-af9e-6c6bef95f4ef",
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"def eta_star(db_object_count, c_f, cache_sz, c_delta, lambda_vals):\n",
|
||||
" num = (db_object_count * c_f - cache_sz * c_delta)\n",
|
||||
" denom = np.sum(1.0/lambda_vals)\n",
|
||||
" return max(0, num/denom)"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 6,
|
||||
"id": "6276a9ce-f839-4fe6-90f2-2195cf065fc8",
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"def h_i_star(c_f, eta, lambda_vals, c_delta):\n",
|
||||
" optimized_hitrate = (c_f - (eta/lambda_vals)) / c_delta\n",
|
||||
" return optimized_hitrate"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 7,
|
||||
"id": "dcd31a8c-6864-4b9a-8bb3-998f0c32baf6",
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"def get_index_of_furthest_hitrate_from_boundary(hitrates):\n",
|
||||
" lower_bound_violation = hitrates[(hitrates < 0)]\n",
|
||||
" upper_bound_violation = hitrates[(hitrates > 1)]\n",
|
||||
" smallest_delta = np.abs(np.min(lower_bound_violation))\n",
|
||||
" biggest_delta = np.max(upper_bound_violation) - 1\n",
|
||||
" if smallest_delta > biggest_delta:\n",
|
||||
" print(smallest_delta)\n",
|
||||
" index = np.where(hitrates == np.min(local_hitrates))[0][0]\n",
|
||||
" return index\n",
|
||||
" else:\n",
|
||||
" \n",
|
||||
" index = np.where(hitrates == np.max(local_hitrates))[0][0]\n",
|
||||
" return index"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 8,
|
||||
"id": "9d774304-ae68-43b3-a76a-e970c06c5236",
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"def get_index_of_furthest_hitrate_from_boundary(hitrates):\n",
|
||||
" outside_bounds = (hitrates < 0) | (hitrates > 1)\n",
|
||||
" distances = np.where(outside_bounds, np.maximum(np.abs(hitrates - 0), np.abs(hitrates - 1)), -np.inf)\n",
|
||||
" index = np.argmax(distances)\n",
|
||||
" return index"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 9,
|
||||
"id": "19678083-15e1-439b-be8c-42033d501644",
|
||||
"metadata": {},
|
||||
"outputs": [
|
||||
{
|
||||
"data": {
|
||||
"text/plain": [
|
||||
"array([ 1, 3, 1, 1, 2, 1, 5, 1, 1, 1, 2, 1, 1, 1, 2, 2, 1,\n",
|
||||
" 1, 3, 1, 1, 1, 1, 2, 1, 1, 1, 5, 1, 1, 1, 4, 1, 4,\n",
|
||||
" 1, 1, 1, 3, 8, 1, 4, 4, 2, 1, 1, 1, 10, 1, 1, 1, 5,\n",
|
||||
" 9, 1, 1, 1, 1, 1, 17, 2, 1, 26, 1, 1, 2, 1, 10, 1, 69,\n",
|
||||
" 1, 1, 2, 1, 1, 1, 3, 2, 2, 3, 15, 1, 1, 5, 2, 1, 1,\n",
|
||||
" 2, 1, 2, 1, 1, 2, 2, 3, 1, 2, 1, 1, 37, 4, 2])"
|
||||
]
|
||||
},
|
||||
"execution_count": 9,
|
||||
"metadata": {},
|
||||
"output_type": "execute_result"
|
||||
}
|
||||
],
|
||||
"source": [
|
||||
"lambda_vals"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 10,
|
||||
"id": "ccd4b95d-1cdd-4c99-a22e-4b31338993cf",
|
||||
"metadata": {},
|
||||
"outputs": [
|
||||
{
|
||||
"name": "stdout",
|
||||
"output_type": "stream",
|
||||
"text": [
|
||||
"2.1159070575516945\n"
|
||||
]
|
||||
},
|
||||
{
|
||||
"data": {
|
||||
"text/plain": [
|
||||
"array([-0.11590706, 1.29469765, -0.11590706, -0.11590706, 0.94204647,\n",
|
||||
" -0.11590706, -0.11590706, -0.11590706, -0.11590706, 0.94204647,\n",
|
||||
" -0.11590706, -0.11590706, -0.11590706, 0.94204647, 0.94204647,\n",
|
||||
" -0.11590706, -0.11590706, 1.29469765, -0.11590706, -0.11590706,\n",
|
||||
" -0.11590706, -0.11590706, 0.94204647, -0.11590706, -0.11590706,\n",
|
||||
" -0.11590706, -0.11590706, -0.11590706, -0.11590706, 1.47102324,\n",
|
||||
" -0.11590706, 1.47102324, -0.11590706, -0.11590706, -0.11590706,\n",
|
||||
" 1.29469765, 1.73551162, -0.11590706, 1.47102324, 1.47102324,\n",
|
||||
" 0.94204647, -0.11590706, -0.11590706, -0.11590706, 1.78840929,\n",
|
||||
" -0.11590706, -0.11590706, -0.11590706, 1.76489922, -0.11590706,\n",
|
||||
" -0.11590706, -0.11590706, -0.11590706, -0.11590706, 1.87553488,\n",
|
||||
" 0.94204647, -0.11590706, 1.91861896, -0.11590706, -0.11590706,\n",
|
||||
" 0.94204647, -0.11590706, 1.78840929, -0.11590706, 1.96933468,\n",
|
||||
" -0.11590706, -0.11590706, 0.94204647, -0.11590706, -0.11590706,\n",
|
||||
" -0.11590706, 1.29469765, 0.94204647, 0.94204647, 1.29469765,\n",
|
||||
" 1.85893953, -0.11590706, -0.11590706, 0.94204647, -0.11590706,\n",
|
||||
" -0.11590706, 0.94204647, -0.11590706, 0.94204647, -0.11590706,\n",
|
||||
" -0.11590706, 0.94204647, 0.94204647, 1.29469765, -0.11590706,\n",
|
||||
" 0.94204647, -0.11590706, -0.11590706, 1.94281332, 1.47102324,\n",
|
||||
" 0.94204647])"
|
||||
]
|
||||
},
|
||||
"execution_count": 10,
|
||||
"metadata": {},
|
||||
"output_type": "execute_result"
|
||||
}
|
||||
],
|
||||
"source": [
|
||||
"eta = eta_star(db_object_count, c_f, cache_sz, c_delta, lambda_vals[lambda_vals != lambda_vals[6]])\n",
|
||||
"print(eta)\n",
|
||||
"optimized_hitrates = (c_f - eta / lambda_vals[lambda_vals != lambda_vals[6]]) / c_delta\n",
|
||||
"optimized_hitrates"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 11,
|
||||
"id": "05b17074-719f-4bca-8434-2aaee26094d0",
|
||||
"metadata": {},
|
||||
"outputs": [
|
||||
{
|
||||
"data": {
|
||||
"text/html": [
|
||||
"<div>\n",
|
||||
"<style scoped>\n",
|
||||
" .dataframe tbody tr th:only-of-type {\n",
|
||||
" vertical-align: middle;\n",
|
||||
" }\n",
|
||||
"\n",
|
||||
" .dataframe tbody tr th {\n",
|
||||
" vertical-align: top;\n",
|
||||
" }\n",
|
||||
"\n",
|
||||
" .dataframe thead th {\n",
|
||||
" text-align: right;\n",
|
||||
" }\n",
|
||||
"</style>\n",
|
||||
"<table border=\"1\" class=\"dataframe\">\n",
|
||||
" <thead>\n",
|
||||
" <tr style=\"text-align: right;\">\n",
|
||||
" <th></th>\n",
|
||||
" <th>0</th>\n",
|
||||
" </tr>\n",
|
||||
" </thead>\n",
|
||||
" <tbody>\n",
|
||||
" <tr>\n",
|
||||
" <th>count</th>\n",
|
||||
" <td>96.000000</td>\n",
|
||||
" </tr>\n",
|
||||
" <tr>\n",
|
||||
" <th>mean</th>\n",
|
||||
" <td>0.437500</td>\n",
|
||||
" </tr>\n",
|
||||
" <tr>\n",
|
||||
" <th>std</th>\n",
|
||||
" <td>0.726101</td>\n",
|
||||
" </tr>\n",
|
||||
" <tr>\n",
|
||||
" <th>min</th>\n",
|
||||
" <td>-0.115907</td>\n",
|
||||
" </tr>\n",
|
||||
" <tr>\n",
|
||||
" <th>25%</th>\n",
|
||||
" <td>-0.115907</td>\n",
|
||||
" </tr>\n",
|
||||
" <tr>\n",
|
||||
" <th>50%</th>\n",
|
||||
" <td>-0.115907</td>\n",
|
||||
" </tr>\n",
|
||||
" <tr>\n",
|
||||
" <th>75%</th>\n",
|
||||
" <td>0.942046</td>\n",
|
||||
" </tr>\n",
|
||||
" <tr>\n",
|
||||
" <th>max</th>\n",
|
||||
" <td>1.969335</td>\n",
|
||||
" </tr>\n",
|
||||
" </tbody>\n",
|
||||
"</table>\n",
|
||||
"</div>"
|
||||
],
|
||||
"text/plain": [
|
||||
" 0\n",
|
||||
"count 96.000000\n",
|
||||
"mean 0.437500\n",
|
||||
"std 0.726101\n",
|
||||
"min -0.115907\n",
|
||||
"25% -0.115907\n",
|
||||
"50% -0.115907\n",
|
||||
"75% 0.942046\n",
|
||||
"max 1.969335"
|
||||
]
|
||||
},
|
||||
"execution_count": 11,
|
||||
"metadata": {},
|
||||
"output_type": "execute_result"
|
||||
}
|
||||
],
|
||||
"source": [
|
||||
"pd.DataFrame(optimized_hitrates).describe()"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 12,
|
||||
"id": "0e21c26f-058a-4e56-a5ad-1c47bf28656c",
|
||||
"metadata": {
|
||||
"scrolled": true
|
||||
},
|
||||
"outputs": [
|
||||
{
|
||||
"name": "stdout",
|
||||
"output_type": "stream",
|
||||
"text": [
|
||||
"Optimized: 67 1.97 // [ 1.79077042 -0.09229584 1. -0.09229584 -0.09229584]\n",
|
||||
"Optimized: 97 1.94 // [-0.07876743 -0.07876743 1. 1.48030814 0.96061628]\n",
|
||||
"Optimized: 60 1.92 // [ 0.96720258 -0.06559484 1. -0.06559484 -0.06559484]\n",
|
||||
"Optimized: 57 1.88 // [-0.05274002 -0.05274002 1. 0.97362999 -0.05274002]\n",
|
||||
"Optimized: 78 1.86 // [ 0.97977406 1.31984937 1. -0.04045188 -0.04045188]\n",
|
||||
"Optimized: 46 1.80 // [-0.02836604 -0.02836604 1. -0.02836604 -0.02836604]\n",
|
||||
"Optimized: 65 1.80 // [ 0.99140044 -0.01719911 1. -0.01719911 1. ]\n",
|
||||
"Optimized: 51 1.78 // [-0.00600086 1.59879983 1. -0.00600086 -0.00600086]\n",
|
||||
"Optimized: 38 1.75 // [0.00491746 1.33497249 1. 0.00491746 1.50122936]\n",
|
||||
"Optimized: 6 1.60 // [1.00774103 0.01548205 1. 0.01548205 0.01548205]\n",
|
||||
"Optimized: 27 1.60 // [0.02399435 0.02399435 1. 0.02399435 0.02399435]\n",
|
||||
"Optimized: 50 1.61 // [0.03255485 0.03255485 1. 1. 0.03255485]\n",
|
||||
"Optimized: 81 1.61 // [0.04116395 0.04116395 1. 1.02058197 0.04116395]\n",
|
||||
"Optimized: 31 1.51 // [0.04982206 0.04982206 1. 0.04982206 1.51245552]\n",
|
||||
"Optimized: 33 1.51 // [1. 0.05714286 1. 0.05714286 0.05714286]\n",
|
||||
"Optimized: 40 1.52 // [1. 0.06451613 1. 1.51612903 1.03225806]\n",
|
||||
"Optimized: 41 1.52 // [0.07194245 1. 1. 1.03597122 0.07194245]\n",
|
||||
"Optimized: 98 1.52 // [0.07942238 1. 1. 1.03971119]\n",
|
||||
"Optimized: 1 1.36 // []\n",
|
||||
"Optimized: 18 1.36 // [0.09223301 0.09223301 1. 0.09223301 0.09223301]\n",
|
||||
"Optimized: 37 1.37 // [0.09756098 0.09756098 1. 1. 0.09756098]\n",
|
||||
"Optimized: 74 1.37 // [0.10294118 0.10294118 1. 1.05147059 1.05147059]\n",
|
||||
"Optimized: 77 1.37 // [1.05418719 1.05418719 1. 1. 0.10837438]\n",
|
||||
"Optimized: 92 1.37 // [1.05693069 1.05693069 1. 0.11386139 1.05693069]\n",
|
||||
"Optimized: 4 1.06 // [0.11940299 0.11940299 1. 0.11940299 1. ]\n",
|
||||
"Optimized: 10 1.06 // [0.12030075 0.12030075 1. 0.12030075 0.12030075]\n",
|
||||
"Optimized: 14 1.06 // [0.12121212 0.12121212 1. 1.06060606 0.12121212]\n",
|
||||
"Optimized: 15 1.06 // [0.1221374 1. 1. 0.1221374 0.1221374]\n",
|
||||
"Optimized: 23 1.06 // [0.12307692 0.12307692 1. 0.12307692 0.12307692]\n",
|
||||
"Optimized: 42 1.06 // [1. 1. 1. 0.12403101 0.12403101]\n",
|
||||
"Optimized: 58 1.06 // [0.125 1. 1. 0.125 1. ]\n",
|
||||
"Optimized: 63 1.06 // [0.12598425 0.12598425 1. 0.12598425 1. ]\n",
|
||||
"Optimized: 70 1.06 // [0.12698413 0.12698413 1. 0.12698413 0.12698413]\n",
|
||||
"Optimized: 75 1.06 // [0.128 1. 1. 1.064 1. ]\n",
|
||||
"Optimized: 76 1.06 // [1. 1. 1. 1. 1.]\n",
|
||||
"Optimized: 82 1.07 // [0.1300813 1. 1. 0.1300813 0.1300813]\n",
|
||||
"Optimized: 85 1.07 // [0.13114754 0.13114754 1. 0.13114754 1.06557377]\n",
|
||||
"Optimized: 87 1.07 // [1. 0.1322314 1. 0.1322314 0.1322314]\n",
|
||||
"Optimized: 90 1.07 // [0.13333333 0.13333333 1. 1.06666667 1. ]\n",
|
||||
"Optimized: 91 1.07 // [0.13445378 1. 1. 1. 0.13445378]\n",
|
||||
"Optimized: 94 1.07 // [1. 0.13559322 1. 0.13559322 0.13559322]\n",
|
||||
"Optimized: 99 1.07 // [1. 1. 1.]\n",
|
||||
"All values optimized.\n"
|
||||
]
|
||||
}
|
||||
],
|
||||
"source": [
|
||||
"\"\"\"\n",
|
||||
"Perform theoretical optimization to compute optimal hit probabilities.\n",
|
||||
"\n",
|
||||
"Parameters:\n",
|
||||
"- lambda_vals (numpy array): Request rates for each item.\n",
|
||||
"- B (float): Total cache size.\n",
|
||||
"- c_f (float): Fetching linear cost (cache miss cost).\n",
|
||||
"- c_delta (float): Age linear cost.\n",
|
||||
"\n",
|
||||
"Returns:\n",
|
||||
"- h_opt (numpy array): Optimal hit probabilities for each item.\n",
|
||||
"\"\"\"\n",
|
||||
"optimized_hitrates = np.zeros(DATABASE_OBJECT_COUNT)\n",
|
||||
"current_db_object_count = DATABASE_OBJECT_COUNT\n",
|
||||
"current_cache_size = CACHE_SIZE\n",
|
||||
"\n",
|
||||
"differenc_set = np.arange(DATABASE_OBJECT_COUNT)\n",
|
||||
"fix_i = []\n",
|
||||
"\n",
|
||||
"while True:\n",
|
||||
" if current_db_object_count == 0:\n",
|
||||
" print(\"No objects left to optimize.\")\n",
|
||||
" if current_cache_size > 0:\n",
|
||||
" print(\"Add obj with optimized hitrate 0 and add them to optimization pool for re-optimization.\")\n",
|
||||
" # Redistribute unused cache size among items with zero hit probability\n",
|
||||
" differenc_set = np.where(optimized_hitrates == 0)[0]\n",
|
||||
" fix_i = np.setdiff1d(np.arange(DATABASE_OBJECT_COUNT), differenc_set).tolist()\n",
|
||||
" current_db_object_count = len(differenc_set)\n",
|
||||
" continue\n",
|
||||
" else:\n",
|
||||
" \"Reset\"\n",
|
||||
" optimized_hitrates[differenc_set] = 0\n",
|
||||
" break\n",
|
||||
" # Compute Lagrangian multiplier and optimal hit probabilities\n",
|
||||
" eta = eta_star(current_db_object_count, c_f, current_cache_size, c_delta, lambda_vals[differenc_set])\n",
|
||||
" optimized_hitrates[differenc_set] = (c_f - eta / lambda_vals[differenc_set]) / c_delta\n",
|
||||
" if eta < 0:\n",
|
||||
" print(\"eta was negative.\")\n",
|
||||
" current_cache_size = current_db_object_count * c_f / c_delta # Adjust cache size for next iteration\n",
|
||||
" continue\n",
|
||||
" \n",
|
||||
" if len((optimized_hitrates[differenc_set])[((optimized_hitrates[differenc_set]) < 0) | ((optimized_hitrates[differenc_set])> 1)]) == 0:\n",
|
||||
" print(\"All values optimized.\")\n",
|
||||
" break\n",
|
||||
" \n",
|
||||
" max_outbound_index = get_index_of_furthest_hitrate_from_boundary(optimized_hitrates)\n",
|
||||
" fix_i.append(max_outbound_index)\n",
|
||||
" differenc_set = np.setdiff1d(np.arange(DATABASE_OBJECT_COUNT), fix_i)\n",
|
||||
"\n",
|
||||
" old_hitrate = optimized_hitrates[max_outbound_index]\n",
|
||||
" optimized_hitrates[max_outbound_index] = (1 if optimized_hitrates[max_outbound_index] > 1 else 0)\n",
|
||||
" \n",
|
||||
" print(f\"Optimized: {max_outbound_index} {old_hitrate:.2f} // {optimized_hitrates[max_outbound_index-2:max_outbound_index+3]}\")\n",
|
||||
" \n",
|
||||
" current_db_object_count -= 1\n",
|
||||
" current_cache_size -= optimized_hitrates[max_outbound_index]"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 13,
|
||||
"id": "f559ee7a-be2f-4076-b01c-f08950ad5a88",
|
||||
"metadata": {},
|
||||
"outputs": [
|
||||
{
|
||||
"data": {
|
||||
"text/plain": [
|
||||
"array([0.13793103, 1. , 0.13793103, 0.13793103, 1. ,\n",
|
||||
" 0.13793103, 1. , 0.13793103, 0.13793103, 0.13793103,\n",
|
||||
" 1. , 0.13793103, 0.13793103, 0.13793103, 1. ,\n",
|
||||
" 1. , 0.13793103, 0.13793103, 1. , 0.13793103,\n",
|
||||
" 0.13793103, 0.13793103, 0.13793103, 1. , 0.13793103,\n",
|
||||
" 0.13793103, 0.13793103, 1. , 0.13793103, 0.13793103,\n",
|
||||
" 0.13793103, 1. , 0.13793103, 1. , 0.13793103,\n",
|
||||
" 0.13793103, 0.13793103, 1. , 1. , 0.13793103,\n",
|
||||
" 1. , 1. , 1. , 0.13793103, 0.13793103,\n",
|
||||
" 0.13793103, 1. , 0.13793103, 0.13793103, 0.13793103,\n",
|
||||
" 1. , 1. , 0.13793103, 0.13793103, 0.13793103,\n",
|
||||
" 0.13793103, 0.13793103, 1. , 1. , 0.13793103,\n",
|
||||
" 1. , 0.13793103, 0.13793103, 1. , 0.13793103,\n",
|
||||
" 1. , 0.13793103, 1. , 0.13793103, 0.13793103,\n",
|
||||
" 1. , 0.13793103, 0.13793103, 0.13793103, 1. ,\n",
|
||||
" 1. , 1. , 1. , 1. , 0.13793103,\n",
|
||||
" 0.13793103, 1. , 1. , 0.13793103, 0.13793103,\n",
|
||||
" 1. , 0.13793103, 1. , 0.13793103, 0.13793103,\n",
|
||||
" 1. , 1. , 1. , 0.13793103, 1. ,\n",
|
||||
" 0.13793103, 0.13793103, 1. , 1. , 1. ])"
|
||||
]
|
||||
},
|
||||
"execution_count": 13,
|
||||
"metadata": {},
|
||||
"output_type": "execute_result"
|
||||
}
|
||||
],
|
||||
"source": [
|
||||
"optimized_hitrates"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 14,
|
||||
"id": "8b2d3cea-1cc0-476e-92bf-2ac4344a9b1b",
|
||||
"metadata": {},
|
||||
"outputs": [
|
||||
{
|
||||
"data": {
|
||||
"text/html": [
|
||||
"<div>\n",
|
||||
"<style scoped>\n",
|
||||
" .dataframe tbody tr th:only-of-type {\n",
|
||||
" vertical-align: middle;\n",
|
||||
" }\n",
|
||||
"\n",
|
||||
" .dataframe tbody tr th {\n",
|
||||
" vertical-align: top;\n",
|
||||
" }\n",
|
||||
"\n",
|
||||
" .dataframe thead th {\n",
|
||||
" text-align: right;\n",
|
||||
" }\n",
|
||||
"</style>\n",
|
||||
"<table border=\"1\" class=\"dataframe\">\n",
|
||||
" <thead>\n",
|
||||
" <tr style=\"text-align: right;\">\n",
|
||||
" <th></th>\n",
|
||||
" <th>0</th>\n",
|
||||
" </tr>\n",
|
||||
" </thead>\n",
|
||||
" <tbody>\n",
|
||||
" <tr>\n",
|
||||
" <th>count</th>\n",
|
||||
" <td>100.000000</td>\n",
|
||||
" </tr>\n",
|
||||
" <tr>\n",
|
||||
" <th>mean</th>\n",
|
||||
" <td>0.500000</td>\n",
|
||||
" </tr>\n",
|
||||
" <tr>\n",
|
||||
" <th>std</th>\n",
|
||||
" <td>0.427625</td>\n",
|
||||
" </tr>\n",
|
||||
" <tr>\n",
|
||||
" <th>min</th>\n",
|
||||
" <td>0.137931</td>\n",
|
||||
" </tr>\n",
|
||||
" <tr>\n",
|
||||
" <th>25%</th>\n",
|
||||
" <td>0.137931</td>\n",
|
||||
" </tr>\n",
|
||||
" <tr>\n",
|
||||
" <th>50%</th>\n",
|
||||
" <td>0.137931</td>\n",
|
||||
" </tr>\n",
|
||||
" <tr>\n",
|
||||
" <th>75%</th>\n",
|
||||
" <td>1.000000</td>\n",
|
||||
" </tr>\n",
|
||||
" <tr>\n",
|
||||
" <th>max</th>\n",
|
||||
" <td>1.000000</td>\n",
|
||||
" </tr>\n",
|
||||
" </tbody>\n",
|
||||
"</table>\n",
|
||||
"</div>"
|
||||
],
|
||||
"text/plain": [
|
||||
" 0\n",
|
||||
"count 100.000000\n",
|
||||
"mean 0.500000\n",
|
||||
"std 0.427625\n",
|
||||
"min 0.137931\n",
|
||||
"25% 0.137931\n",
|
||||
"50% 0.137931\n",
|
||||
"75% 1.000000\n",
|
||||
"max 1.000000"
|
||||
]
|
||||
},
|
||||
"execution_count": 14,
|
||||
"metadata": {},
|
||||
"output_type": "execute_result"
|
||||
}
|
||||
],
|
||||
"source": [
|
||||
"pd.DataFrame(optimized_hitrates).describe()"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": null,
|
||||
"id": "7a998837-72b8-4039-95a5-ca8d9c8e65ab",
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": []
|
||||
}
|
||||
],
|
||||
"metadata": {
|
||||
"kernelspec": {
|
||||
"display_name": "graphs",
|
||||
"language": "python",
|
||||
"name": "graphs"
|
||||
},
|
||||
"language_info": {
|
||||
"codemirror_mode": {
|
||||
"name": "ipython",
|
||||
"version": 3
|
||||
},
|
||||
"file_extension": ".py",
|
||||
"mimetype": "text/x-python",
|
||||
"name": "python",
|
||||
"nbconvert_exporter": "python",
|
||||
"pygments_lexer": "ipython3",
|
||||
"version": "3.12.7"
|
||||
}
|
||||
},
|
||||
"nbformat": 4,
|
||||
"nbformat_minor": 5
|
||||
}
|
||||
287
01_nb_cncf_optimization/01-objective_gridsearch.ipynb
Normal file
287
01_nb_cncf_optimization/01-objective_gridsearch.ipynb
Normal file
@@ -0,0 +1,287 @@
|
||||
{
|
||||
"cells": [
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 1,
|
||||
"id": "ab5cd7d1-1a57-46fc-8282-dae0a6cc2944",
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"import matplotlib.pyplot as plt\n",
|
||||
"import numpy as np\n",
|
||||
"import random\n",
|
||||
"import pandas as pd\n",
|
||||
"import itertools\n",
|
||||
"from tqdm import tqdm"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 2,
|
||||
"id": "3d1ad0b9-f6a8-4e98-84aa-6e02e4279954",
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"SEED = 42\n",
|
||||
"np.random.seed(SEED)\n",
|
||||
"random.seed(SEED)\n",
|
||||
"\n",
|
||||
"ZIPF_CONSTANT = 2"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 3,
|
||||
"id": "5a27d416-8f98-4814-af9e-6c6bef95f4ef",
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"def eta_star(db_object_count, c_f, cache_sz, c_delta, lambda_vals):\n",
|
||||
" num = (db_object_count * c_f - cache_sz * c_delta)\n",
|
||||
" denom = np.sum(1.0/lambda_vals)\n",
|
||||
" if denom == 0:\n",
|
||||
" print(\"sum(1.0/lambda_vals) == 0\")\n",
|
||||
" print(db_object_count, c_f, cache_sz, c_delta, lambda_vals)\n",
|
||||
" return max(0, num/denom)"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 4,
|
||||
"id": "6276a9ce-f839-4fe6-90f2-2195cf065fc8",
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"def h_i_star(c_f, eta, lambda_vals, c_delta):\n",
|
||||
" optimized_hitrate = (c_f - (eta/lambda_vals)) / c_delta\n",
|
||||
" return optimized_hitrate"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 5,
|
||||
"id": "dcd31a8c-6864-4b9a-8bb3-998f0c32baf6",
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"def get_index_of_furthest_hitrate_from_boundary(hitrates):\n",
|
||||
" lower_bound_violation = hitrates[(hitrates < 0)]\n",
|
||||
" upper_bound_violation = hitrates[(hitrates > 1)]\n",
|
||||
" smallest_delta = np.abs(np.min(lower_bound_violation))\n",
|
||||
" biggest_delta = np.max(upper_bound_violation) - 1\n",
|
||||
" if smallest_delta > biggest_delta:\n",
|
||||
" print(smallest_delta)\n",
|
||||
" index = np.where(hitrates == np.min(local_hitrates))[0][0]\n",
|
||||
" return index\n",
|
||||
" else:\n",
|
||||
" \n",
|
||||
" index = np.where(hitrates == np.max(local_hitrates))[0][0]\n",
|
||||
" return index"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 6,
|
||||
"id": "9d774304-ae68-43b3-a76a-e970c06c5236",
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"def get_index_of_furthest_hitrate_from_boundary(hitrates):\n",
|
||||
" outside_bounds = (hitrates < 0) | (hitrates > 1)\n",
|
||||
" distances = np.where(outside_bounds, np.maximum(np.abs(hitrates - 0), np.abs(hitrates - 1)), -np.inf)\n",
|
||||
" index = np.argmax(distances)\n",
|
||||
" return index"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 7,
|
||||
"id": "0e21c26f-058a-4e56-a5ad-1c47bf28656c",
|
||||
"metadata": {
|
||||
"scrolled": true
|
||||
},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"def optimize_hitrates(db_object_count, cache_size, c_f, c_delta, lambda_vals):\n",
|
||||
" optimized_hitrates = np.zeros(db_object_count)\n",
|
||||
" current_db_object_count = db_object_count\n",
|
||||
" current_cache_size = cache_size\n",
|
||||
" \n",
|
||||
" differenc_set = np.arange(db_object_count)\n",
|
||||
" fix_i = []\n",
|
||||
" while True:\n",
|
||||
" if current_db_object_count == 0:\n",
|
||||
" if current_cache_size > 0:\n",
|
||||
" # print(\"Re-optimize objects with optimal hitrate of 0.\")\n",
|
||||
" differenc_set = np.where(optimized_hitrates == 0)[0]\n",
|
||||
" fix_i = np.setdiff1d(np.arange(db_object_count), differenc_set).tolist()\n",
|
||||
" current_db_object_count = len(differenc_set)\n",
|
||||
" continue\n",
|
||||
" else:\n",
|
||||
" # print(\"Stop optimization.\")\n",
|
||||
" optimized_hitrates[differenc_set] = 0\n",
|
||||
" break\n",
|
||||
" \n",
|
||||
" eta = eta_star(current_db_object_count, c_f, current_cache_size, c_delta, lambda_vals[differenc_set])\n",
|
||||
" optimized_hitrates[differenc_set] = h_i_star(c_f, eta, lambda_vals[differenc_set], c_delta)\n",
|
||||
"\n",
|
||||
" if eta < 0:\n",
|
||||
" # print(\"eta was negative.\")\n",
|
||||
" current_cache_size = current_db_object_count * c_f / c_delta # Adjust cache size for next iteration\n",
|
||||
" continue\n",
|
||||
" \n",
|
||||
" if len((optimized_hitrates[differenc_set])[((optimized_hitrates[differenc_set]) < 0) | ((optimized_hitrates[differenc_set])> 1)]) == 0:\n",
|
||||
" # print(\"All values optimized.\")\n",
|
||||
" break\n",
|
||||
" \n",
|
||||
" max_outbound_index = get_index_of_furthest_hitrate_from_boundary(optimized_hitrates)\n",
|
||||
" fix_i.append(max_outbound_index)\n",
|
||||
" differenc_set = np.setdiff1d(np.arange(db_object_count), fix_i)\n",
|
||||
" \n",
|
||||
" old_hitrate = optimized_hitrates[max_outbound_index]\n",
|
||||
" optimized_hitrates[max_outbound_index] = (1 if optimized_hitrates[max_outbound_index] > 1 else 0)\n",
|
||||
" \n",
|
||||
" current_db_object_count -= 1\n",
|
||||
" current_cache_size -= optimized_hitrates[max_outbound_index]\n",
|
||||
" return optimized_hitrates"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 8,
|
||||
"id": "b6bf3329-3a63-4807-ab8b-8a54f824f47e",
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"def objective_function(optimized_hitrates, c_f, c_delta, lambda_vals):\n",
|
||||
" return np.sum(lambda_vals*(1-optimized_hitrates)*c_f+0.5*np.power(optimized_hitrates,2)*c_delta)"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 9,
|
||||
"id": "7a998837-72b8-4039-95a5-ca8d9c8e65ab",
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"# Perform grid search\n",
|
||||
"def grid_search(db_object_counts, cache_sizes, c_f_values, c_delta_values):\n",
|
||||
" best_objective = float('inf')\n",
|
||||
" best_params = None\n",
|
||||
"\n",
|
||||
" # Iterate through all combinations of parameters\n",
|
||||
" for db_object_count, cache_size, c_f, c_delta in tqdm(itertools.product(db_object_counts, cache_sizes, c_f_values, c_delta_values), total=len(db_object_counts) * len(cache_sizes) * len(c_f_values) * len(c_delta_values), desc=\"Grid Search Progress\"):\n",
|
||||
" if db_object_count < cache_size:\n",
|
||||
" continue\n",
|
||||
" lambda_vals = np.array([np.random.zipf(ZIPF_CONSTANT) for i in np.arange(1, db_object_count + 1,1)])\n",
|
||||
" # print(db_object_count, cache_size, c_f, c_delta)\n",
|
||||
" # Call the optimization function\n",
|
||||
" optimized_hitrates = optimize_hitrates(db_object_count, cache_size, c_f, c_delta, lambda_vals)\n",
|
||||
"\n",
|
||||
" # Compute the objective function\n",
|
||||
" objective = objective_function(optimized_hitrates, c_f, c_delta, lambda_vals)\n",
|
||||
" \n",
|
||||
" # Track the best (minimum) objective and corresponding parameters\n",
|
||||
" if objective < best_objective:\n",
|
||||
" best_objective = objective\n",
|
||||
" best_params = (db_object_count, cache_size, c_f, c_delta)\n",
|
||||
"\n",
|
||||
" return best_objective, best_params"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 10,
|
||||
"id": "a271b52d-1f24-4670-ae3f-af5dd9096a2f",
|
||||
"metadata": {
|
||||
"scrolled": true
|
||||
},
|
||||
"outputs": [
|
||||
{
|
||||
"name": "stderr",
|
||||
"output_type": "stream",
|
||||
"text": [
|
||||
"Grid Search Progress: 100%|█████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 64152/64152 [12:27<00:00, 85.87it/s]"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "stdout",
|
||||
"output_type": "stream",
|
||||
"text": [
|
||||
"CPU times: user 12min 16s, sys: 11.5 s, total: 12min 28s\n",
|
||||
"Wall time: 12min 27s\n"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "stderr",
|
||||
"output_type": "stream",
|
||||
"text": [
|
||||
"\n"
|
||||
]
|
||||
}
|
||||
],
|
||||
"source": [
|
||||
"%%time\n",
|
||||
"\n",
|
||||
"# Define the grid search space\n",
|
||||
"test_ratios = np.array([0.1, 0.2, 0.5, 0.7, 1, 1.5, 2, 5, 10])\n",
|
||||
"db_object_count_values = np.round(np.array([10, 15, 30, 100, 200, 500]))\n",
|
||||
"cache_size_values = np.unique(np.round(np.array([db_object_count_values * i for i in test_ratios]).flatten()))\n",
|
||||
"c_f_values = np.array([0.1, 0.2, 0.5, 0.7, 1, 1.5, 2, 5, 10])\n",
|
||||
"c_delta_values = np.unique(np.array([c_f_values * i for i in test_ratios]).flatten())\n",
|
||||
"\n",
|
||||
"best_objective, best_params = grid_search(db_object_count_values, cache_size_values, c_f_values, c_delta_values)"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 11,
|
||||
"id": "b2f625d0-ebe0-4a5d-92ff-7de03942ef51",
|
||||
"metadata": {},
|
||||
"outputs": [
|
||||
{
|
||||
"data": {
|
||||
"text/plain": [
|
||||
"(0.05000000000000002, (10, 10.0, 1.5, 0.010000000000000002))"
|
||||
]
|
||||
},
|
||||
"execution_count": 11,
|
||||
"metadata": {},
|
||||
"output_type": "execute_result"
|
||||
}
|
||||
],
|
||||
"source": [
|
||||
"best_objective, best_params "
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": null,
|
||||
"id": "86a23d02-6f14-4d4d-ad8a-39084ea69151",
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": []
|
||||
}
|
||||
],
|
||||
"metadata": {
|
||||
"kernelspec": {
|
||||
"display_name": "graphs",
|
||||
"language": "python",
|
||||
"name": "graphs"
|
||||
},
|
||||
"language_info": {
|
||||
"codemirror_mode": {
|
||||
"name": "ipython",
|
||||
"version": 3
|
||||
},
|
||||
"file_extension": ".py",
|
||||
"mimetype": "text/x-python",
|
||||
"name": "python",
|
||||
"nbconvert_exporter": "python",
|
||||
"pygments_lexer": "ipython3",
|
||||
"version": "3.12.7"
|
||||
}
|
||||
},
|
||||
"nbformat": 4,
|
||||
"nbformat_minor": 5
|
||||
}
|
||||
360
01_nb_cncf_optimization/02-objective_multi-core_gridsearch.ipynb
Normal file
360
01_nb_cncf_optimization/02-objective_multi-core_gridsearch.ipynb
Normal file
@@ -0,0 +1,360 @@
|
||||
{
|
||||
"cells": [
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 1,
|
||||
"id": "ab5cd7d1-1a57-46fc-8282-dae0a6cc2944",
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"import matplotlib.pyplot as plt\n",
|
||||
"import numpy as np\n",
|
||||
"import random\n",
|
||||
"import pandas as pd\n",
|
||||
"import itertools\n",
|
||||
"from joblib import Parallel, delayed\n",
|
||||
"import os.path"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 2,
|
||||
"id": "3d1ad0b9-f6a8-4e98-84aa-6e02e4279954",
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"SEED = 42\n",
|
||||
"np.random.seed(SEED)\n",
|
||||
"random.seed(SEED)\n",
|
||||
"\n",
|
||||
"ZIPF_CONSTANT = 2"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 3,
|
||||
"id": "5a27d416-8f98-4814-af9e-6c6bef95f4ef",
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"def eta_star(db_object_count, c_f, cache_sz, c_delta, lambda_vals):\n",
|
||||
" num = (db_object_count * c_f - cache_sz * c_delta)\n",
|
||||
" denom = np.sum(1.0/lambda_vals)\n",
|
||||
" return max(0, num/denom)"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 4,
|
||||
"id": "6276a9ce-f839-4fe6-90f2-2195cf065fc8",
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"def h_i_star(c_f, eta, lambda_vals, c_delta):\n",
|
||||
" optimized_hitrate = (c_f - (eta/lambda_vals)) / c_delta\n",
|
||||
" return optimized_hitrate"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 5,
|
||||
"id": "dcd31a8c-6864-4b9a-8bb3-998f0c32baf6",
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"def get_index_of_furthest_hitrate_from_boundary(hitrates):\n",
|
||||
" lower_bound_violation = hitrates[(hitrates < 0)]\n",
|
||||
" upper_bound_violation = hitrates[(hitrates > 1)]\n",
|
||||
" smallest_delta = np.abs(np.min(lower_bound_violation))\n",
|
||||
" biggest_delta = np.max(upper_bound_violation) - 1\n",
|
||||
" if smallest_delta > biggest_delta:\n",
|
||||
" index = np.where(hitrates == np.min(local_hitrates))[0][0]\n",
|
||||
" return index\n",
|
||||
" else:\n",
|
||||
" \n",
|
||||
" index = np.where(hitrates == np.max(local_hitrates))[0][0]\n",
|
||||
" return index"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 6,
|
||||
"id": "9d774304-ae68-43b3-a76a-e970c06c5236",
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"def get_index_of_furthest_hitrate_from_boundary(hitrates):\n",
|
||||
" outside_bounds = (hitrates < 0) | (hitrates > 1)\n",
|
||||
" distances = np.where(outside_bounds, np.maximum(np.abs(hitrates - 0), np.abs(hitrates - 1)), -np.inf)\n",
|
||||
" index = np.argmax(distances)\n",
|
||||
" return index"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 7,
|
||||
"id": "0e21c26f-058a-4e56-a5ad-1c47bf28656c",
|
||||
"metadata": {
|
||||
"scrolled": true
|
||||
},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"def optimize_hitrates(db_object_count, cache_size, c_f, c_delta, lambda_vals):\n",
|
||||
" optimized_hitrates = np.zeros(db_object_count)\n",
|
||||
" current_db_object_count = db_object_count\n",
|
||||
" current_cache_size = cache_size\n",
|
||||
" \n",
|
||||
" differenc_set = np.arange(db_object_count)\n",
|
||||
" fix_i = []\n",
|
||||
" while True:\n",
|
||||
" if current_db_object_count == 0:\n",
|
||||
" if current_cache_size > 0:\n",
|
||||
" # print(\"Re-optimize objects with optimal hitrate of 0.\")\n",
|
||||
" differenc_set = np.where(optimized_hitrates == 0)[0]\n",
|
||||
" fix_i = np.setdiff1d(np.arange(db_object_count), differenc_set).tolist()\n",
|
||||
" current_db_object_count = len(differenc_set)\n",
|
||||
" continue\n",
|
||||
" else:\n",
|
||||
" # print(\"Stop optimization.\")\n",
|
||||
" optimized_hitrates[differenc_set] = 0\n",
|
||||
" break\n",
|
||||
" \n",
|
||||
" eta = eta_star(current_db_object_count, c_f, current_cache_size, c_delta, lambda_vals[differenc_set])\n",
|
||||
" optimized_hitrates[differenc_set] = h_i_star(c_f, eta, lambda_vals[differenc_set], c_delta)\n",
|
||||
"\n",
|
||||
" if eta < 0:\n",
|
||||
" # print(\"eta was negative.\")\n",
|
||||
" current_cache_size = current_db_object_count * c_f / c_delta # Adjust cache size for next iteration\n",
|
||||
" continue\n",
|
||||
" \n",
|
||||
" if len((optimized_hitrates[differenc_set])[((optimized_hitrates[differenc_set]) < 0) | ((optimized_hitrates[differenc_set])> 1)]) == 0:\n",
|
||||
" # print(\"All values optimized.\")\n",
|
||||
" break\n",
|
||||
" \n",
|
||||
" max_outbound_index = get_index_of_furthest_hitrate_from_boundary(optimized_hitrates)\n",
|
||||
" fix_i.append(max_outbound_index)\n",
|
||||
" differenc_set = np.setdiff1d(np.arange(db_object_count), fix_i)\n",
|
||||
" \n",
|
||||
" old_hitrate = optimized_hitrates[max_outbound_index]\n",
|
||||
" optimized_hitrates[max_outbound_index] = (1 if optimized_hitrates[max_outbound_index] > 1 else 0)\n",
|
||||
" \n",
|
||||
" current_db_object_count -= 1\n",
|
||||
" current_cache_size -= optimized_hitrates[max_outbound_index]\n",
|
||||
" return optimized_hitrates"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 8,
|
||||
"id": "b6bf3329-3a63-4807-ab8b-8a54f824f47e",
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"def objective_function(optimized_hitrates, c_f, c_delta, lambda_vals):\n",
|
||||
" return np.sum(lambda_vals*(1-optimized_hitrates)*c_f+0.5*np.power(optimized_hitrates,2)*c_delta)"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 9,
|
||||
"id": "a289bb1a-0385-4835-bc92-88304c1834df",
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"def optimize_ttl(optimized_hitrates, lambda_vals):\n",
|
||||
" result = []\n",
|
||||
" for i in range(len(lambda_vals)):\n",
|
||||
" if optimized_hitrates[i] < 1:\n",
|
||||
" result.append(-1 / lambda_vals[i] * np.log(1 - optimized_hitrates[i]))\n",
|
||||
" else:\n",
|
||||
" result.append(np.inf)\n",
|
||||
" # ti_values = np.where(\n",
|
||||
" # optimized_hitrates < 1,\n",
|
||||
" # -1 / lambda_vals * np.log(1 - optimized_hitrates),\n",
|
||||
" # np.inf\n",
|
||||
" # )\n",
|
||||
" \n",
|
||||
" return np.array(result)"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 13,
|
||||
"id": "bd4536e9-273b-4f49-b06c-2f00605e0f7d",
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"# Define the task to be parallelized\n",
|
||||
"def grid_search_task(db_object_count, cache_size, c_f, c_delta):\n",
|
||||
" if db_object_count < cache_size:\n",
|
||||
" return None # Skip this combination if db_object_count < cache_size\n",
|
||||
" \n",
|
||||
" # Generate lambda_vals\n",
|
||||
" lambda_vals = np.array([np.random.zipf(ZIPF_CONSTANT) for _ in np.arange(1, db_object_count + 1, 1)])\n",
|
||||
" \n",
|
||||
" # Call the optimization function\n",
|
||||
" optimized_hitrates = optimize_hitrates(db_object_count, cache_size, c_f, c_delta, lambda_vals)\n",
|
||||
"\n",
|
||||
" optimized_ttl = optimize_ttl(optimized_hitrates, lambda_vals)\n",
|
||||
" \n",
|
||||
" # Compute the objective function\n",
|
||||
" objective = objective_function(optimized_hitrates, c_f, c_delta, lambda_vals)\n",
|
||||
"\n",
|
||||
" return (objective, optimized_ttl, db_object_count, cache_size, c_f, c_delta, optimized_hitrates)\n",
|
||||
"\n",
|
||||
"# Perform grid search with parallelization and tqdm progress bar\n",
|
||||
"def grid_search(db_object_counts, cache_sizes, c_f_values, c_delta_values):\n",
|
||||
" results = [] # List to collect the results (objective, parameters)\n",
|
||||
" total_combinations = len(db_object_counts) * len(cache_sizes) * len(c_f_values) * len(c_delta_values)\n",
|
||||
" \n",
|
||||
" # Use Parallel from joblib to parallelize the grid search\n",
|
||||
" task_results = Parallel(n_jobs=-1, verbose=1)(\n",
|
||||
" delayed(grid_search_task)(db_object_count, cache_size, c_f, c_delta)\n",
|
||||
" for db_object_count, cache_size, c_f, c_delta in itertools.product(db_object_counts, cache_sizes, c_f_values, c_delta_values)\n",
|
||||
" )\n",
|
||||
"\n",
|
||||
" # Collect valid results\n",
|
||||
" for result in task_results:\n",
|
||||
" if result is not None:\n",
|
||||
" results.append(result)\n",
|
||||
" \n",
|
||||
" # Convert the results into a pandas DataFrame\n",
|
||||
" df = pd.DataFrame(results, columns=[\"Objective\", \"Optimal TTL\", \"db_object_count\", \"cache_size\", \"c_f (Miss Cost)\", \"c_delta (Refresh Cost)\", \"optimized_hitrates\"])\n",
|
||||
" \n",
|
||||
" return df\n"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 14,
|
||||
"id": "a92c6772-6609-41a8-a3d1-4d640b69a864",
|
||||
"metadata": {},
|
||||
"outputs": [
|
||||
{
|
||||
"name": "stderr",
|
||||
"output_type": "stream",
|
||||
"text": [
|
||||
"[Parallel(n_jobs=-1)]: Using backend LokyBackend with 12 concurrent workers.\n",
|
||||
"[Parallel(n_jobs=-1)]: Done 26 tasks | elapsed: 0.4s\n",
|
||||
"[Parallel(n_jobs=-1)]: Done 1420 tasks | elapsed: 0.7s\n",
|
||||
"[Parallel(n_jobs=-1)]: Done 64152 out of 64152 | elapsed: 1.4min finished\n"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "stdout",
|
||||
"output_type": "stream",
|
||||
"text": [
|
||||
"CPU times: user 42 s, sys: 731 ms, total: 42.7 s\n",
|
||||
"Wall time: 2min 5s\n"
|
||||
]
|
||||
}
|
||||
],
|
||||
"source": [
|
||||
"%%time\n",
|
||||
"# Define the grid search space\n",
|
||||
"test_ratios = np.array([0.1, 0.2, 0.5, 0.7, 1, 1.5, 2, 5, 10])\n",
|
||||
"db_object_count_values = np.round(np.array([10, 15, 30, 100, 200, 500]))\n",
|
||||
"cache_size_values = np.unique(np.round(np.array([db_object_count_values * i for i in test_ratios]).flatten()))\n",
|
||||
"c_f_values = np.array([0.1, 0.2, 0.5, 0.7, 1, 1.5, 2, 5, 10])\n",
|
||||
"c_delta_values = np.unique(np.array([c_f_values * i for i in test_ratios]).flatten())\n",
|
||||
"\n",
|
||||
"objective_result_file = \"./objective_grid-search_multi-core.csv\"\n",
|
||||
"\n",
|
||||
"results_df = None\n",
|
||||
"if not os.path.isfile(objective_result_file):\n",
|
||||
" # Call the grid search function\n",
|
||||
" results_df = grid_search(db_object_count_values, cache_size_values, c_f_values, c_delta_values)\n",
|
||||
" results_df.to_csv(objective_result_file,index=False)\n",
|
||||
"else:\n",
|
||||
" results_df = pd.read_csv(objective_result_file)"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 15,
|
||||
"id": "e79e6ed1-d6a5-4b04-a2b2-b3f0984e0fbe",
|
||||
"metadata": {},
|
||||
"outputs": [
|
||||
{
|
||||
"name": "stdout",
|
||||
"output_type": "stream",
|
||||
"text": [
|
||||
"Best Result:\n",
|
||||
"Objective 0.05\n",
|
||||
"Optimal TTL [inf, inf, inf, inf, inf, inf, inf, inf, inf, ...\n",
|
||||
"db_object_count 10\n",
|
||||
"cache_size 10.0\n",
|
||||
"c_f (Miss Cost) 0.7\n",
|
||||
"c_delta (Refresh Cost) 0.01\n",
|
||||
"optimized_hitrates [1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, ...\n",
|
||||
"Name: 2376, dtype: object\n"
|
||||
]
|
||||
}
|
||||
],
|
||||
"source": [
|
||||
"# After performing the grid search and obtaining the DataFrame 'results_df'\n",
|
||||
"best_row = results_df.loc[results_df['Objective'].idxmin()]\n",
|
||||
"\n",
|
||||
"# Display the best row\n",
|
||||
"print(\"Best Result:\")\n",
|
||||
"print(best_row)"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 16,
|
||||
"id": "95af94b4-05c0-488c-9561-50fc4e7cc3d4",
|
||||
"metadata": {},
|
||||
"outputs": [
|
||||
{
|
||||
"data": {
|
||||
"text/plain": [
|
||||
"(0.049999999999999996,\n",
|
||||
" array([inf, inf, inf, inf, inf, inf, inf, inf, inf, inf]),\n",
|
||||
" 10,\n",
|
||||
" 10,\n",
|
||||
" 1.5,\n",
|
||||
" 0.01,\n",
|
||||
" array([1., 1., 1., 1., 1., 1., 1., 1., 1., 1.]))"
|
||||
]
|
||||
},
|
||||
"execution_count": 16,
|
||||
"metadata": {},
|
||||
"output_type": "execute_result"
|
||||
}
|
||||
],
|
||||
"source": [
|
||||
"grid_search_task(10, 10, 1.5, 0.01)"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": null,
|
||||
"id": "20c943b4-b32b-4294-949b-0f3abe2fb97a",
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": []
|
||||
}
|
||||
],
|
||||
"metadata": {
|
||||
"kernelspec": {
|
||||
"display_name": "graphs",
|
||||
"language": "python",
|
||||
"name": "graphs"
|
||||
},
|
||||
"language_info": {
|
||||
"codemirror_mode": {
|
||||
"name": "ipython",
|
||||
"version": 3
|
||||
},
|
||||
"file_extension": ".py",
|
||||
"mimetype": "text/x-python",
|
||||
"name": "python",
|
||||
"nbconvert_exporter": "python",
|
||||
"pygments_lexer": "ipython3",
|
||||
"version": "3.12.7"
|
||||
}
|
||||
},
|
||||
"nbformat": 4,
|
||||
"nbformat_minor": 5
|
||||
}
|
||||
319
01_nb_cncf_optimization/03-plot_objective_optimization.ipynb
Normal file
319
01_nb_cncf_optimization/03-plot_objective_optimization.ipynb
Normal file
File diff suppressed because one or more lines are too long
BIN
01_nb_cncf_optimization/NB_Tuan.pdf
Normal file
BIN
01_nb_cncf_optimization/NB_Tuan.pdf
Normal file
Binary file not shown.
@@ -0,0 +1,258 @@
|
||||
{
|
||||
"cells": [
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 1,
|
||||
"id": "d0996120-bb17-4476-b912-ce155100b2cb",
|
||||
"metadata": {},
|
||||
"outputs": [
|
||||
{
|
||||
"name": "stdout",
|
||||
"output_type": "stream",
|
||||
"text": [
|
||||
"Hit probabilities (numerical and theoretical):\n",
|
||||
" [[0.4 0. ]\n",
|
||||
" [0.4 0.08]\n",
|
||||
" [0.4 0.16]\n",
|
||||
" [0.4 0.24]\n",
|
||||
" [0.4 0.32]\n",
|
||||
" [0.4 0.4 ]\n",
|
||||
" [0.4 0.48]\n",
|
||||
" [0.4 0.56]\n",
|
||||
" [0.4 0.64]\n",
|
||||
" [0.4 0.72]\n",
|
||||
" [0.4 0.8 ]]\n",
|
||||
"Objective function values (numerical, theoretical): [33.17, 22.944080000000007]\n",
|
||||
"Constraint violations (numerical, theoretical): [0.0, 0.0]\n"
|
||||
]
|
||||
}
|
||||
],
|
||||
"source": [
|
||||
"import numpy as np\n",
|
||||
"from scipy.optimize import minimize\n",
|
||||
"import numpy as np\n",
|
||||
"\n",
|
||||
"# Define Parameters\n",
|
||||
"lambda_vals = np.array([0.03, 0.04, 0.05, 0.06, 0.07, 1, 1.1, 1.2, 1.3, 1.4, 1.5]) # Request rates ascendingly\n",
|
||||
"N = len(lambda_vals)\n",
|
||||
"B = 4.4 # Cache size\n",
|
||||
"c_delta = 1 # Age linear cost\n",
|
||||
"c_f = 7 # Fetching linear cost (cache miss cost)\n",
|
||||
"\n"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": null,
|
||||
"id": "fcf0c13c-5b2c-457e-9aa6-8d349fcf13fa",
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"import numpy as np\n",
|
||||
"\n",
|
||||
"def theoretical_opt(lambda_vals, B, c_f, c_delta):\n",
|
||||
" \"\"\"\n",
|
||||
" Perform theoretical optimization to compute optimal hit probabilities.\n",
|
||||
" \n",
|
||||
" Parameters:\n",
|
||||
" - lambda_vals: Array of request rates.\n",
|
||||
" - B: Cache size (constraint on total hit probabilities).\n",
|
||||
" - c_f: Cost of fetching (cache miss cost).\n",
|
||||
" - c_delta: Cost of caching (hit cost).\n",
|
||||
"\n",
|
||||
" Returns:\n",
|
||||
" - h_optt: Optimal hit probabilities.\n",
|
||||
" \"\"\"\n",
|
||||
" N = len(lambda_vals)\n",
|
||||
" h_optt = np.zeros(N) # Initialize optimal hit probabilities\n",
|
||||
" differenc_set = np.arange(N) # Set of variables to optimize\n",
|
||||
" fix_i = [] # Set of fixed variables (those already optimized)\n",
|
||||
" n = N\n",
|
||||
" b = B\n",
|
||||
" flag = True\n",
|
||||
"\n",
|
||||
" while flag:\n",
|
||||
" if n == 0: # If no variables left to optimize\n",
|
||||
" if b > 0: # If there is leftover cache size, redistribute it\n",
|
||||
" differenc_set = np.where(h_optt == 0)[0] # Find zero hit probability variables\n",
|
||||
" fix_i = np.setdiff1d(np.arange(N), differenc_set)\n",
|
||||
" n = len(differenc_set)\n",
|
||||
" continue\n",
|
||||
" else: # No variables to optimize, finalize\n",
|
||||
" h_optt[differenc_set] = 0\n",
|
||||
" break\n",
|
||||
" \n",
|
||||
" # Calculate the optimal Lagrange multiplier (mu) and hit probabilities for the set of variables\n",
|
||||
" mu = max(0, (n * c_f - b * c_delta) / np.sum(1 / lambda_vals[differenc_set]))\n",
|
||||
" h_optt[differenc_set] = (c_f - mu / lambda_vals[differenc_set]) / c_delta\n",
|
||||
" \n",
|
||||
" # If mu < 0, adjust the cache size to set mu to zero in the next iteration\n",
|
||||
" if mu < 0:\n",
|
||||
" b = (n * c_f / c_delta)\n",
|
||||
" continue\n",
|
||||
" \n",
|
||||
" # Identify violations of the hit probability constraints (h > 1 or h < 0)\n",
|
||||
" larger_i = np.where(h_optt > 1)[0]\n",
|
||||
" smaller_i = np.where(h_optt < 0)[0]\n",
|
||||
"\n",
|
||||
" # If no violations, the optimal solution is reached\n",
|
||||
" if len(smaller_i) == 0 and len(larger_i) == 0:\n",
|
||||
" break\n",
|
||||
" \n",
|
||||
" # Find the furthest object from the boundary (either 0 or 1)\n",
|
||||
" min_viol = 0\n",
|
||||
" min_viol_i = -1\n",
|
||||
" if len(smaller_i) > 0:\n",
|
||||
" min_viol, min_viol_i = np.min(h_optt[smaller_i]), np.argmin(h_optt[smaller_i])\n",
|
||||
"\n",
|
||||
" max_viol = 0\n",
|
||||
" max_viol_i = -1\n",
|
||||
" if len(larger_i) > 0:\n",
|
||||
" max_viol, max_viol_i = np.max(h_optt[larger_i] - 1), np.argmax(h_optt[larger_i] - 1)\n",
|
||||
" \n",
|
||||
" # Choose the variable with the largest violation to adjust\n",
|
||||
" if max_viol > abs(min_viol):\n",
|
||||
" viol_i = max_viol_i\n",
|
||||
" min_viol_flag = 0\n",
|
||||
" else:\n",
|
||||
" viol_i = min_viol_i\n",
|
||||
" min_viol_flag = 1\n",
|
||||
" \n",
|
||||
" # Set the furthest object to the nearest boundary (0 or 1)\n",
|
||||
" if min_viol_flag:\n",
|
||||
" h_optt[viol_i] = 0\n",
|
||||
" else:\n",
|
||||
" h_optt[viol_i] = min(1, b)\n",
|
||||
" \n",
|
||||
" # Update cache size and fix the selected variable\n",
|
||||
" b -= h_optt[viol_i]\n",
|
||||
" fix_i.append(viol_i)\n",
|
||||
" differenc_set = np.setdiff1d(np.arange(N), fix_i)\n",
|
||||
" n = N - len(fix_i)\n",
|
||||
" \n",
|
||||
" return h_optt\n",
|
||||
"\n",
|
||||
"\n",
|
||||
"# Example usage\n",
|
||||
"lambda_vals = np.array(\n"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": null,
|
||||
"id": "5d223324-d193-416a-b2c3-1e143e981a37",
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"\n",
|
||||
"def numerical_opt(lambda_vals, B, c_f, c_delta):\n",
|
||||
" \"\"\"\n",
|
||||
" Perform numerical optimization to compute optimal hit probabilities.\n",
|
||||
"\n",
|
||||
" Parameters:\n",
|
||||
" - lambda_vals: Array of request rates.\n",
|
||||
" - B: Cache size (constraint on total hit probabilities).\n",
|
||||
" - c_f: Cost of fetching (cache miss cost).\n",
|
||||
" - c_delta: Cost of caching (hit cost).\n",
|
||||
"\n",
|
||||
" Returns:\n",
|
||||
" - x_opt: Optimal hit probabilities.\n",
|
||||
" \"\"\"\n",
|
||||
" N = len(lambda_vals) # Number of items\n",
|
||||
"\n",
|
||||
" # Initial guess: Even distribution of cache capacity\n",
|
||||
" x_init = np.full(N, B / N)\n",
|
||||
"\n",
|
||||
" # Objective function\n",
|
||||
" def objective(x):\n",
|
||||
" return np.sum(lambda_vals * ((1 - x) * c_f + x**2 * c_delta / 2))\n",
|
||||
"\n",
|
||||
" # Constraint: Sum of hit probabilities <= cache size (B)\n",
|
||||
" def constraint_total_hit(x):\n",
|
||||
" return B - np.sum(x) # Non-negative means constraint satisfied\n",
|
||||
"\n",
|
||||
" # Bounds for hit probabilities: 0 <= h_i <= 1\n",
|
||||
" bounds = [(0, 1) for _ in range(N)]\n",
|
||||
"\n",
|
||||
" # Optimization\n",
|
||||
" constraints = [{'type': 'ineq', 'fun': constraint_total_hit}] # Inequality constraint\n",
|
||||
" result = minimize(\n",
|
||||
" objective, \n",
|
||||
" x_init, \n",
|
||||
" method='SLSQP', # Sequential Least Squares Quadratic Programming\n",
|
||||
" bounds=bounds, \n",
|
||||
" constraints=constraints, \n",
|
||||
" options={'disp': True} # Set to True for optimization output\n",
|
||||
" )\n",
|
||||
"\n",
|
||||
" # Optimal solution\n",
|
||||
" if result.success:\n",
|
||||
" return result.x # Optimal hit probabilities\n",
|
||||
" else:\n",
|
||||
" raise ValueError(\"Optimization failed: \" + result.message)\n"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": null,
|
||||
"id": "073be740-dc97-454b-87e7-2f8f93c8f137",
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"\n",
|
||||
"# Example usage\n",
|
||||
"lambda_vals = np.array([0.03, 0.04, 0.05, 0.06, 0.07, 1, 1.1, 1.2, 1.3, 1.4, 1.5])\n",
|
||||
"B = 4.4\n",
|
||||
"c_f = 7\n",
|
||||
"c_delta = 1\n",
|
||||
"\n",
|
||||
"optimal_hit_probs = numerical_opt(lambda_vals, B, c_f, c_delta)\n",
|
||||
"print(\"Optimal Hit Probabilities:\", optimal_hit_probs)\n",
|
||||
"\n",
|
||||
"\n",
|
||||
"# Optimization\n",
|
||||
"h_numerical = numerical_opt(lambda_vals, B, c_f, c_delta)\n",
|
||||
"h_theoretical = theoretical_opt(lambda_vals, B, c_f, c_delta)\n",
|
||||
"\n",
|
||||
"# Comparison\n",
|
||||
"hit_opt = np.vstack((h_numerical, h_theoretical)).T # Combine for comparison\n",
|
||||
"\n",
|
||||
"# Objective Function Calculation\n",
|
||||
"obj_1 = np.sum(lambda_vals * ((1 - h_numerical) * c_f + h_numerical**2 * c_delta / 2))\n",
|
||||
"obj_2 = np.sum(lambda_vals * ((1 - h_theoretical) * c_f + h_theoretical**2 * c_delta / 2))\n",
|
||||
"obj = [obj_1, obj_2]\n",
|
||||
"\n",
|
||||
"# Constraints\n",
|
||||
"const_1 = np.sum(h_numerical) - B\n",
|
||||
"const_2 = np.sum(h_theoretical) - B\n",
|
||||
"constraint = [const_1, const_2]\n",
|
||||
"\n",
|
||||
"# Outputs\n",
|
||||
"print(\"Hit probabilities (numerical and theoretical):\\n\", hit_opt)\n",
|
||||
"print(\"Objective function values (numerical, theoretical):\", obj)\n",
|
||||
"print(\"Constraint violations (numerical, theoretical):\", constraint)\n"
|
||||
]
|
||||
}
|
||||
],
|
||||
"metadata": {
|
||||
"kernelspec": {
|
||||
"display_name": "graphs",
|
||||
"language": "python",
|
||||
"name": "graphs"
|
||||
},
|
||||
"language_info": {
|
||||
"codemirror_mode": {
|
||||
"name": "ipython",
|
||||
"version": 3
|
||||
},
|
||||
"file_extension": ".py",
|
||||
"mimetype": "text/x-python",
|
||||
"name": "python",
|
||||
"nbconvert_exporter": "python",
|
||||
"pygments_lexer": "ipython3",
|
||||
"version": "3.12.7"
|
||||
}
|
||||
},
|
||||
"nbformat": 4,
|
||||
"nbformat_minor": 5
|
||||
}
|
||||
@@ -0,0 +1,27 @@
|
||||
clc
|
||||
close all
|
||||
clear all
|
||||
|
||||
|
||||
%% Define parameters
|
||||
lambda = [0.03, 0.04,0.05,0.06,0.07,1,1.1,1.2,1.3,1.4,1.5]'; % Request rates ascendingly
|
||||
N=length(lambda);
|
||||
B = 4.4; % Cache size
|
||||
c_delta=1; % age linear cost
|
||||
c_f=7; % fetching linear cost (caching miss cost)
|
||||
|
||||
|
||||
%% Optimization
|
||||
[h_numerical ]=Numerical_opt(lambda,B,c_f,c_delta)
|
||||
[h_theo] = Theoritical_opt(lambda,B,c_f,c_delta)
|
||||
|
||||
|
||||
%% Comparison
|
||||
hit_opt=[h_numerical h_theo]
|
||||
obj_1=sum(lambda .* ((1-h_numerical)*c_f+h_numerical.^2*c_delta/2));
|
||||
obj_2=sum(lambda .* ((1-h_theo)*c_f+h_theo.^2*c_delta/2));
|
||||
obj=[obj_1 obj_2]
|
||||
const_1=sum(h_numerical)-B;
|
||||
const_2=sum(h_theo)-B;
|
||||
constraint=[const_1 const_2]
|
||||
|
||||
@@ -0,0 +1,17 @@
|
||||
function [x_opt] = Numerical_opt(lambda,B,c_f,c_delta)
|
||||
% Numerical optimization
|
||||
% x_opt are the optimal hit probabilities
|
||||
|
||||
N = length(lambda); % Number of variables
|
||||
h_init = ones(N, 1) * B / N; % Initial guess for h_i, evenly distributed
|
||||
x_init=h_init;
|
||||
objective1 = @(x) sum(lambda .*( (1-x)*c_f+x.^2*c_delta/2)); % Objective function
|
||||
constraint1 = @(x) sum(x) - B; % cache size constraint
|
||||
% constraint on hit prob. 0<=h_i<=1
|
||||
nonlcon1 = @(x) deal(constraint1(x), []); %
|
||||
lb = zeros(N, 1); % Lower bounds
|
||||
ub = ones(N, 1); % Upper bounds
|
||||
options = optimoptions('fmincon', 'Display', 'iter', 'Algorithm', 'sqp');
|
||||
[x_opt, fval_h] = fmincon(objective1, x_init, [], [], [], [], lb, ub, nonlcon1, options);
|
||||
end
|
||||
|
||||
@@ -0,0 +1,171 @@
|
||||
function [h_optt] = Theoritical_opt(lambda,B,c_f,c_delta)
|
||||
%% Theoritical optimization
|
||||
|
||||
|
||||
%% Iterative identification of active constraints
|
||||
N=length(lambda)
|
||||
flag=1;
|
||||
h_optt=zeros(N,1); %optimal hit prob
|
||||
differenc_set=1:N; % the set of variables to optimize
|
||||
fix_i=[]; % set of variables that reached optimality and are excluded from the optimization
|
||||
n=N;
|
||||
b=B;
|
||||
|
||||
%%
|
||||
while flag
|
||||
if(n==0)
|
||||
if(b>0) % if there is left over cache size and mu is not zero (the loop would break), redistribute it among the zero hit probability
|
||||
differenc_set=find(h_optt==0)';
|
||||
fix_i=setdiff(1:N,differenc_set)';
|
||||
n=length(differenc_set);
|
||||
continue;
|
||||
else
|
||||
h_optt(differenc_set)=0;
|
||||
break;
|
||||
end
|
||||
end
|
||||
% Optimal Lagrangian mult. and hit prob. calculated theoritically for the set of variables in differenc_set
|
||||
mu=max(0,(n*c_f-b*c_delta)/ sum(1./lambda(differenc_set))); %optimal lagrangian mult.
|
||||
h_optt(differenc_set)=(c_f-mu./lambda(differenc_set))/c_delta %optimal hit prob
|
||||
|
||||
% mu has to be >=0
|
||||
if(mu<0)
|
||||
b=(n*c_f/c_delta); % this sets mu to zero in the next iteration
|
||||
continue;
|
||||
end
|
||||
|
||||
% check the violation of the hit_prob const
|
||||
larger_i=find(h_optt>1); % h>1
|
||||
smaller_i=find(h_optt<0); % h<0
|
||||
|
||||
% smaller=h(find(differenc_set<0))-0;
|
||||
% no violation means optimal solution is reached for all objects
|
||||
if(length(smaller_i)==0 && length(larger_i)==0)
|
||||
% flag=0;
|
||||
|
||||
break;
|
||||
end
|
||||
|
||||
% find the furthest object from the 0 boundary
|
||||
min_viol=0;
|
||||
min_viol_i=-1;
|
||||
if(length(smaller_i)>0)
|
||||
[min_viol, min_viol_i]=min(h_optt);
|
||||
end
|
||||
% find the furthest object from the 1 boundary
|
||||
max_viol=0;
|
||||
max_viol_i=-1;
|
||||
if(length(larger_i)>0)
|
||||
larger=h_optt-1;
|
||||
[max_viol ,max_viol_i]=max(h_optt-1);
|
||||
|
||||
end
|
||||
|
||||
% compare both furthest objects from both boundaries
|
||||
viol_i=min_viol_i;
|
||||
min_viol_flag=1; % True if the furthest one is from the left
|
||||
if(max_viol>abs(min_viol))
|
||||
viol_i= max_viol_i;
|
||||
min_viol_flag=0;
|
||||
|
||||
end
|
||||
% set the furthest object to the nearest boundary
|
||||
if(min_viol_flag)
|
||||
h_optt(viol_i)=0;
|
||||
else
|
||||
h_optt(viol_i)=min(1,b);
|
||||
end
|
||||
|
||||
%calculate the new parameters after removing the furthest object from
|
||||
%the decision variables
|
||||
B_new=b-(h_optt(viol_i));
|
||||
b=B_new;
|
||||
fix_i=[fix_i' viol_i']';
|
||||
differenc_set=setdiff(1:N,fix_i) ;
|
||||
n=N-length(fix_i);
|
||||
|
||||
|
||||
% % Identify the most violating object from the right side h>1
|
||||
% if(length(larger_i)>0)
|
||||
% larger=h_optt-1;
|
||||
% [max_viol ,max_viol_i]=max(h_optt-1); % maximum violating object
|
||||
% h_optt(max_viol_i)=min(1,b); %project to the feasible range
|
||||
% b=max(b-1,0); % update the cache size
|
||||
% fix_i=[fix_i' max_viol_i']'; %exclude i from the set of decision variables
|
||||
% differenc_set=setdiff(1:N,fix_i); % obtain the set of decision variables
|
||||
% n=N-length(fix_i); % update the number of decision variables
|
||||
% continue;
|
||||
% end
|
||||
%
|
||||
% if(length(smaller_i)>0)
|
||||
% [min_viol, min_viol_i]=min(h_optt);
|
||||
% h_optt(min_viol_i)=0;
|
||||
% fix_i=[fix_i' min_viol_i']';
|
||||
% differenc_set=setdiff(1:N,fix_i) ;
|
||||
% n=N-length(fix_i);
|
||||
% end
|
||||
%
|
||||
% end
|
||||
|
||||
end
|
||||
|
||||
%% Identfying the active constraints collectively
|
||||
% flag=1;
|
||||
% h_optt=zeros(N,1);
|
||||
% differenc_set=1:N;
|
||||
% fix_i=[];
|
||||
% n=N;
|
||||
% b=B;
|
||||
% while flag
|
||||
% mu=(n*c_f-b*c_delta)/ sum(1./lambda(differenc_set));
|
||||
% h_optt(differenc_set)=(c_f-mu./lambda(differenc_set))/c_delta
|
||||
%
|
||||
% larger_i=find(h_optt>1);
|
||||
% % larger=h_optt(larger_i)-1;
|
||||
% smaller_i=find(h_optt<0);
|
||||
% % smaller=h(find(differenc_set<0))-0;
|
||||
% mult=solve_multipliers(lambda,B,c_f,c_delta,larger_i)
|
||||
%
|
||||
% if(length(larger_i)+length(smaller_i)==0)
|
||||
% flag=0;
|
||||
% break;
|
||||
% end
|
||||
% if(length(smaller_i)>0)
|
||||
% h_optt(smaller_i)=0;
|
||||
% fix_i=[fix_i' smaller_i' ]';
|
||||
% differenc_set=setdiff(1:N,fix_i)
|
||||
% n=N-length(fix_i);
|
||||
% continue
|
||||
% end
|
||||
% % h_optt(smaller_i)=0;
|
||||
% if(length(larger_i)>b)
|
||||
% [~,index]=maxk(h_optt,b)
|
||||
% h_optt(index)=1;
|
||||
% B_new=b-sum(h_optt(index));
|
||||
% fix_i=[fix_i' smaller_i' index']';
|
||||
% else
|
||||
% h_optt(larger_i)=1;
|
||||
% B_new=b-sum(h_optt(larger_i));
|
||||
% fix_i=[fix_i' smaller_i' larger_i']';
|
||||
% end
|
||||
% % mult=solve_multipliers(lambda,B,c_f,c_delta,larger_i)
|
||||
%
|
||||
% b=B_new;
|
||||
%
|
||||
% differenc_set=setdiff(1:N,fix_i)
|
||||
% n=N-length(fix_i);
|
||||
% end
|
||||
% % h_optt=zeros(N,1);
|
||||
% % h_optt(end-B+1:end)=1;
|
||||
% optimal=[h_opt h_optt]
|
||||
% obj_1=sum(lambda .* ((1-h_opt)*c_f+h_opt.^2*c_delta/2));
|
||||
% obj_2=sum(lambda .* ((1-h_optt)*c_f+h_optt.^2*c_delta/2));
|
||||
% objective=[obj_1 obj_2]
|
||||
% const_1=sum(h_opt)-B;
|
||||
% const_2=sum(h_optt)-B;
|
||||
% constraint=[const_1 const_2]
|
||||
%
|
||||
|
||||
|
||||
end
|
||||
|
||||
@@ -0,0 +1,171 @@
|
||||
function [h_optt] = Theoritical_opt(lambda,B,c_f,c_delta)
|
||||
%% Theoritical optimization
|
||||
|
||||
|
||||
%% Iterative identification of active constraints
|
||||
N=length(lambda)
|
||||
flag=1;
|
||||
h_optt=zeros(N,1); %optimal hit prob
|
||||
differenc_set=1:N; % the set of variables to optimize
|
||||
fix_i=[]; % set of variables that reached optimality and are excluded from the optimization
|
||||
n=N;
|
||||
b=B;
|
||||
|
||||
%%
|
||||
while flag
|
||||
if(n==0)
|
||||
if(b>0) % if there is left over cache size and mu is not zero (the loop would break), redistribute it among the zero hit probability
|
||||
differenc_set=find(h_optt==0)';
|
||||
fix_i=setdiff(1:N,differenc_set)';
|
||||
n=length(differenc_set);
|
||||
continue;
|
||||
else
|
||||
h_optt(differenc_set)=0;
|
||||
break;
|
||||
end
|
||||
end
|
||||
% Optimal Lagrangian mult. and hit prob. calculated theoritically for the set of variables in differenc_set
|
||||
mu=max(0,(n*c_f-b*c_delta)/ sum(1./lambda(differenc_set))); %optimal lagrangian mult.
|
||||
h_optt(differenc_set)=(c_f-mu./lambda(differenc_set))/c_delta %optimal hit prob
|
||||
|
||||
% mu has to be >=0
|
||||
if(mu<0)
|
||||
b=(n*c_f/c_delta); % this sets mu to zero in the next iteration
|
||||
continue;
|
||||
end
|
||||
|
||||
% check the violation of the hit_prob const
|
||||
larger_i=find(h_optt>1); % h>1
|
||||
smaller_i=find(h_optt<0); % h<0
|
||||
|
||||
% smaller=h(find(differenc_set<0))-0;
|
||||
% no violation means optimal solution is reached for all objects
|
||||
if(length(smaller_i)==0 && length(larger_i)==0)
|
||||
% flag=0;
|
||||
|
||||
break;
|
||||
end
|
||||
|
||||
% find the furthest object from the 0 boundary
|
||||
min_viol=0;
|
||||
min_viol_i=-1;
|
||||
if(length(smaller_i)>0)
|
||||
[min_viol, min_viol_i]=min(h_optt);
|
||||
end
|
||||
% find the furthest object from the 1 boundary
|
||||
max_viol=0;
|
||||
max_viol_i=-1;
|
||||
if(length(larger_i)>0)
|
||||
larger=h_optt-1;
|
||||
[max_viol ,max_viol_i]=max(h_optt-1);
|
||||
|
||||
end
|
||||
|
||||
% compare both furthest objects from both boundaries
|
||||
viol_i=min_viol_i;
|
||||
min_viol_flag=1; % True if the furthest one is from the left
|
||||
if(max_viol>abs(min_viol))
|
||||
viol_i= max_viol_i;
|
||||
min_viol_flag=0;
|
||||
|
||||
end
|
||||
% set the furthest object to the nearest boundary
|
||||
if(min_viol_flag)
|
||||
h_optt(viol_i)=0;
|
||||
else
|
||||
h_optt(viol_i)=min(1,b);
|
||||
end
|
||||
|
||||
%calculate the new parameters after removing the furthest object from
|
||||
%the decision variables
|
||||
B_new=b-(h_optt(viol_i));
|
||||
b=B_new;
|
||||
fix_i=[fix_i' viol_i']';
|
||||
differenc_set=setdiff(1:N,fix_i) ;
|
||||
n=N-length(fix_i);
|
||||
|
||||
|
||||
% % Identify the most violating object from the right side h>1
|
||||
% if(length(larger_i)>0)
|
||||
% larger=h_optt-1;
|
||||
% [max_viol ,max_viol_i]=max(h_optt-1); % maximum violating object
|
||||
% h_optt(max_viol_i)=min(1,b); %project to the feasible range
|
||||
% b=max(b-1,0); % update the cache size
|
||||
% fix_i=[fix_i' max_viol_i']'; %exclude i from the set of decision variables
|
||||
% differenc_set=setdiff(1:N,fix_i); % obtain the set of decision variables
|
||||
% n=N-length(fix_i); % update the number of decision variables
|
||||
% continue;
|
||||
% end
|
||||
%
|
||||
% if(length(smaller_i)>0)
|
||||
% [min_viol, min_viol_i]=min(h_optt);
|
||||
% h_optt(min_viol_i)=0;
|
||||
% fix_i=[fix_i' min_viol_i']';
|
||||
% differenc_set=setdiff(1:N,fix_i) ;
|
||||
% n=N-length(fix_i);
|
||||
% end
|
||||
%
|
||||
% end
|
||||
|
||||
end
|
||||
|
||||
%% Identfying the active constraints collectively
|
||||
% flag=1;
|
||||
% h_optt=zeros(N,1);
|
||||
% differenc_set=1:N;
|
||||
% fix_i=[];
|
||||
% n=N;
|
||||
% b=B;
|
||||
% while flag
|
||||
% mu=(n*c_f-b*c_delta)/ sum(1./lambda(differenc_set));
|
||||
% h_optt(differenc_set)=(c_f-mu./lambda(differenc_set))/c_delta
|
||||
%
|
||||
% larger_i=find(h_optt>1);
|
||||
% % larger=h_optt(larger_i)-1;
|
||||
% smaller_i=find(h_optt<0);
|
||||
% % smaller=h(find(differenc_set<0))-0;
|
||||
% mult=solve_multipliers(lambda,B,c_f,c_delta,larger_i)
|
||||
%
|
||||
% if(length(larger_i)+length(smaller_i)==0)
|
||||
% flag=0;
|
||||
% break;
|
||||
% end
|
||||
% if(length(smaller_i)>0)
|
||||
% h_optt(smaller_i)=0;
|
||||
% fix_i=[fix_i' smaller_i' ]';
|
||||
% differenc_set=setdiff(1:N,fix_i)
|
||||
% n=N-length(fix_i);
|
||||
% continue
|
||||
% end
|
||||
% % h_optt(smaller_i)=0;
|
||||
% if(length(larger_i)>b)
|
||||
% [~,index]=maxk(h_optt,b)
|
||||
% h_optt(index)=1;
|
||||
% B_new=b-sum(h_optt(index));
|
||||
% fix_i=[fix_i' smaller_i' index']';
|
||||
% else
|
||||
% h_optt(larger_i)=1;
|
||||
% B_new=b-sum(h_optt(larger_i));
|
||||
% fix_i=[fix_i' smaller_i' larger_i']';
|
||||
% end
|
||||
% % mult=solve_multipliers(lambda,B,c_f,c_delta,larger_i)
|
||||
%
|
||||
% b=B_new;
|
||||
%
|
||||
% differenc_set=setdiff(1:N,fix_i)
|
||||
% n=N-length(fix_i);
|
||||
% end
|
||||
% % h_optt=zeros(N,1);
|
||||
% % h_optt(end-B+1:end)=1;
|
||||
% optimal=[h_opt h_optt]
|
||||
% obj_1=sum(lambda .* ((1-h_opt)*c_f+h_opt.^2*c_delta/2));
|
||||
% obj_2=sum(lambda .* ((1-h_optt)*c_f+h_optt.^2*c_delta/2));
|
||||
% objective=[obj_1 obj_2]
|
||||
% const_1=sum(h_opt)-B;
|
||||
% const_2=sum(h_optt)-B;
|
||||
% constraint=[const_1 const_2]
|
||||
%
|
||||
|
||||
|
||||
end
|
||||
|
||||
248
01_nb_cncf_optimization/matlab/Main.ipynb
Normal file
248
01_nb_cncf_optimization/matlab/Main.ipynb
Normal file
@@ -0,0 +1,248 @@
|
||||
{
|
||||
"cells": [
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 1,
|
||||
"id": "d0996120-bb17-4476-b912-ce155100b2cb",
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"import numpy as np\n",
|
||||
"from scipy.optimize import minimize\n",
|
||||
"import numpy as np\n",
|
||||
"\n",
|
||||
"# Define Parameters\n",
|
||||
"lambda_vals = np.array([0.03, 0.04, 0.05, 0.06, 0.07, 1, 1.1, 1.2, 1.3, 1.4, 1.5]) # Request rates ascendingly\n",
|
||||
"N = len(lambda_vals)\n",
|
||||
"B = 4.4 # Cache size\n",
|
||||
"c_delta = 1 # Age linear cost\n",
|
||||
"c_f = 7 # Fetching linear cost (caching miss cost)\n"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 2,
|
||||
"id": "fcf0c13c-5b2c-457e-9aa6-8d349fcf13fa",
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"import numpy as np\n",
|
||||
"\n",
|
||||
"def theoretical_opt(lambda_vals, B, c_f, c_delta):\n",
|
||||
" \"\"\"\n",
|
||||
" Perform theoretical optimization to compute optimal hit probabilities.\n",
|
||||
" \n",
|
||||
" Parameters:\n",
|
||||
" - lambda_vals: Array of request rates.\n",
|
||||
" - B: Cache size (constraint on total hit probabilities).\n",
|
||||
" - c_f: Cost of fetching (cache miss cost).\n",
|
||||
" - c_delta: Cost of caching (hit cost).\n",
|
||||
"\n",
|
||||
" Returns:\n",
|
||||
" - h_optt: Optimal hit probabilities.\n",
|
||||
" \"\"\"\n",
|
||||
" N = len(lambda_vals)\n",
|
||||
" h_optt = np.zeros(N) # Initialize optimal hit probabilities\n",
|
||||
" differenc_set = np.arange(N) # Set of variables to optimize\n",
|
||||
" fix_i = [] # Set of fixed variables (those already optimized)\n",
|
||||
" n = N\n",
|
||||
" b = B\n",
|
||||
" flag = True\n",
|
||||
"\n",
|
||||
" while flag:\n",
|
||||
" if n == 0: # If no variables left to optimize\n",
|
||||
" if b > 0: # If there is leftover cache size, redistribute it\n",
|
||||
" differenc_set = np.where(h_optt == 0)[0] # Find zero hit probability variables\n",
|
||||
" fix_i = np.setdiff1d(np.arange(N), differenc_set)\n",
|
||||
" n = len(differenc_set)\n",
|
||||
" continue\n",
|
||||
" else: # No variables to optimize, finalize\n",
|
||||
" h_optt[differenc_set] = 0\n",
|
||||
" break\n",
|
||||
" \n",
|
||||
" # Calculate the optimal Lagrange multiplier (mu) and hit probabilities for the set of variables\n",
|
||||
" mu = max(0, (n * c_f - b * c_delta) / np.sum(1 / lambda_vals[differenc_set]))\n",
|
||||
" h_optt[differenc_set] = (c_f - mu / lambda_vals[differenc_set]) / c_delta\n",
|
||||
" \n",
|
||||
" # If mu < 0, adjust the cache size to set mu to zero in the next iteration\n",
|
||||
" if mu < 0:\n",
|
||||
" b = (n * c_f / c_delta)\n",
|
||||
" continue\n",
|
||||
" \n",
|
||||
" # Identify violations of the hit probability constraints (h > 1 or h < 0)\n",
|
||||
" larger_i = np.where(h_optt > 1)[0]\n",
|
||||
" smaller_i = np.where(h_optt < 0)[0]\n",
|
||||
"\n",
|
||||
" # If no violations, the optimal solution is reached\n",
|
||||
" if len(smaller_i) == 0 and len(larger_i) == 0:\n",
|
||||
" break\n",
|
||||
" \n",
|
||||
" # Find the furthest object from the boundary (either 0 or 1)\n",
|
||||
" min_viol = 0\n",
|
||||
" min_viol_i = -1\n",
|
||||
" if len(smaller_i) > 0:\n",
|
||||
" min_viol, min_viol_i = np.min(h_optt[smaller_i]), np.argmin(h_optt[smaller_i])\n",
|
||||
"\n",
|
||||
" max_viol = 0\n",
|
||||
" max_viol_i = -1\n",
|
||||
" if len(larger_i) > 0:\n",
|
||||
" max_viol, max_viol_i = np.max(h_optt[larger_i] - 1), np.argmax(h_optt[larger_i] - 1)\n",
|
||||
" \n",
|
||||
" # Choose the variable with the largest violation to adjust\n",
|
||||
" if max_viol > abs(min_viol):\n",
|
||||
" viol_i = max_viol_i\n",
|
||||
" min_viol_flag = 0\n",
|
||||
" else:\n",
|
||||
" viol_i = min_viol_i\n",
|
||||
" min_viol_flag = 1\n",
|
||||
" \n",
|
||||
" # Set the furthest object to the nearest boundary (0 or 1)\n",
|
||||
" if min_viol_flag:\n",
|
||||
" h_optt[viol_i] = 0\n",
|
||||
" else:\n",
|
||||
" h_optt[viol_i] = min(1, b)\n",
|
||||
" \n",
|
||||
" # Update cache size and fix the selected variable\n",
|
||||
" b -= h_optt[viol_i]\n",
|
||||
" fix_i.append(viol_i)\n",
|
||||
" differenc_set = np.setdiff1d(np.arange(N), fix_i)\n",
|
||||
" n = N - len(fix_i)\n",
|
||||
" \n",
|
||||
" return h_optt"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 3,
|
||||
"id": "5d223324-d193-416a-b2c3-1e143e981a37",
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"\n",
|
||||
"def numerical_opt(lambda_vals, B, c_f, c_delta):\n",
|
||||
" \"\"\"\n",
|
||||
" Perform numerical optimization to compute optimal hit probabilities.\n",
|
||||
"\n",
|
||||
" Parameters:\n",
|
||||
" - lambda_vals: Array of request rates.\n",
|
||||
" - B: Cache size (constraint on total hit probabilities).\n",
|
||||
" - c_f: Cost of fetching (cache miss cost).\n",
|
||||
" - c_delta: Cost of caching (hit cost).\n",
|
||||
"\n",
|
||||
" Returns:\n",
|
||||
" - x_opt: Optimal hit probabilities.\n",
|
||||
" \"\"\"\n",
|
||||
" N = len(lambda_vals) # Number of items\n",
|
||||
"\n",
|
||||
" # Initial guess: Even distribution of cache capacity\n",
|
||||
" x_init = np.full(N, B / N)\n",
|
||||
"\n",
|
||||
" # Objective function\n",
|
||||
" def objective(x):\n",
|
||||
" return np.sum(lambda_vals * ((1 - x) * c_f + x**2 * c_delta / 2))\n",
|
||||
"\n",
|
||||
" # Constraint: Sum of hit probabilities <= cache size (B)\n",
|
||||
" def constraint_total_hit(x):\n",
|
||||
" return B - np.sum(x) # Non-negative means constraint satisfied\n",
|
||||
"\n",
|
||||
" # Bounds for hit probabilities: 0 <= h_i <= 1\n",
|
||||
" bounds = [(0, 1) for _ in range(N)]\n",
|
||||
"\n",
|
||||
" # Optimization\n",
|
||||
" constraints = [{'type': 'ineq', 'fun': constraint_total_hit}] # Inequality constraint\n",
|
||||
" result = minimize(\n",
|
||||
" objective, \n",
|
||||
" x_init, \n",
|
||||
" method='SLSQP', # Sequential Least Squares Quadratic Programming\n",
|
||||
" bounds=bounds, \n",
|
||||
" constraints=constraints, \n",
|
||||
" options={'disp': True} # Set to True for optimization output\n",
|
||||
" )\n",
|
||||
"\n",
|
||||
" # Optimal solution\n",
|
||||
" if result.success:\n",
|
||||
" return result.x # Optimal hit probabilities\n",
|
||||
" else:\n",
|
||||
" raise ValueError(\"Optimization failed: \" + result.message)\n"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 4,
|
||||
"id": "073be740-dc97-454b-87e7-2f8f93c8f137",
|
||||
"metadata": {},
|
||||
"outputs": [
|
||||
{
|
||||
"name": "stdout",
|
||||
"output_type": "stream",
|
||||
"text": [
|
||||
"Optimization terminated successfully (Exit mode 0)\n",
|
||||
" Current function value: 16.15721739129548\n",
|
||||
" Iterations: 4\n",
|
||||
" Function evaluations: 48\n",
|
||||
" Gradient evaluations: 4\n",
|
||||
"Hit probabilities (numerical and theoretical):\n",
|
||||
" [[0.00000000e+00 0.00000000e+00]\n",
|
||||
" [0.00000000e+00 0.00000000e+00]\n",
|
||||
" [0.00000000e+00 0.00000000e+00]\n",
|
||||
" [0.00000000e+00 0.00000000e+00]\n",
|
||||
" [0.00000000e+00 0.00000000e+00]\n",
|
||||
" [4.58923826e-13 1.00000000e+00]\n",
|
||||
" [4.26087031e-01 0.00000000e+00]\n",
|
||||
" [9.73912969e-01 4.00000000e-01]\n",
|
||||
" [1.00000000e+00 0.00000000e+00]\n",
|
||||
" [1.00000000e+00 0.00000000e+00]\n",
|
||||
" [1.00000000e+00 0.00000000e+00]]\n",
|
||||
"Objective function values (numerical, theoretical): [16.15721739129548, 44.486]\n",
|
||||
"Constraint violations (numerical, theoretical): [1.241673430740775e-12, -3.0]\n"
|
||||
]
|
||||
}
|
||||
],
|
||||
"source": [
|
||||
"\n",
|
||||
"# Optimization\n",
|
||||
"h_numerical = numerical_opt(lambda_vals, B, c_f, c_delta)\n",
|
||||
"h_theoretical = theoretical_opt(lambda_vals, B, c_f, c_delta)\n",
|
||||
"\n",
|
||||
"# Comparison of Hit Probabilities\n",
|
||||
"hit_opt = np.vstack((h_numerical, h_theoretical)).T # Combine numerical and theoretical hit probabilities\n",
|
||||
"\n",
|
||||
"# Objective Function Calculation\n",
|
||||
"obj_1 = np.sum(lambda_vals * ((1 - h_numerical) * c_f + h_numerical**2 * c_delta / 2))\n",
|
||||
"obj_2 = np.sum(lambda_vals * ((1 - h_theoretical) * c_f + h_theoretical**2 * c_delta / 2))\n",
|
||||
"obj = [obj_1, obj_2] # Store objective function values for both methods\n",
|
||||
"\n",
|
||||
"# Constraints\n",
|
||||
"const_1 = np.sum(h_numerical) - B\n",
|
||||
"const_2 = np.sum(h_theoretical) - B\n",
|
||||
"constraint = [const_1, const_2] # Check if the cache size constraint is satisfied\n",
|
||||
"\n",
|
||||
"# Outputs\n",
|
||||
"print(\"Hit probabilities (numerical and theoretical):\\n\", hit_opt)\n",
|
||||
"print(\"Objective function values (numerical, theoretical):\", obj)\n",
|
||||
"print(\"Constraint violations (numerical, theoretical):\", constraint)"
|
||||
]
|
||||
}
|
||||
],
|
||||
"metadata": {
|
||||
"kernelspec": {
|
||||
"display_name": "graphs",
|
||||
"language": "python",
|
||||
"name": "graphs"
|
||||
},
|
||||
"language_info": {
|
||||
"codemirror_mode": {
|
||||
"name": "ipython",
|
||||
"version": 3
|
||||
},
|
||||
"file_extension": ".py",
|
||||
"mimetype": "text/x-python",
|
||||
"name": "python",
|
||||
"nbconvert_exporter": "python",
|
||||
"pygments_lexer": "ipython3",
|
||||
"version": "3.12.7"
|
||||
}
|
||||
},
|
||||
"nbformat": 4,
|
||||
"nbformat_minor": 5
|
||||
}
|
||||
27
01_nb_cncf_optimization/matlab/Main.m
Normal file
27
01_nb_cncf_optimization/matlab/Main.m
Normal file
@@ -0,0 +1,27 @@
|
||||
clc
|
||||
close all
|
||||
clear all
|
||||
|
||||
|
||||
%% Define parameters
|
||||
lambda = [0.03, 0.04,0.05,0.06,0.07,1,1.1,1.2,1.3,1.4,1.5]'; % Request rates ascendingly
|
||||
N=length(lambda);
|
||||
B = 4.4; % Cache size
|
||||
c_delta=1; % age linear cost
|
||||
c_f=7; % fetching linear cost (caching miss cost)
|
||||
|
||||
|
||||
%% Optimization
|
||||
[h_numerical ]=Numerical_opt(lambda,B,c_f,c_delta)
|
||||
[h_theo] = Theoritical_opt(lambda,B,c_f,c_delta)
|
||||
|
||||
|
||||
%% Comparison
|
||||
hit_opt=[h_numerical h_theo]
|
||||
obj_1=sum(lambda .* ((1-h_numerical)*c_f+h_numerical.^2*c_delta/2));
|
||||
obj_2=sum(lambda .* ((1-h_theo)*c_f+h_theo.^2*c_delta/2));
|
||||
obj=[obj_1 obj_2]
|
||||
const_1=sum(h_numerical)-B;
|
||||
const_2=sum(h_theo)-B;
|
||||
constraint=[const_1 const_2]
|
||||
|
||||
17
01_nb_cncf_optimization/matlab/Numerical_opt.m
Normal file
17
01_nb_cncf_optimization/matlab/Numerical_opt.m
Normal file
@@ -0,0 +1,17 @@
|
||||
function [x_opt] = Numerical_opt(lambda,B,c_f,c_delta)
|
||||
% Numerical optimization
|
||||
% x_opt are the optimal hit probabilities
|
||||
|
||||
N = length(lambda); % Number of variables
|
||||
h_init = ones(N, 1) * B / N; % Initial guess for h_i, evenly distributed
|
||||
x_init=h_init;
|
||||
objective1 = @(x) sum(lambda .*( (1-x)*c_f+x.^2*c_delta/2)); % Objective function
|
||||
constraint1 = @(x) sum(x) - B; % cache size constraint
|
||||
% constraint on hit prob. 0<=h_i<=1
|
||||
nonlcon1 = @(x) deal(constraint1(x), []); %
|
||||
lb = zeros(N, 1); % Lower bounds
|
||||
ub = ones(N, 1); % Upper bounds
|
||||
options = optimoptions('fmincon', 'Display', 'iter', 'Algorithm', 'sqp');
|
||||
[x_opt, fval_h] = fmincon(objective1, x_init, [], [], [], [], lb, ub, nonlcon1, options);
|
||||
end
|
||||
|
||||
87
01_nb_cncf_optimization/matlab/Theoritical_opt-Copy1.m
Normal file
87
01_nb_cncf_optimization/matlab/Theoritical_opt-Copy1.m
Normal file
@@ -0,0 +1,87 @@
|
||||
function [h_optt] = Theoritical_opt(lambda,B,c_f,c_delta)
|
||||
%% Theoritical optimization
|
||||
|
||||
|
||||
%% Iterative identification of active constraints
|
||||
N=length(lambda)
|
||||
flag=1;
|
||||
h_optt=zeros(N,1); %optimal hit prob
|
||||
differenc_set=1:N; % the set of variables to optimize
|
||||
fix_i=[]; % set of variables that reached optimality and are excluded from the optimization
|
||||
n=N;
|
||||
b=B;
|
||||
|
||||
%%
|
||||
while flag
|
||||
if(n==0)
|
||||
if(b>0) % if there is left over cache size and mu is not zero (the loop would break), redistribute it among the zero hit probability
|
||||
differenc_set=find(h_optt==0)';
|
||||
fix_i=setdiff(1:N,differenc_set)';
|
||||
n=length(differenc_set);
|
||||
continue;
|
||||
else
|
||||
h_optt(differenc_set)=0;
|
||||
break;
|
||||
end
|
||||
end
|
||||
% Optimal Lagrangian mult. and hit prob. calculated theoritically for the set of variables in differenc_set
|
||||
mu=max(0,(n*c_f-b*c_delta)/ sum(1./lambda(differenc_set))); %optimal lagrangian mult.
|
||||
h_optt(differenc_set)=(c_f-mu./lambda(differenc_set))/c_delta %optimal hit prob
|
||||
|
||||
% mu has to be >=0
|
||||
if(mu<0)
|
||||
b=(n*c_f/c_delta); % this sets mu to zero in the next iteration
|
||||
continue;
|
||||
end
|
||||
|
||||
% check the violation of the hit_prob const
|
||||
larger_i=find(h_optt>1); % h>1
|
||||
smaller_i=find(h_optt<0); % h<0
|
||||
|
||||
if(length(smaller_i)==0 && length(larger_i)==0)
|
||||
|
||||
|
||||
break;
|
||||
end
|
||||
|
||||
% find the furthest object from the 0 boundary
|
||||
min_viol=0;
|
||||
min_viol_i=-1;
|
||||
if(length(smaller_i)>0)
|
||||
[min_viol, min_viol_i]=min(h_optt);
|
||||
end
|
||||
% find the furthest object from the 1 boundary
|
||||
max_viol=0;
|
||||
max_viol_i=-1;
|
||||
if(length(larger_i)>0)
|
||||
larger=h_optt-1;
|
||||
[max_viol ,max_viol_i]=max(h_optt-1);
|
||||
|
||||
end
|
||||
|
||||
% compare both furthest objects from both boundaries
|
||||
viol_i=min_viol_i;
|
||||
min_viol_flag=1; % True if the furthest one is from the left
|
||||
if(max_viol>abs(min_viol))
|
||||
viol_i= max_viol_i;
|
||||
min_viol_flag=0;
|
||||
|
||||
end
|
||||
% set the furthest object to the nearest boundary
|
||||
if(min_viol_flag)
|
||||
h_optt(viol_i)=0;
|
||||
else
|
||||
h_optt(viol_i)=min(1,b);
|
||||
end
|
||||
|
||||
%calculate the new parameters after removing the furthest object from
|
||||
%the decision variables
|
||||
B_new=b-(h_optt(viol_i));
|
||||
b=B_new;
|
||||
fix_i=[fix_i' viol_i']';
|
||||
differenc_set=setdiff(1:N,fix_i) ;
|
||||
n=N-length(fix_i);
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
171
01_nb_cncf_optimization/matlab/Theoritical_opt.m
Normal file
171
01_nb_cncf_optimization/matlab/Theoritical_opt.m
Normal file
@@ -0,0 +1,171 @@
|
||||
function [h_optt] = Theoritical_opt(lambda,B,c_f,c_delta)
|
||||
%% Theoritical optimization
|
||||
|
||||
|
||||
%% Iterative identification of active constraints
|
||||
N=length(lambda)
|
||||
flag=1;
|
||||
h_optt=zeros(N,1); %optimal hit prob
|
||||
differenc_set=1:N; % the set of variables to optimize
|
||||
fix_i=[]; % set of variables that reached optimality and are excluded from the optimization
|
||||
n=N;
|
||||
b=B;
|
||||
|
||||
%%
|
||||
while flag
|
||||
if(n==0)
|
||||
if(b>0) % if there is left over cache size and mu is not zero (the loop would break), redistribute it among the zero hit probability
|
||||
differenc_set=find(h_optt==0)';
|
||||
fix_i=setdiff(1:N,differenc_set)';
|
||||
n=length(differenc_set);
|
||||
continue;
|
||||
else
|
||||
h_optt(differenc_set)=0;
|
||||
break;
|
||||
end
|
||||
end
|
||||
% Optimal Lagrangian mult. and hit prob. calculated theoritically for the set of variables in differenc_set
|
||||
mu=max(0,(n*c_f-b*c_delta)/ sum(1./lambda(differenc_set))); %optimal lagrangian mult.
|
||||
h_optt(differenc_set)=(c_f-mu./lambda(differenc_set))/c_delta %optimal hit prob
|
||||
|
||||
% mu has to be >=0
|
||||
if(mu<0)
|
||||
b=(n*c_f/c_delta); % this sets mu to zero in the next iteration
|
||||
continue;
|
||||
end
|
||||
|
||||
% check the violation of the hit_prob const
|
||||
larger_i=find(h_optt>1); % h>1
|
||||
smaller_i=find(h_optt<0); % h<0
|
||||
|
||||
% smaller=h(find(differenc_set<0))-0;
|
||||
% no violation means optimal solution is reached for all objects
|
||||
if(length(smaller_i)==0 && length(larger_i)==0)
|
||||
% flag=0;
|
||||
|
||||
break;
|
||||
end
|
||||
|
||||
% find the furthest object from the 0 boundary
|
||||
min_viol=0;
|
||||
min_viol_i=-1;
|
||||
if(length(smaller_i)>0)
|
||||
[min_viol, min_viol_i]=min(h_optt);
|
||||
end
|
||||
% find the furthest object from the 1 boundary
|
||||
max_viol=0;
|
||||
max_viol_i=-1;
|
||||
if(length(larger_i)>0)
|
||||
larger=h_optt-1;
|
||||
[max_viol ,max_viol_i]=max(h_optt-1);
|
||||
|
||||
end
|
||||
|
||||
% compare both furthest objects from both boundaries
|
||||
viol_i=min_viol_i;
|
||||
min_viol_flag=1; % True if the furthest one is from the left
|
||||
if(max_viol>abs(min_viol))
|
||||
viol_i= max_viol_i;
|
||||
min_viol_flag=0;
|
||||
|
||||
end
|
||||
% set the furthest object to the nearest boundary
|
||||
if(min_viol_flag)
|
||||
h_optt(viol_i)=0;
|
||||
else
|
||||
h_optt(viol_i)=min(1,b);
|
||||
end
|
||||
|
||||
%calculate the new parameters after removing the furthest object from
|
||||
%the decision variables
|
||||
B_new=b-(h_optt(viol_i));
|
||||
b=B_new;
|
||||
fix_i=[fix_i' viol_i']';
|
||||
differenc_set=setdiff(1:N,fix_i) ;
|
||||
n=N-length(fix_i);
|
||||
|
||||
|
||||
% % Identify the most violating object from the right side h>1
|
||||
% if(length(larger_i)>0)
|
||||
% larger=h_optt-1;
|
||||
% [max_viol ,max_viol_i]=max(h_optt-1); % maximum violating object
|
||||
% h_optt(max_viol_i)=min(1,b); %project to the feasible range
|
||||
% b=max(b-1,0); % update the cache size
|
||||
% fix_i=[fix_i' max_viol_i']'; %exclude i from the set of decision variables
|
||||
% differenc_set=setdiff(1:N,fix_i); % obtain the set of decision variables
|
||||
% n=N-length(fix_i); % update the number of decision variables
|
||||
% continue;
|
||||
% end
|
||||
%
|
||||
% if(length(smaller_i)>0)
|
||||
% [min_viol, min_viol_i]=min(h_optt);
|
||||
% h_optt(min_viol_i)=0;
|
||||
% fix_i=[fix_i' min_viol_i']';
|
||||
% differenc_set=setdiff(1:N,fix_i) ;
|
||||
% n=N-length(fix_i);
|
||||
% end
|
||||
%
|
||||
% end
|
||||
|
||||
end
|
||||
|
||||
%% Identfying the active constraints collectively
|
||||
% flag=1;
|
||||
% h_optt=zeros(N,1);
|
||||
% differenc_set=1:N;
|
||||
% fix_i=[];
|
||||
% n=N;
|
||||
% b=B;
|
||||
% while flag
|
||||
% mu=(n*c_f-b*c_delta)/ sum(1./lambda(differenc_set));
|
||||
% h_optt(differenc_set)=(c_f-mu./lambda(differenc_set))/c_delta
|
||||
%
|
||||
% larger_i=find(h_optt>1);
|
||||
% % larger=h_optt(larger_i)-1;
|
||||
% smaller_i=find(h_optt<0);
|
||||
% % smaller=h(find(differenc_set<0))-0;
|
||||
% mult=solve_multipliers(lambda,B,c_f,c_delta,larger_i)
|
||||
%
|
||||
% if(length(larger_i)+length(smaller_i)==0)
|
||||
% flag=0;
|
||||
% break;
|
||||
% end
|
||||
% if(length(smaller_i)>0)
|
||||
% h_optt(smaller_i)=0;
|
||||
% fix_i=[fix_i' smaller_i' ]';
|
||||
% differenc_set=setdiff(1:N,fix_i)
|
||||
% n=N-length(fix_i);
|
||||
% continue
|
||||
% end
|
||||
% % h_optt(smaller_i)=0;
|
||||
% if(length(larger_i)>b)
|
||||
% [~,index]=maxk(h_optt,b)
|
||||
% h_optt(index)=1;
|
||||
% B_new=b-sum(h_optt(index));
|
||||
% fix_i=[fix_i' smaller_i' index']';
|
||||
% else
|
||||
% h_optt(larger_i)=1;
|
||||
% B_new=b-sum(h_optt(larger_i));
|
||||
% fix_i=[fix_i' smaller_i' larger_i']';
|
||||
% end
|
||||
% % mult=solve_multipliers(lambda,B,c_f,c_delta,larger_i)
|
||||
%
|
||||
% b=B_new;
|
||||
%
|
||||
% differenc_set=setdiff(1:N,fix_i)
|
||||
% n=N-length(fix_i);
|
||||
% end
|
||||
% % h_optt=zeros(N,1);
|
||||
% % h_optt(end-B+1:end)=1;
|
||||
% optimal=[h_opt h_optt]
|
||||
% obj_1=sum(lambda .* ((1-h_opt)*c_f+h_opt.^2*c_delta/2));
|
||||
% obj_2=sum(lambda .* ((1-h_optt)*c_f+h_optt.^2*c_delta/2));
|
||||
% objective=[obj_1 obj_2]
|
||||
% const_1=sum(h_opt)-B;
|
||||
% const_2=sum(h_optt)-B;
|
||||
% constraint=[const_1 const_2]
|
||||
%
|
||||
|
||||
|
||||
end
|
||||
|
||||
45757
01_nb_cncf_optimization/notes_code.excalidraw
Normal file
45757
01_nb_cncf_optimization/notes_code.excalidraw
Normal file
File diff suppressed because one or more lines are too long
101998
01_nb_cncf_optimization/notes_paper.excalidraw
Normal file
101998
01_nb_cncf_optimization/notes_paper.excalidraw
Normal file
File diff suppressed because one or more lines are too long
1721291
01_nb_cncf_optimization/objective_grid-search_multi-core.csv
Normal file
1721291
01_nb_cncf_optimization/objective_grid-search_multi-core.csv
Normal file
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -1,101 +0,0 @@
|
||||
obj_id,access_count,hits,misses,mu,lambda,hit_rate,avg_age
|
||||
1,122,41,81,0,1,33.61,0.02459016393442623
|
||||
2,382,235,147,0,3,61.52,0.15706806282722513
|
||||
3,127,38,89,0,1,29.92,0.10236220472440945
|
||||
4,113,33,80,0,1,29.2,0.08849557522123894
|
||||
5,244,121,123,0,2,49.59,0.11065573770491803
|
||||
6,116,40,76,0,1,34.48,0.09482758620689655
|
||||
7,656,474,182,0,5,72.26,0.16310975609756098
|
||||
8,128,39,89,0,1,30.47,0.046875
|
||||
9,114,37,77,0,1,32.46,0.08771929824561403
|
||||
10,115,33,82,0,1,28.7,0.06956521739130435
|
||||
11,246,129,117,0,2,52.44,0.09349593495934959
|
||||
12,132,50,82,0,1,37.88,0.08333333333333333
|
||||
13,139,50,89,0,1,35.97,0.08633093525179857
|
||||
14,120,35,85,0,1,29.17,0.058333333333333334
|
||||
15,261,134,127,0,2,51.34,0.13793103448275862
|
||||
16,225,109,116,0,2,48.44,0.10666666666666667
|
||||
17,120,39,81,0,1,32.5,0.06666666666666667
|
||||
18,117,39,78,0,1,33.33,0.07692307692307693
|
||||
19,360,213,147,0,3,59.17,0.10277777777777777
|
||||
20,117,40,77,0,1,34.19,0.09401709401709402
|
||||
21,134,48,86,0,1,35.82,0.07462686567164178
|
||||
22,147,55,92,0,1,37.41,0.12244897959183673
|
||||
23,142,50,92,0,1,35.21,0.07746478873239436
|
||||
24,264,140,124,0,2,53.03,0.10984848484848485
|
||||
25,123,42,81,0,1,34.15,0.11382113821138211
|
||||
26,141,50,91,0,1,35.46,0.0851063829787234
|
||||
27,128,45,83,0,1,35.16,0.0703125
|
||||
28,564,390,174,0,5,69.15,0.16666666666666666
|
||||
29,133,47,86,0,1,35.34,0.06015037593984962
|
||||
30,125,45,80,0,1,36.0,0.096
|
||||
31,115,31,84,0,1,26.96,0.06956521739130435
|
||||
32,468,308,160,0,4,65.81,0.17094017094017094
|
||||
33,116,37,79,0,1,31.9,0.034482758620689655
|
||||
34,498,335,163,0,4,67.27,0.18072289156626506
|
||||
35,132,39,93,0,1,29.55,0.09848484848484848
|
||||
36,100,29,71,0,1,29.0,0.07
|
||||
37,149,52,97,0,1,34.9,0.10067114093959731
|
||||
38,355,208,147,0,3,58.59,0.16338028169014085
|
||||
39,962,766,196,0,8,79.63,0.2047817047817048
|
||||
40,128,47,81,0,1,36.72,0.109375
|
||||
41,474,306,168,0,4,64.56,0.16666666666666666
|
||||
42,495,328,167,0,4,66.26,0.17777777777777778
|
||||
43,213,99,114,0,2,46.48,0.08450704225352113
|
||||
44,112,32,80,0,1,28.57,0.07142857142857142
|
||||
45,129,41,88,0,1,31.78,0.05426356589147287
|
||||
46,133,45,88,0,1,33.83,0.07518796992481203
|
||||
47,1262,1055,207,0,10,83.6,0.16085578446909668
|
||||
48,136,52,84,0,1,38.24,0.10294117647058823
|
||||
49,141,59,82,0,1,41.84,0.10638297872340426
|
||||
50,119,41,78,0,1,34.45,0.07563025210084033
|
||||
51,599,420,179,0,5,70.12,0.17696160267111852
|
||||
52,1106,902,204,0,9,81.56,0.20253164556962025
|
||||
53,121,35,86,0,1,28.93,0.05785123966942149
|
||||
54,131,39,92,0,1,29.77,0.061068702290076333
|
||||
55,124,42,82,0,1,33.87,0.12903225806451613
|
||||
56,130,48,82,0,1,36.92,0.06923076923076923
|
||||
57,124,40,84,0,1,32.26,0.08870967741935484
|
||||
58,2118,1897,221,0,17,89.57,0.23937677053824363
|
||||
59,205,95,110,0,2,46.34,0.1024390243902439
|
||||
60,137,47,90,0,1,34.31,0.072992700729927
|
||||
61,3216,2986,230,0,26,92.85,0.23227611940298507
|
||||
62,138,48,90,0,1,34.78,0.07971014492753623
|
||||
63,117,36,81,0,1,30.77,0.11965811965811966
|
||||
64,264,134,130,0,2,50.76,0.10227272727272728
|
||||
65,139,52,87,0,1,37.41,0.07913669064748201
|
||||
66,1248,1045,203,0,10,83.73,0.20993589743589744
|
||||
67,146,52,94,0,1,35.62,0.15753424657534246
|
||||
68,8414,8173,241,0,69,97.14,0.24007606370335155
|
||||
69,116,36,80,0,1,31.03,0.11206896551724138
|
||||
70,120,38,82,0,1,31.67,0.08333333333333333
|
||||
71,244,127,117,0,2,52.05,0.0942622950819672
|
||||
72,117,35,82,0,1,29.91,0.08547008547008547
|
||||
73,131,44,87,0,1,33.59,0.09923664122137404
|
||||
74,142,48,94,0,1,33.8,0.056338028169014086
|
||||
75,343,197,146,0,3,57.43,0.1836734693877551
|
||||
76,250,124,126,0,2,49.6,0.124
|
||||
77,253,128,125,0,2,50.59,0.11462450592885376
|
||||
78,394,237,157,0,3,60.15,0.15228426395939088
|
||||
79,1910,1690,220,0,15,88.48,0.225130890052356
|
||||
80,120,34,86,0,1,28.33,0.03333333333333333
|
||||
81,121,42,79,0,1,34.71,0.09090909090909091
|
||||
82,647,465,182,0,5,71.87,0.17001545595054096
|
||||
83,248,126,122,0,2,50.81,0.13709677419354838
|
||||
84,144,51,93,0,1,35.42,0.125
|
||||
85,108,32,76,0,1,29.63,0.037037037037037035
|
||||
86,211,94,117,0,2,44.55,0.08530805687203792
|
||||
87,134,49,85,0,1,36.57,0.08208955223880597
|
||||
88,224,107,117,0,2,47.77,0.13839285714285715
|
||||
89,135,49,86,0,1,36.3,0.1037037037037037
|
||||
90,124,35,89,0,1,28.23,0.07258064516129033
|
||||
91,240,116,124,0,2,48.33,0.1125
|
||||
92,229,108,121,0,2,47.16,0.09606986899563319
|
||||
93,393,241,152,0,3,61.32,0.13994910941475827
|
||||
94,125,37,88,0,1,29.6,0.032
|
||||
95,257,140,117,0,2,54.47,0.08949416342412451
|
||||
96,139,47,92,0,1,33.81,0.08633093525179857
|
||||
97,127,45,82,0,1,35.43,0.03937007874015748
|
||||
98,4578,4343,235,0,37,94.87,0.22804718217562253
|
||||
99,482,323,159,0,4,67.01,0.1887966804979253
|
||||
100,249,130,119,0,2,52.21,0.11646586345381527
|
||||
|
@@ -1,101 +0,0 @@
|
||||
obj_id,hit_rate,avg_age
|
||||
1,0.3360655737704918,0.07317073170731707
|
||||
2,0.6151832460732984,0.2553191489361702
|
||||
3,0.2992125984251969,0.34210526315789475
|
||||
4,0.2920353982300885,0.30303030303030304
|
||||
5,0.4959016393442623,0.2231404958677686
|
||||
6,0.3448275862068966,0.275
|
||||
7,0.7225609756097561,0.22573839662447256
|
||||
8,0.3046875,0.15384615384615385
|
||||
9,0.32456140350877194,0.2702702702702703
|
||||
10,0.28695652173913044,0.24242424242424243
|
||||
11,0.524390243902439,0.17829457364341086
|
||||
12,0.3787878787878788,0.22
|
||||
13,0.3597122302158273,0.24
|
||||
14,0.2916666666666667,0.2
|
||||
15,0.5134099616858238,0.26865671641791045
|
||||
16,0.48444444444444446,0.22018348623853212
|
||||
17,0.325,0.20512820512820512
|
||||
18,0.3333333333333333,0.23076923076923078
|
||||
19,0.5916666666666667,0.17370892018779344
|
||||
20,0.3418803418803419,0.275
|
||||
21,0.3582089552238806,0.20833333333333334
|
||||
22,0.3741496598639456,0.32727272727272727
|
||||
23,0.352112676056338,0.22
|
||||
24,0.5303030303030303,0.20714285714285716
|
||||
25,0.34146341463414637,0.3333333333333333
|
||||
26,0.3546099290780142,0.24
|
||||
27,0.3515625,0.2
|
||||
28,0.6914893617021277,0.24102564102564103
|
||||
29,0.3533834586466165,0.1702127659574468
|
||||
30,0.36,0.26666666666666666
|
||||
31,0.26956521739130435,0.25806451612903225
|
||||
32,0.6581196581196581,0.2597402597402597
|
||||
33,0.31896551724137934,0.10810810810810811
|
||||
34,0.6726907630522089,0.26865671641791045
|
||||
35,0.29545454545454547,0.3333333333333333
|
||||
36,0.29,0.2413793103448276
|
||||
37,0.348993288590604,0.28846153846153844
|
||||
38,0.5859154929577465,0.27884615384615385
|
||||
39,0.7962577962577962,0.25718015665796345
|
||||
40,0.3671875,0.2978723404255319
|
||||
41,0.6455696202531646,0.2581699346405229
|
||||
42,0.6626262626262627,0.2682926829268293
|
||||
43,0.4647887323943662,0.18181818181818182
|
||||
44,0.2857142857142857,0.25
|
||||
45,0.3178294573643411,0.17073170731707318
|
||||
46,0.3383458646616541,0.2222222222222222
|
||||
47,0.8359746434231379,0.1924170616113744
|
||||
48,0.38235294117647056,0.2692307692307692
|
||||
49,0.41843971631205673,0.2542372881355932
|
||||
50,0.3445378151260504,0.21951219512195122
|
||||
51,0.7011686143572621,0.2523809523809524
|
||||
52,0.8155515370705244,0.24833702882483372
|
||||
53,0.2892561983471074,0.2
|
||||
54,0.29770992366412213,0.20512820512820512
|
||||
55,0.3387096774193548,0.38095238095238093
|
||||
56,0.36923076923076925,0.1875
|
||||
57,0.3225806451612903,0.275
|
||||
58,0.8956562795089708,0.2672641012124407
|
||||
59,0.4634146341463415,0.22105263157894736
|
||||
60,0.34306569343065696,0.2127659574468085
|
||||
61,0.9284825870646766,0.25016744809109176
|
||||
62,0.34782608695652173,0.22916666666666666
|
||||
63,0.3076923076923077,0.3888888888888889
|
||||
64,0.5075757575757576,0.20149253731343283
|
||||
65,0.37410071942446044,0.21153846153846154
|
||||
66,0.8373397435897436,0.2507177033492823
|
||||
67,0.3561643835616438,0.4423076923076923
|
||||
68,0.9713572617066794,0.24715526734369264
|
||||
69,0.3103448275862069,0.3611111111111111
|
||||
70,0.31666666666666665,0.2631578947368421
|
||||
71,0.5204918032786885,0.18110236220472442
|
||||
72,0.29914529914529914,0.2857142857142857
|
||||
73,0.33587786259541985,0.29545454545454547
|
||||
74,0.3380281690140845,0.16666666666666666
|
||||
75,0.5743440233236151,0.3197969543147208
|
||||
76,0.496,0.25
|
||||
77,0.5059288537549407,0.2265625
|
||||
78,0.6015228426395939,0.25316455696202533
|
||||
79,0.8848167539267016,0.25443786982248523
|
||||
80,0.2833333333333333,0.11764705882352941
|
||||
81,0.34710743801652894,0.2619047619047619
|
||||
82,0.7187017001545595,0.23655913978494625
|
||||
83,0.5080645161290323,0.2698412698412698
|
||||
84,0.3541666666666667,0.35294117647058826
|
||||
85,0.2962962962962963,0.125
|
||||
86,0.44549763033175355,0.19148936170212766
|
||||
87,0.3656716417910448,0.22448979591836735
|
||||
88,0.47767857142857145,0.2897196261682243
|
||||
89,0.362962962962963,0.2857142857142857
|
||||
90,0.28225806451612906,0.2571428571428571
|
||||
91,0.48333333333333334,0.23275862068965517
|
||||
92,0.47161572052401746,0.2037037037037037
|
||||
93,0.6132315521628499,0.22821576763485477
|
||||
94,0.296,0.10810810810810811
|
||||
95,0.5447470817120622,0.16428571428571428
|
||||
96,0.3381294964028777,0.2553191489361702
|
||||
97,0.3543307086614173,0.1111111111111111
|
||||
98,0.9486675404106597,0.24038682938061248
|
||||
99,0.6701244813278008,0.28173374613003094
|
||||
100,0.5220883534136547,0.2230769230769231
|
||||
|
Binary file not shown.
@@ -1,9 +0,0 @@
|
||||
,hit_rate,avg_age
|
||||
count,100.0,100.0
|
||||
mean,0.45866953325531407,0.2405818161600988
|
||||
std,0.18036841870823853,0.06072706326352597
|
||||
min,0.26956521739130435,0.07317073170731707
|
||||
25%,0.33524173027989823,0.20663919413919415
|
||||
50%,0.3643173023770039,0.24190177638453503
|
||||
75%,0.5339140431552882,0.26880022962112515
|
||||
max,0.9713572617066794,0.4423076923076923
|
||||
|
@@ -1,101 +0,0 @@
|
||||
obj_id,access_count,hits,misses,mu,lambda,hit_rate,avg_age
|
||||
1,127,68,59,0,1,53.54,0.2677165354330709
|
||||
2,270,187,83,0,2,69.26,0.3148148148148148
|
||||
3,392,296,96,0,3,75.51,0.36989795918367346
|
||||
4,221,141,80,0,2,63.8,0.3438914027149321
|
||||
5,138,72,66,0,1,52.17,0.2391304347826087
|
||||
6,133,69,64,0,1,51.88,0.23308270676691728
|
||||
7,361,265,96,0,3,73.41,0.34349030470914127
|
||||
8,472,369,103,0,4,78.18,0.3983050847457627
|
||||
9,248,160,88,0,2,64.52,0.29838709677419356
|
||||
10,114,56,58,0,1,49.12,0.2719298245614035
|
||||
11,364,271,93,0,3,74.45,0.3324175824175824
|
||||
12,133,68,65,0,1,51.13,0.21052631578947367
|
||||
13,115,52,63,0,1,45.22,0.21739130434782608
|
||||
14,124,62,62,0,1,50.0,0.14516129032258066
|
||||
15,277,188,89,0,2,67.87,0.33212996389891697
|
||||
16,1576,1458,118,0,12,92.51,0.48286802030456855
|
||||
17,121,58,63,0,1,47.93,0.30578512396694213
|
||||
18,272,187,85,0,2,68.75,0.31985294117647056
|
||||
19,137,71,66,0,1,51.82,0.24817518248175183
|
||||
20,132,65,67,0,1,49.24,0.29545454545454547
|
||||
21,129,63,66,0,1,48.84,0.29457364341085274
|
||||
22,100,41,59,0,1,41.0,0.17
|
||||
23,114,57,57,0,1,50.0,0.21929824561403508
|
||||
24,138,66,72,0,1,47.83,0.18840579710144928
|
||||
25,126,65,61,0,1,51.59,0.3333333333333333
|
||||
26,134,69,65,0,1,51.49,0.2462686567164179
|
||||
27,132,65,67,0,1,49.24,0.3181818181818182
|
||||
28,144,76,68,0,1,52.78,0.2847222222222222
|
||||
29,636,529,107,0,5,83.18,0.38522012578616355
|
||||
30,136,71,65,0,1,52.21,0.23529411764705882
|
||||
31,119,59,60,0,1,49.58,0.2857142857142857
|
||||
32,118,53,65,0,1,44.92,0.2627118644067797
|
||||
33,717,609,108,0,6,84.94,0.39748953974895396
|
||||
34,118,57,61,0,1,48.31,0.2711864406779661
|
||||
35,100,42,58,0,1,42.0,0.24
|
||||
36,120,57,63,0,1,47.5,0.20833333333333334
|
||||
37,135,68,67,0,1,50.37,0.26666666666666666
|
||||
38,138,75,63,0,1,54.35,0.34057971014492755
|
||||
39,132,71,61,0,1,53.79,0.21212121212121213
|
||||
40,116,55,61,0,1,47.41,0.28448275862068967
|
||||
41,479,378,101,0,4,78.91,0.42379958246346555
|
||||
42,387,292,95,0,3,75.45,0.35658914728682173
|
||||
43,122,60,62,0,1,49.18,0.2540983606557377
|
||||
44,255,172,83,0,2,67.45,0.36470588235294116
|
||||
45,246,163,83,0,2,66.26,0.3780487804878049
|
||||
46,917,807,110,0,7,88.0,0.42748091603053434
|
||||
47,128,65,63,0,1,50.78,0.2734375
|
||||
48,816,705,111,0,6,86.4,0.4019607843137255
|
||||
49,267,183,84,0,2,68.54,0.32209737827715357
|
||||
50,145,79,66,0,1,54.48,0.2620689655172414
|
||||
51,347,251,96,0,3,72.33,0.345821325648415
|
||||
52,912,800,112,0,7,87.72,0.3925438596491228
|
||||
53,114,55,59,0,1,48.25,0.2631578947368421
|
||||
54,263,178,85,0,2,67.68,0.376425855513308
|
||||
55,273,188,85,0,2,68.86,0.3772893772893773
|
||||
56,271,188,83,0,2,69.37,0.33210332103321033
|
||||
57,2326,2205,121,0,18,94.8,0.4484092863284609
|
||||
58,122,56,66,0,1,45.9,0.26229508196721313
|
||||
59,129,67,62,0,1,51.94,0.2713178294573643
|
||||
60,134,65,69,0,1,48.51,0.22388059701492538
|
||||
61,2557,2436,121,0,20,95.27,0.409464215877982
|
||||
62,137,76,61,0,1,55.47,0.27007299270072993
|
||||
63,665,559,106,0,5,84.06,0.40601503759398494
|
||||
64,1412,1295,117,0,11,91.71,0.42209631728045327
|
||||
65,904,793,111,0,7,87.72,0.42367256637168144
|
||||
66,220,138,82,0,2,62.73,0.33181818181818185
|
||||
67,135,72,63,0,1,53.33,0.37777777777777777
|
||||
68,138,72,66,0,1,52.17,0.21014492753623187
|
||||
69,392,295,97,0,3,75.26,0.32653061224489793
|
||||
70,120,64,56,0,1,53.33,0.25
|
||||
71,488,387,101,0,4,79.3,0.3790983606557377
|
||||
72,230,148,82,0,2,64.35,0.3782608695652174
|
||||
73,237,148,89,0,2,62.45,0.3206751054852321
|
||||
74,123,61,62,0,1,49.59,0.23577235772357724
|
||||
75,127,69,58,0,1,54.33,0.2755905511811024
|
||||
76,133,66,67,0,1,49.62,0.2781954887218045
|
||||
77,1138,1024,114,0,9,89.98,0.4305799648506151
|
||||
78,3671,3548,123,0,29,96.65,0.4652683192590575
|
||||
79,128,59,69,0,1,46.09,0.1171875
|
||||
80,114,51,63,0,1,44.74,0.2719298245614035
|
||||
81,133,68,65,0,1,51.13,0.21052631578947367
|
||||
82,246,161,85,0,2,65.45,0.32113821138211385
|
||||
83,121,57,64,0,1,47.11,0.256198347107438
|
||||
84,234,153,81,0,2,65.38,0.29914529914529914
|
||||
85,386,289,97,0,3,74.87,0.35751295336787564
|
||||
86,257,170,87,0,2,66.15,0.35019455252918286
|
||||
87,132,61,71,0,1,46.21,0.23484848484848486
|
||||
88,118,53,65,0,1,44.92,0.11864406779661017
|
||||
89,630,521,109,0,5,82.7,0.4523809523809524
|
||||
90,131,67,64,0,1,51.15,0.20610687022900764
|
||||
91,544,443,101,0,4,81.43,0.40808823529411764
|
||||
92,274,188,86,0,2,68.61,0.3357664233576642
|
||||
93,141,76,65,0,1,53.9,0.2907801418439716
|
||||
94,257,170,87,0,2,66.15,0.377431906614786
|
||||
95,1002,889,113,0,8,88.72,0.4550898203592814
|
||||
96,137,67,70,0,1,48.91,0.24087591240875914
|
||||
97,378,280,98,0,3,74.07,0.3492063492063492
|
||||
98,133,67,66,0,1,50.38,0.2631578947368421
|
||||
99,115,55,60,0,1,47.83,0.23478260869565218
|
||||
100,141,72,69,0,1,51.06,0.2127659574468085
|
||||
|
@@ -1,101 +0,0 @@
|
||||
obj_id,hit_rate,avg_age
|
||||
1,0.5354330708661418,0.5
|
||||
2,0.6925925925925925,0.45454545454545453
|
||||
3,0.7551020408163265,0.48986486486486486
|
||||
4,0.6380090497737556,0.5390070921985816
|
||||
5,0.5217391304347826,0.4583333333333333
|
||||
6,0.518796992481203,0.4492753623188406
|
||||
7,0.7340720221606648,0.4679245283018868
|
||||
8,0.7817796610169492,0.5094850948509485
|
||||
9,0.6451612903225806,0.4625
|
||||
10,0.49122807017543857,0.5535714285714286
|
||||
11,0.7445054945054945,0.44649446494464945
|
||||
12,0.5112781954887218,0.4117647058823529
|
||||
13,0.45217391304347826,0.4807692307692308
|
||||
14,0.5,0.2903225806451613
|
||||
15,0.6787003610108303,0.48936170212765956
|
||||
16,0.9251269035532995,0.5219478737997256
|
||||
17,0.4793388429752066,0.6379310344827587
|
||||
18,0.6875,0.46524064171123
|
||||
19,0.5182481751824818,0.4788732394366197
|
||||
20,0.49242424242424243,0.6
|
||||
21,0.4883720930232558,0.6031746031746031
|
||||
22,0.41,0.4146341463414634
|
||||
23,0.5,0.43859649122807015
|
||||
24,0.4782608695652174,0.3939393939393939
|
||||
25,0.5158730158730159,0.6461538461538462
|
||||
26,0.5149253731343284,0.4782608695652174
|
||||
27,0.49242424242424243,0.6461538461538462
|
||||
28,0.5277777777777778,0.5394736842105263
|
||||
29,0.8317610062893082,0.46313799621928164
|
||||
30,0.5220588235294118,0.4507042253521127
|
||||
31,0.4957983193277311,0.576271186440678
|
||||
32,0.4491525423728814,0.5849056603773585
|
||||
33,0.8493723849372385,0.46798029556650245
|
||||
34,0.4830508474576271,0.5614035087719298
|
||||
35,0.42,0.5714285714285714
|
||||
36,0.475,0.43859649122807015
|
||||
37,0.5037037037037037,0.5294117647058824
|
||||
38,0.5434782608695652,0.6266666666666667
|
||||
39,0.5378787878787878,0.39436619718309857
|
||||
40,0.47413793103448276,0.6
|
||||
41,0.7891440501043842,0.5370370370370371
|
||||
42,0.7545219638242894,0.4726027397260274
|
||||
43,0.4918032786885246,0.5166666666666667
|
||||
44,0.6745098039215687,0.5406976744186046
|
||||
45,0.6626016260162602,0.5705521472392638
|
||||
46,0.8800436205016358,0.4857496902106567
|
||||
47,0.5078125,0.5384615384615384
|
||||
48,0.8639705882352942,0.4652482269503546
|
||||
49,0.6853932584269663,0.46994535519125685
|
||||
50,0.5448275862068965,0.4810126582278481
|
||||
51,0.723342939481268,0.47808764940239046
|
||||
52,0.8771929824561403,0.4475
|
||||
53,0.4824561403508772,0.5454545454545454
|
||||
54,0.6768060836501901,0.5561797752808989
|
||||
55,0.6886446886446886,0.5478723404255319
|
||||
56,0.6937269372693727,0.4787234042553192
|
||||
57,0.9479793637145314,0.473015873015873
|
||||
58,0.45901639344262296,0.5714285714285714
|
||||
59,0.5193798449612403,0.5223880597014925
|
||||
60,0.48507462686567165,0.46153846153846156
|
||||
61,0.95267892061009,0.42980295566502463
|
||||
62,0.5547445255474452,0.4868421052631579
|
||||
63,0.8406015037593985,0.48300536672629696
|
||||
64,0.9171388101983002,0.46023166023166023
|
||||
65,0.8772123893805309,0.48297604035308955
|
||||
66,0.6272727272727273,0.5289855072463768
|
||||
67,0.5333333333333333,0.7083333333333334
|
||||
68,0.5217391304347826,0.4027777777777778
|
||||
69,0.7525510204081632,0.43389830508474575
|
||||
70,0.5333333333333333,0.46875
|
||||
71,0.7930327868852459,0.4780361757105943
|
||||
72,0.6434782608695652,0.5878378378378378
|
||||
73,0.6244725738396625,0.5135135135135135
|
||||
74,0.4959349593495935,0.47540983606557374
|
||||
75,0.5433070866141733,0.5072463768115942
|
||||
76,0.49624060150375937,0.5606060606060606
|
||||
77,0.8998242530755711,0.478515625
|
||||
78,0.9664941432852084,0.4813979706877114
|
||||
79,0.4609375,0.2542372881355932
|
||||
80,0.4473684210526316,0.6078431372549019
|
||||
81,0.5112781954887218,0.4117647058823529
|
||||
82,0.6544715447154471,0.4906832298136646
|
||||
83,0.47107438016528924,0.543859649122807
|
||||
84,0.6538461538461539,0.45751633986928103
|
||||
85,0.7487046632124352,0.47750865051903113
|
||||
86,0.6614785992217899,0.5294117647058824
|
||||
87,0.4621212121212121,0.5081967213114754
|
||||
88,0.4491525423728814,0.2641509433962264
|
||||
89,0.8269841269841269,0.5470249520153551
|
||||
90,0.5114503816793893,0.40298507462686567
|
||||
91,0.8143382352941176,0.5011286681715575
|
||||
92,0.6861313868613139,0.48936170212765956
|
||||
93,0.5390070921985816,0.5394736842105263
|
||||
94,0.6614785992217899,0.5705882352941176
|
||||
95,0.8872255489021956,0.5129358830146231
|
||||
96,0.48905109489051096,0.4925373134328358
|
||||
97,0.7407407407407407,0.4714285714285714
|
||||
98,0.5037593984962406,0.5223880597014925
|
||||
99,0.4782608695652174,0.4909090909090909
|
||||
100,0.5106382978723404,0.4166666666666667
|
||||
|
Binary file not shown.
@@ -1,9 +0,0 @@
|
||||
,hit_rate,avg_age
|
||||
count,100.0,100.0
|
||||
mean,0.619673736493892,0.4976340127164911
|
||||
std,0.15169157416583476,0.07281557921922656
|
||||
min,0.41,0.2542372881355932
|
||||
25%,0.4959007993441279,0.46297849716446127
|
||||
50%,0.5411570894063774,0.48810190369540873
|
||||
75%,0.7357392018056838,0.5397796817625459
|
||||
max,0.9664941432852084,0.7083333333333334
|
||||
|
@@ -1,101 +0,0 @@
|
||||
obj_id,access_count,hits,misses,mu,lambda,hit_rate,avg_age
|
||||
1,591,535,56,0,5,90.52,0.9560067681895094
|
||||
2,244,197,47,0,2,80.74,0.7704918032786885
|
||||
3,361,307,54,0,3,85.04,0.9362880886426593
|
||||
4,736,679,57,0,6,92.26,0.938858695652174
|
||||
5,100,62,38,0,1,62.0,0.61
|
||||
6,628,571,57,0,5,90.92,0.8949044585987261
|
||||
7,123,85,38,0,1,69.11,0.7398373983739838
|
||||
8,128,83,45,0,1,64.84,0.5625
|
||||
9,1379,1320,59,0,11,95.72,0.9564902102973168
|
||||
10,1003,945,58,0,8,94.22,1.0259222333000997
|
||||
11,122,78,44,0,1,63.93,0.639344262295082
|
||||
12,117,75,42,0,1,64.1,0.6239316239316239
|
||||
13,148,106,42,0,1,71.62,0.7364864864864865
|
||||
14,108,70,38,0,1,64.81,0.7407407407407407
|
||||
15,257,209,48,0,2,81.32,0.7665369649805448
|
||||
16,106,67,39,0,1,63.21,0.5754716981132075
|
||||
17,507,452,55,0,4,89.15,0.8086785009861933
|
||||
18,128,87,41,0,1,67.97,0.71875
|
||||
19,518,464,54,0,4,89.58,0.8378378378378378
|
||||
20,112,72,40,0,1,64.29,0.625
|
||||
21,137,96,41,0,1,70.07,0.7591240875912408
|
||||
22,899,841,58,0,7,93.55,0.9365962180200222
|
||||
23,2525,2465,60,0,20,97.62,0.9275247524752476
|
||||
24,113,75,38,0,1,66.37,0.6902654867256637
|
||||
25,375,322,53,0,3,85.87,0.904
|
||||
26,129,88,41,0,1,68.22,0.7364341085271318
|
||||
27,123,84,39,0,1,68.29,0.6097560975609756
|
||||
28,1328,1270,58,0,11,95.63,1.0135542168674698
|
||||
29,1062,1004,58,0,9,94.54,0.8907721280602636
|
||||
30,124,83,41,0,1,66.94,0.6693548387096774
|
||||
31,249,200,49,0,2,80.32,0.8353413654618473
|
||||
32,250,201,49,0,2,80.4,0.76
|
||||
33,602,546,56,0,5,90.7,0.9069767441860465
|
||||
34,120,80,40,0,1,66.67,0.6666666666666666
|
||||
35,124,86,38,0,1,69.35,0.8387096774193549
|
||||
36,117,73,44,0,1,62.39,0.6153846153846154
|
||||
37,134,92,42,0,1,68.66,0.6492537313432836
|
||||
38,250,200,50,0,2,80.0,0.76
|
||||
39,121,78,43,0,1,64.46,0.6694214876033058
|
||||
40,128,82,46,0,1,64.06,0.78125
|
||||
41,103,63,40,0,1,61.17,0.5922330097087378
|
||||
42,570,514,56,0,4,90.18,0.8175438596491228
|
||||
43,375,322,53,0,3,85.87,0.9173333333333333
|
||||
44,119,82,37,0,1,68.91,0.7142857142857143
|
||||
45,115,76,39,0,1,66.09,0.6434782608695652
|
||||
46,254,206,48,0,2,81.1,0.8385826771653543
|
||||
47,243,191,52,0,2,78.6,0.7818930041152263
|
||||
48,107,68,39,0,1,63.55,0.616822429906542
|
||||
49,131,88,43,0,1,67.18,0.6870229007633588
|
||||
50,130,87,43,0,1,66.92,0.6076923076923076
|
||||
51,259,209,50,0,2,80.69,0.7722007722007722
|
||||
52,134,90,44,0,1,67.16,0.6716417910447762
|
||||
53,112,68,44,0,1,60.71,0.5357142857142857
|
||||
54,958,901,57,0,8,94.05,1.024008350730689
|
||||
55,140,97,43,0,1,69.29,0.7142857142857143
|
||||
56,2363,2303,60,0,19,97.46,0.9767245027507406
|
||||
57,112,72,40,0,1,64.29,0.7142857142857143
|
||||
58,108,67,41,0,1,62.04,0.6296296296296297
|
||||
59,252,202,50,0,2,80.16,0.7976190476190477
|
||||
60,2578,2518,60,0,22,97.67,0.951900698215671
|
||||
61,279,227,52,0,2,81.36,0.7383512544802867
|
||||
62,1070,1012,58,0,9,94.58,0.9271028037383178
|
||||
63,485,430,55,0,4,88.66,0.8412371134020619
|
||||
64,261,210,51,0,2,80.46,0.8467432950191571
|
||||
65,262,214,48,0,2,81.68,0.7824427480916031
|
||||
66,112,71,41,0,1,63.39,0.625
|
||||
67,350,297,53,0,3,84.86,0.82
|
||||
68,506,451,55,0,4,89.13,0.8695652173913043
|
||||
69,258,209,49,0,2,81.01,0.7364341085271318
|
||||
70,121,84,37,0,1,69.42,0.8181818181818182
|
||||
71,1424,1365,59,0,12,95.86,0.9824438202247191
|
||||
72,126,85,41,0,1,67.46,0.5793650793650794
|
||||
73,137,94,43,0,1,68.61,0.6788321167883211
|
||||
74,481,426,55,0,4,88.57,1.0395010395010396
|
||||
75,116,77,39,0,1,66.38,0.75
|
||||
76,111,70,41,0,1,63.06,0.6936936936936937
|
||||
77,115,75,40,0,1,65.22,0.7217391304347827
|
||||
78,489,435,54,0,4,88.96,0.9079754601226994
|
||||
79,133,91,42,0,1,68.42,0.6616541353383458
|
||||
80,133,89,44,0,1,66.92,0.7443609022556391
|
||||
81,214,165,49,0,2,77.1,0.6495327102803738
|
||||
82,345,291,54,0,3,84.35,0.8869565217391304
|
||||
83,123,80,43,0,1,65.04,0.6910569105691057
|
||||
84,125,81,44,0,1,64.8,0.656
|
||||
85,129,89,40,0,1,68.99,0.6666666666666666
|
||||
86,108,70,38,0,1,64.81,0.6018518518518519
|
||||
87,121,78,43,0,1,64.46,0.7024793388429752
|
||||
88,261,213,48,0,2,81.61,0.7739463601532567
|
||||
89,363,310,53,0,3,85.4,0.8705234159779615
|
||||
90,1132,1074,58,0,9,94.88,0.950530035335689
|
||||
91,127,85,42,0,1,66.93,0.5905511811023622
|
||||
92,114,77,37,0,1,67.54,0.6842105263157895
|
||||
93,343,290,53,0,3,84.55,0.880466472303207
|
||||
94,132,90,42,0,1,68.18,0.696969696969697
|
||||
95,365,313,52,0,3,85.75,0.8821917808219178
|
||||
96,257,208,49,0,2,80.93,0.7120622568093385
|
||||
97,880,823,57,0,7,93.52,1.0261363636363636
|
||||
98,6417,6356,61,0,52,99.05,0.8669160043634097
|
||||
99,2246,2186,60,0,18,97.33,0.9541406945681211
|
||||
100,110,73,37,0,1,66.36,0.5909090909090909
|
||||
|
@@ -1,101 +0,0 @@
|
||||
obj_id,hit_rate,avg_age
|
||||
1,0.9052453468697124,1.0560747663551402
|
||||
2,0.8073770491803278,0.9543147208121827
|
||||
3,0.850415512465374,1.1009771986970684
|
||||
4,0.9225543478260869,1.0176730486008836
|
||||
5,0.62,0.9838709677419355
|
||||
6,0.9092356687898089,0.9842381786339754
|
||||
7,0.6910569105691057,1.0705882352941176
|
||||
8,0.6484375,0.8674698795180723
|
||||
9,0.9572153734590283,0.9992424242424243
|
||||
10,0.942173479561316,1.0888888888888888
|
||||
11,0.639344262295082,1.0
|
||||
12,0.6410256410256411,0.9733333333333334
|
||||
13,0.7162162162162162,1.028301886792453
|
||||
14,0.6481481481481481,1.1428571428571428
|
||||
15,0.8132295719844358,0.9425837320574163
|
||||
16,0.6320754716981132,0.9104477611940298
|
||||
17,0.8915187376725838,0.9070796460176991
|
||||
18,0.6796875,1.0574712643678161
|
||||
19,0.8957528957528957,0.9353448275862069
|
||||
20,0.6428571428571429,0.9722222222222222
|
||||
21,0.7007299270072993,1.0833333333333333
|
||||
22,0.9354838709677419,1.0011890606420928
|
||||
23,0.9762376237623762,0.9501014198782961
|
||||
24,0.6637168141592921,1.04
|
||||
25,0.8586666666666667,1.0527950310559007
|
||||
26,0.6821705426356589,1.0795454545454546
|
||||
27,0.6829268292682927,0.8928571428571429
|
||||
28,0.9563253012048193,1.0598425196850394
|
||||
29,0.9453860640301318,0.9422310756972112
|
||||
30,0.6693548387096774,1.0
|
||||
31,0.8032128514056225,1.04
|
||||
32,0.804,0.945273631840796
|
||||
33,0.9069767441860465,1.0
|
||||
34,0.6666666666666666,1.0
|
||||
35,0.6935483870967742,1.2093023255813953
|
||||
36,0.6239316239316239,0.9863013698630136
|
||||
37,0.6865671641791045,0.9456521739130435
|
||||
38,0.8,0.95
|
||||
39,0.6446280991735537,1.0384615384615385
|
||||
40,0.640625,1.2195121951219512
|
||||
41,0.6116504854368932,0.9682539682539683
|
||||
42,0.9017543859649123,0.9066147859922179
|
||||
43,0.8586666666666667,1.0683229813664596
|
||||
44,0.6890756302521008,1.0365853658536586
|
||||
45,0.6608695652173913,0.9736842105263158
|
||||
46,0.8110236220472441,1.0339805825242718
|
||||
47,0.7860082304526749,0.9947643979057592
|
||||
48,0.6355140186915887,0.9705882352941176
|
||||
49,0.6717557251908397,1.0227272727272727
|
||||
50,0.6692307692307692,0.9080459770114943
|
||||
51,0.806949806949807,0.9569377990430622
|
||||
52,0.6716417910447762,1.0
|
||||
53,0.6071428571428571,0.8823529411764706
|
||||
54,0.9405010438413361,1.0887902330743617
|
||||
55,0.6928571428571428,1.0309278350515463
|
||||
56,0.9746085484553534,1.0021710811984368
|
||||
57,0.6428571428571429,1.1111111111111112
|
||||
58,0.6203703703703703,1.0149253731343284
|
||||
59,0.8015873015873016,0.995049504950495
|
||||
60,0.9767261442979054,0.9745830023828436
|
||||
61,0.8136200716845878,0.9074889867841409
|
||||
62,0.9457943925233645,0.9802371541501976
|
||||
63,0.8865979381443299,0.9488372093023256
|
||||
64,0.8045977011494253,1.0523809523809524
|
||||
65,0.816793893129771,0.9579439252336449
|
||||
66,0.6339285714285714,0.9859154929577465
|
||||
67,0.8485714285714285,0.9663299663299664
|
||||
68,0.8913043478260869,0.975609756097561
|
||||
69,0.810077519379845,0.9090909090909091
|
||||
70,0.6942148760330579,1.1785714285714286
|
||||
71,0.9585674157303371,1.0249084249084248
|
||||
72,0.6746031746031746,0.8588235294117647
|
||||
73,0.6861313868613139,0.9893617021276596
|
||||
74,0.8856548856548857,1.1737089201877935
|
||||
75,0.6637931034482759,1.12987012987013
|
||||
76,0.6306306306306306,1.1
|
||||
77,0.6521739130434783,1.1066666666666667
|
||||
78,0.8895705521472392,1.0206896551724138
|
||||
79,0.6842105263157895,0.967032967032967
|
||||
80,0.6691729323308271,1.1123595505617978
|
||||
81,0.7710280373831776,0.8424242424242424
|
||||
82,0.8434782608695652,1.0515463917525774
|
||||
83,0.6504065040650406,1.0625
|
||||
84,0.648,1.0123456790123457
|
||||
85,0.689922480620155,0.9662921348314607
|
||||
86,0.6481481481481481,0.9285714285714286
|
||||
87,0.6446280991735537,1.0897435897435896
|
||||
88,0.8160919540229885,0.9483568075117371
|
||||
89,0.8539944903581267,1.0193548387096774
|
||||
90,0.9487632508833922,1.0018621973929236
|
||||
91,0.6692913385826772,0.8823529411764706
|
||||
92,0.6754385964912281,1.0129870129870129
|
||||
93,0.8454810495626822,1.0413793103448277
|
||||
94,0.6818181818181818,1.0222222222222221
|
||||
95,0.8575342465753425,1.0287539936102237
|
||||
96,0.8093385214007782,0.8798076923076923
|
||||
97,0.9352272727272727,1.097205346294046
|
||||
98,0.9904940003116721,0.8752359974826935
|
||||
99,0.9732858414959928,0.9803293687099726
|
||||
100,0.6636363636363637,0.8904109589041096
|
||||
|
Binary file not shown.
@@ -1,9 +0,0 @@
|
||||
,hit_rate,avg_age
|
||||
count,100.0,100.0
|
||||
mean,0.769815289387402,1.0034930453709514
|
||||
std,0.11953590678844736,0.07668973688754598
|
||||
min,0.6071428571428571,0.8424242424242424
|
||||
25%,0.66377403112603,0.953261395578711
|
||||
50%,0.743622126799697,1.0
|
||||
75%,0.8858906487772468,1.0517550319096711
|
||||
max,0.9904940003116721,1.2195121951219512
|
||||
|
@@ -1,101 +0,0 @@
|
||||
obj_id,access_count,hits,misses,mu,lambda,hit_rate,avg_age
|
||||
1,127,93,34,0,1,73.23,1.062992125984252
|
||||
2,148,116,32,0,1,78.38,1.2364864864864864
|
||||
3,117,85,32,0,1,72.65,1.0940170940170941
|
||||
4,125,91,34,0,1,72.8,1.032
|
||||
5,140,106,34,0,1,75.71,1.1642857142857144
|
||||
6,130,98,32,0,1,75.38,1.2538461538461538
|
||||
7,263,225,38,0,2,85.55,1.11787072243346
|
||||
8,109,78,31,0,1,71.56,1.073394495412844
|
||||
9,399,361,38,0,3,90.48,1.3358395989974938
|
||||
10,127,93,34,0,1,73.23,1.1496062992125984
|
||||
11,122,89,33,0,1,72.95,1.0901639344262295
|
||||
12,142,108,34,0,1,76.06,1.1126760563380282
|
||||
13,123,88,35,0,1,71.54,0.983739837398374
|
||||
14,131,98,33,0,1,74.81,1.251908396946565
|
||||
15,141,110,31,0,1,78.01,1.148936170212766
|
||||
16,102,69,33,0,1,67.65,0.9901960784313726
|
||||
17,112,79,33,0,1,70.54,0.9910714285714286
|
||||
18,372,334,38,0,3,89.78,1.3091397849462365
|
||||
19,102,73,29,0,1,71.57,1.0784313725490196
|
||||
20,148,114,34,0,1,77.03,1.114864864864865
|
||||
21,365,327,38,0,3,89.59,1.3068493150684932
|
||||
22,520,480,40,0,4,92.31,1.4384615384615385
|
||||
23,273,235,38,0,2,86.08,1.3626373626373627
|
||||
24,153,119,34,0,1,77.78,1.1176470588235294
|
||||
25,803,762,41,0,7,94.89,1.3424657534246576
|
||||
26,128,96,32,0,1,75.0,1.1171875
|
||||
27,107,74,33,0,1,69.16,1.0841121495327102
|
||||
28,946,905,41,0,8,95.67,1.3107822410147991
|
||||
29,115,84,31,0,1,73.04,1.0347826086956522
|
||||
30,115,84,31,0,1,73.04,1.0956521739130434
|
||||
31,258,222,36,0,2,86.05,1.306201550387597
|
||||
32,118,85,33,0,1,72.03,0.9830508474576272
|
||||
33,123,90,33,0,1,73.17,1.2926829268292683
|
||||
34,138,104,34,0,1,75.36,1.0942028985507246
|
||||
35,226,190,36,0,2,84.07,1.0309734513274336
|
||||
36,261,224,37,0,2,85.82,1.2528735632183907
|
||||
37,440,401,39,0,3,91.14,1.3295454545454546
|
||||
38,122,89,33,0,1,72.95,1.0573770491803278
|
||||
39,127,96,31,0,1,75.59,1.0551181102362204
|
||||
40,102,73,29,0,1,71.57,1.0784313725490196
|
||||
41,139,107,32,0,1,76.98,1.1007194244604317
|
||||
42,118,86,32,0,1,72.88,1.0677966101694916
|
||||
43,135,102,33,0,1,75.56,1.0518518518518518
|
||||
44,251,215,36,0,2,85.66,1.2868525896414342
|
||||
45,253,217,36,0,2,85.77,1.2727272727272727
|
||||
46,139,107,32,0,1,76.98,1.0359712230215827
|
||||
47,120,90,30,0,1,75.0,1.15
|
||||
48,257,220,37,0,2,85.6,1.2684824902723735
|
||||
49,256,220,36,0,2,85.94,1.24609375
|
||||
50,2480,2438,42,0,20,98.31,1.3608870967741935
|
||||
51,105,77,28,0,1,73.33,1.0666666666666667
|
||||
52,133,103,30,0,1,77.44,1.2781954887218046
|
||||
53,804,763,41,0,6,94.9,1.4900497512437811
|
||||
54,137,105,32,0,1,76.64,1.1532846715328466
|
||||
55,100,70,30,0,1,70.0,1.03
|
||||
56,146,113,33,0,1,77.4,1.3013698630136987
|
||||
57,124,90,34,0,1,72.58,1.0080645161290323
|
||||
58,140,108,32,0,1,77.14,1.2
|
||||
59,108,78,30,0,1,72.22,0.9722222222222222
|
||||
60,132,99,33,0,1,75.0,1.2121212121212122
|
||||
61,601,561,40,0,5,93.34,1.4226289517470883
|
||||
62,116,85,31,0,1,73.28,1.103448275862069
|
||||
63,109,79,30,0,1,72.48,0.9908256880733946
|
||||
64,127,94,33,0,1,74.02,1.1574803149606299
|
||||
65,128,96,32,0,1,75.0,1.140625
|
||||
66,252,216,36,0,2,85.71,1.3492063492063493
|
||||
67,140,110,30,0,1,78.57,1.1285714285714286
|
||||
68,108,77,31,0,1,71.3,1.1296296296296295
|
||||
69,247,210,37,0,2,85.02,1.2469635627530364
|
||||
70,147,112,35,0,1,76.19,1.129251700680272
|
||||
71,125,94,31,0,1,75.2,0.912
|
||||
72,276,238,38,0,2,86.23,1.3043478260869565
|
||||
73,382,345,37,0,3,90.31,1.4162303664921465
|
||||
74,258,221,37,0,2,85.66,1.197674418604651
|
||||
75,122,89,33,0,1,72.95,1.1557377049180328
|
||||
76,134,99,35,0,1,73.88,1.0671641791044777
|
||||
77,113,85,28,0,1,75.22,0.9823008849557522
|
||||
78,485,445,40,0,4,91.75,1.3278350515463917
|
||||
79,138,109,29,0,1,78.99,1.1594202898550725
|
||||
80,124,92,32,0,1,74.19,1.0725806451612903
|
||||
81,126,97,29,0,1,76.98,1.1984126984126984
|
||||
82,136,104,32,0,1,76.47,1.0
|
||||
83,123,92,31,0,1,74.8,0.991869918699187
|
||||
84,132,101,31,0,1,76.52,1.1818181818181819
|
||||
85,223,187,36,0,2,83.86,1.3183856502242153
|
||||
86,126,97,29,0,1,76.98,1.1666666666666667
|
||||
87,118,85,33,0,1,72.03,0.9915254237288136
|
||||
88,383,344,39,0,3,89.82,1.5221932114882506
|
||||
89,136,104,32,0,1,76.47,1.1102941176470589
|
||||
90,122,92,30,0,1,75.41,1.1885245901639345
|
||||
91,121,87,34,0,1,71.9,0.9338842975206612
|
||||
92,492,452,40,0,4,91.87,1.4146341463414633
|
||||
93,385,346,39,0,3,89.87,1.405194805194805
|
||||
94,127,94,33,0,1,74.02,1.1732283464566928
|
||||
95,132,97,35,0,1,73.48,1.0606060606060606
|
||||
96,5506,5464,42,0,45,99.24,1.4139120958953868
|
||||
97,105,74,31,0,1,70.48,1.0285714285714285
|
||||
98,261,225,36,0,2,86.21,1.2950191570881227
|
||||
99,381,343,38,0,3,90.03,1.220472440944882
|
||||
100,117,85,32,0,1,72.65,1.1452991452991452
|
||||
|
@@ -1,101 +0,0 @@
|
||||
obj_id,hit_rate,avg_age
|
||||
1,0.7322834645669292,1.4516129032258065
|
||||
2,0.7837837837837838,1.5775862068965518
|
||||
3,0.7264957264957265,1.5058823529411764
|
||||
4,0.728,1.4175824175824177
|
||||
5,0.7571428571428571,1.5377358490566038
|
||||
6,0.7538461538461538,1.663265306122449
|
||||
7,0.8555133079847909,1.3066666666666666
|
||||
8,0.7155963302752294,1.5
|
||||
9,0.9047619047619048,1.4764542936288088
|
||||
10,0.7322834645669292,1.5698924731182795
|
||||
11,0.7295081967213115,1.4943820224719102
|
||||
12,0.7605633802816901,1.462962962962963
|
||||
13,0.7154471544715447,1.375
|
||||
14,0.7480916030534351,1.6734693877551021
|
||||
15,0.7801418439716312,1.4727272727272727
|
||||
16,0.6764705882352942,1.463768115942029
|
||||
17,0.7053571428571429,1.4050632911392404
|
||||
18,0.8978494623655914,1.4580838323353293
|
||||
19,0.7156862745098039,1.5068493150684932
|
||||
20,0.7702702702702703,1.4473684210526316
|
||||
21,0.8958904109589041,1.4587155963302751
|
||||
22,0.9230769230769231,1.5583333333333333
|
||||
23,0.8608058608058609,1.5829787234042554
|
||||
24,0.7777777777777778,1.4369747899159664
|
||||
25,0.9489414694894147,1.4146981627296589
|
||||
26,0.75,1.4895833333333333
|
||||
27,0.6915887850467289,1.5675675675675675
|
||||
28,0.9566596194503171,1.3701657458563536
|
||||
29,0.7304347826086957,1.4166666666666667
|
||||
30,0.7304347826086957,1.5
|
||||
31,0.8604651162790697,1.518018018018018
|
||||
32,0.7203389830508474,1.3647058823529412
|
||||
33,0.7317073170731707,1.7666666666666666
|
||||
34,0.7536231884057971,1.4519230769230769
|
||||
35,0.8407079646017699,1.2263157894736842
|
||||
36,0.8582375478927203,1.4598214285714286
|
||||
37,0.9113636363636364,1.458852867830424
|
||||
38,0.7295081967213115,1.449438202247191
|
||||
39,0.7559055118110236,1.3958333333333333
|
||||
40,0.7156862745098039,1.5068493150684932
|
||||
41,0.7697841726618705,1.4299065420560748
|
||||
42,0.7288135593220338,1.4651162790697674
|
||||
43,0.7555555555555555,1.392156862745098
|
||||
44,0.8565737051792829,1.5023255813953489
|
||||
45,0.857707509881423,1.4838709677419355
|
||||
46,0.7697841726618705,1.3457943925233644
|
||||
47,0.75,1.5333333333333334
|
||||
48,0.8560311284046692,1.481818181818182
|
||||
49,0.859375,1.45
|
||||
50,0.9830645161290322,1.3843314191960623
|
||||
51,0.7333333333333333,1.4545454545454546
|
||||
52,0.7744360902255639,1.6504854368932038
|
||||
53,0.9490049751243781,1.5701179554390563
|
||||
54,0.7664233576642335,1.5047619047619047
|
||||
55,0.7,1.4714285714285715
|
||||
56,0.773972602739726,1.6814159292035398
|
||||
57,0.7258064516129032,1.3888888888888888
|
||||
58,0.7714285714285715,1.5555555555555556
|
||||
59,0.7222222222222222,1.3461538461538463
|
||||
60,0.75,1.6161616161616161
|
||||
61,0.9334442595673876,1.5240641711229947
|
||||
62,0.7327586206896551,1.5058823529411764
|
||||
63,0.7247706422018348,1.3670886075949367
|
||||
64,0.7401574803149606,1.5638297872340425
|
||||
65,0.75,1.5208333333333333
|
||||
66,0.8571428571428571,1.5740740740740742
|
||||
67,0.7857142857142857,1.4363636363636363
|
||||
68,0.7129629629629629,1.5844155844155845
|
||||
69,0.8502024291497976,1.4666666666666666
|
||||
70,0.7619047619047619,1.4821428571428572
|
||||
71,0.752,1.2127659574468086
|
||||
72,0.8623188405797102,1.5126050420168067
|
||||
73,0.9031413612565445,1.5681159420289854
|
||||
74,0.8565891472868217,1.3981900452488687
|
||||
75,0.7295081967213115,1.5842696629213484
|
||||
76,0.7388059701492538,1.4444444444444444
|
||||
77,0.7522123893805309,1.3058823529411765
|
||||
78,0.9175257731958762,1.447191011235955
|
||||
79,0.7898550724637681,1.4678899082568808
|
||||
80,0.7419354838709677,1.4456521739130435
|
||||
81,0.7698412698412699,1.556701030927835
|
||||
82,0.7647058823529411,1.3076923076923077
|
||||
83,0.7479674796747967,1.326086956521739
|
||||
84,0.7651515151515151,1.5445544554455446
|
||||
85,0.8385650224215246,1.572192513368984
|
||||
86,0.7698412698412699,1.5154639175257731
|
||||
87,0.7203389830508474,1.3764705882352941
|
||||
88,0.8981723237597912,1.694767441860465
|
||||
89,0.7647058823529411,1.4519230769230769
|
||||
90,0.7540983606557377,1.576086956521739
|
||||
91,0.71900826446281,1.2988505747126438
|
||||
92,0.9186991869918699,1.5398230088495575
|
||||
93,0.8987012987012987,1.5635838150289016
|
||||
94,0.7401574803149606,1.5851063829787233
|
||||
95,0.7348484848484849,1.443298969072165
|
||||
96,0.9923719578641482,1.4247803806734993
|
||||
97,0.7047619047619048,1.4594594594594594
|
||||
98,0.8620689655172413,1.5022222222222221
|
||||
99,0.9002624671916011,1.3556851311953353
|
||||
100,0.7264957264957265,1.576470588235294
|
||||
|
@@ -1,9 +0,0 @@
|
||||
,hit_rate,avg_age
|
||||
count,100.0,100.0
|
||||
mean,0.7906927824364712,1.479522176980214
|
||||
std,0.07676518565586872,0.09745960173237347
|
||||
min,0.6764705882352942,1.2127659574468086
|
||||
25%,0.731389183457052,1.428625001710431
|
||||
50%,0.7612340710932259,1.472077922077922
|
||||
75%,0.8567275747508305,1.5473047304730474
|
||||
max,0.9923719578641482,1.7666666666666666
|
||||
|
@@ -1,101 +0,0 @@
|
||||
obj_id,access_count,hits,misses,mu,lambda,hit_rate,avg_age
|
||||
1,113,90,23,0,1,79.65,1.6460176991150441
|
||||
2,127,103,24,0,1,81.1,1.4566929133858268
|
||||
3,119,95,24,0,1,79.83,1.588235294117647
|
||||
4,365,337,28,0,3,92.33,1.7808219178082192
|
||||
5,257,229,28,0,2,89.11,1.7704280155642023
|
||||
6,591,562,29,0,5,95.09,1.9137055837563453
|
||||
7,482,453,29,0,4,93.98,1.7738589211618256
|
||||
8,129,106,23,0,1,82.17,1.7596899224806202
|
||||
9,131,105,26,0,1,80.15,1.3206106870229009
|
||||
10,238,211,27,0,2,88.66,1.684873949579832
|
||||
11,135,110,25,0,1,81.48,1.6592592592592592
|
||||
12,855,826,29,0,7,96.61,2.024561403508772
|
||||
13,113,90,23,0,1,79.65,1.6194690265486726
|
||||
14,1330,1301,29,0,11,97.82,1.8406015037593986
|
||||
15,479,451,28,0,4,94.15,1.8246346555323592
|
||||
16,372,344,28,0,3,92.47,1.8629032258064515
|
||||
17,129,104,25,0,1,80.62,1.689922480620155
|
||||
18,118,94,24,0,1,79.66,1.6016949152542372
|
||||
19,226,200,26,0,2,88.5,1.8185840707964602
|
||||
20,117,93,24,0,1,79.49,1.6666666666666667
|
||||
21,672,643,29,0,6,95.68,1.9345238095238095
|
||||
22,527,498,29,0,4,94.5,1.8444022770398483
|
||||
23,132,107,25,0,1,81.06,1.5757575757575757
|
||||
24,111,87,24,0,1,78.38,1.4594594594594594
|
||||
25,107,82,25,0,1,76.64,1.7289719626168225
|
||||
26,106,81,25,0,1,76.42,1.509433962264151
|
||||
27,119,96,23,0,1,80.67,1.6722689075630253
|
||||
28,219,193,26,0,2,88.13,1.82648401826484
|
||||
29,253,225,28,0,2,88.93,1.841897233201581
|
||||
30,114,89,25,0,1,78.07,1.5614035087719298
|
||||
31,218,190,28,0,2,87.16,1.9220183486238531
|
||||
32,117,92,25,0,1,78.63,1.5042735042735043
|
||||
33,120,96,24,0,1,80.0,1.6833333333333333
|
||||
34,376,348,28,0,3,92.55,1.7207446808510638
|
||||
35,1366,1336,30,0,12,97.8,1.9546120058565153
|
||||
36,238,211,27,0,2,88.66,1.7941176470588236
|
||||
37,118,94,24,0,1,79.66,1.7118644067796611
|
||||
38,704,675,29,0,6,95.88,1.9630681818181819
|
||||
39,112,89,23,0,1,79.46,1.6607142857142858
|
||||
40,123,100,23,0,1,81.3,1.6910569105691058
|
||||
41,122,98,24,0,1,80.33,1.721311475409836
|
||||
42,336,308,28,0,3,91.67,1.9285714285714286
|
||||
43,814,785,29,0,7,96.44,1.8636363636363635
|
||||
44,358,331,27,0,3,92.46,1.8463687150837989
|
||||
45,115,91,24,0,1,79.13,1.626086956521739
|
||||
46,112,88,24,0,1,78.57,1.4642857142857142
|
||||
47,122,98,24,0,1,80.33,1.6557377049180328
|
||||
48,113,90,23,0,1,79.65,1.4867256637168142
|
||||
49,1108,1079,29,0,9,97.38,1.9747292418772564
|
||||
50,118,92,26,0,1,77.97,1.5423728813559323
|
||||
51,115,92,23,0,1,80.0,1.5913043478260869
|
||||
52,120,95,25,0,1,79.17,1.3666666666666667
|
||||
53,338,310,28,0,3,91.72,1.7751479289940828
|
||||
54,236,209,27,0,2,88.56,1.8008474576271187
|
||||
55,115,92,23,0,1,80.0,1.4608695652173913
|
||||
56,123,99,24,0,1,80.49,1.6504065040650406
|
||||
57,133,109,24,0,1,81.95,1.7067669172932332
|
||||
58,255,228,27,0,2,89.41,1.6745098039215687
|
||||
59,100,77,23,0,1,77.0,1.37
|
||||
60,133,107,26,0,1,80.45,1.3759398496240602
|
||||
61,147,121,26,0,1,82.31,1.619047619047619
|
||||
62,130,105,25,0,1,80.77,1.7461538461538462
|
||||
63,551,522,29,0,5,94.74,1.7568058076225046
|
||||
64,155,130,25,0,1,83.87,1.5806451612903225
|
||||
65,251,223,28,0,2,88.84,1.7091633466135459
|
||||
66,102,79,23,0,1,77.45,1.4313725490196079
|
||||
67,353,325,28,0,3,92.07,1.7705382436260624
|
||||
68,245,218,27,0,2,88.98,1.616326530612245
|
||||
69,1245,1216,29,0,11,97.67,1.8441767068273092
|
||||
70,234,207,27,0,2,88.46,1.6581196581196582
|
||||
71,130,106,24,0,1,81.54,1.5
|
||||
72,104,80,24,0,1,76.92,1.4807692307692308
|
||||
73,112,89,23,0,1,79.46,1.4375
|
||||
74,103,80,23,0,1,77.67,1.4077669902912622
|
||||
75,19833,19803,30,0,166,99.85,1.58624514697726
|
||||
76,134,109,25,0,1,81.34,1.3955223880597014
|
||||
77,129,105,24,0,1,81.4,1.6356589147286822
|
||||
78,104,81,23,0,1,77.88,1.3269230769230769
|
||||
79,139,116,23,0,1,83.45,1.669064748201439
|
||||
80,113,89,24,0,1,78.76,1.654867256637168
|
||||
81,115,91,24,0,1,79.13,1.5565217391304347
|
||||
82,120,95,25,0,1,79.17,1.75
|
||||
83,106,83,23,0,1,78.3,1.5943396226415094
|
||||
84,106,82,24,0,1,77.36,1.7075471698113207
|
||||
85,242,215,27,0,2,88.84,1.756198347107438
|
||||
86,102,79,23,0,1,77.45,1.5588235294117647
|
||||
87,100,78,22,0,1,78.0,1.38
|
||||
88,125,101,24,0,1,80.8,1.504
|
||||
89,129,104,25,0,1,80.62,1.682170542635659
|
||||
90,100,75,25,0,1,75.0,1.46
|
||||
91,243,216,27,0,2,88.89,1.6584362139917694
|
||||
92,121,97,24,0,1,80.17,1.4545454545454546
|
||||
93,377,349,28,0,3,92.57,1.8249336870026525
|
||||
94,114,90,24,0,1,78.95,1.5
|
||||
95,135,110,25,0,1,81.48,1.8148148148148149
|
||||
96,112,89,23,0,1,79.46,1.5178571428571428
|
||||
97,124,101,23,0,1,81.45,1.6129032258064515
|
||||
98,1582,1552,30,0,13,98.1,1.9835651074589127
|
||||
99,2247,2217,30,0,19,98.66,1.9554962171784602
|
||||
100,119,94,25,0,1,78.99,1.4873949579831933
|
||||
|
@@ -1,101 +0,0 @@
|
||||
obj_id,hit_rate,avg_age
|
||||
1,0.7964601769911505,2.066666666666667
|
||||
2,0.8110236220472441,1.796116504854369
|
||||
3,0.7983193277310925,1.9894736842105263
|
||||
4,0.9232876712328767,1.9287833827893175
|
||||
5,0.8910505836575876,1.9868995633187774
|
||||
6,0.9509306260575296,2.012455516014235
|
||||
7,0.9398340248962656,1.8874172185430464
|
||||
8,0.8217054263565892,2.141509433962264
|
||||
9,0.8015267175572519,1.6476190476190475
|
||||
10,0.8865546218487395,1.900473933649289
|
||||
11,0.8148148148148148,2.036363636363636
|
||||
12,0.9660818713450292,2.095641646489104
|
||||
13,0.7964601769911505,2.033333333333333
|
||||
14,0.9781954887218045,1.88162951575711
|
||||
15,0.941544885177453,1.9379157427937916
|
||||
16,0.9247311827956989,2.01453488372093
|
||||
17,0.8062015503875969,2.0961538461538463
|
||||
18,0.7966101694915254,2.0106382978723403
|
||||
19,0.8849557522123894,2.055
|
||||
20,0.7948717948717948,2.096774193548387
|
||||
21,0.9568452380952381,2.021772939346812
|
||||
22,0.9449715370018975,1.9518072289156627
|
||||
23,0.8106060606060606,1.9439252336448598
|
||||
24,0.7837837837837838,1.8620689655172413
|
||||
25,0.7663551401869159,2.2560975609756095
|
||||
26,0.7641509433962265,1.9753086419753085
|
||||
27,0.8067226890756303,2.0729166666666665
|
||||
28,0.8812785388127854,2.0725388601036268
|
||||
29,0.8893280632411067,2.071111111111111
|
||||
30,0.7807017543859649,2.0
|
||||
31,0.8715596330275229,2.205263157894737
|
||||
32,0.7863247863247863,1.9130434782608696
|
||||
33,0.8,2.1041666666666665
|
||||
34,0.925531914893617,1.8591954022988506
|
||||
35,0.9780380673499268,1.998502994011976
|
||||
36,0.8865546218487395,2.023696682464455
|
||||
37,0.7966101694915254,2.148936170212766
|
||||
38,0.9588068181818182,2.0474074074074076
|
||||
39,0.7946428571428571,2.0898876404494384
|
||||
40,0.8130081300813008,2.08
|
||||
41,0.8032786885245902,2.142857142857143
|
||||
42,0.9166666666666666,2.103896103896104
|
||||
43,0.9643734643734644,1.932484076433121
|
||||
44,0.9245810055865922,1.9969788519637461
|
||||
45,0.7913043478260869,2.0549450549450547
|
||||
46,0.7857142857142857,1.8636363636363635
|
||||
47,0.8032786885245902,2.061224489795918
|
||||
48,0.7964601769911505,1.8666666666666667
|
||||
49,0.973826714801444,2.0278035217794255
|
||||
50,0.7796610169491526,1.9782608695652173
|
||||
51,0.8,1.9891304347826086
|
||||
52,0.7916666666666666,1.7263157894736842
|
||||
53,0.9171597633136095,1.935483870967742
|
||||
54,0.885593220338983,2.0334928229665072
|
||||
55,0.8,1.826086956521739
|
||||
56,0.8048780487804879,2.0505050505050506
|
||||
57,0.8195488721804511,2.0825688073394497
|
||||
58,0.8941176470588236,1.8728070175438596
|
||||
59,0.77,1.7792207792207793
|
||||
60,0.8045112781954887,1.7102803738317758
|
||||
61,0.8231292517006803,1.9669421487603307
|
||||
62,0.8076923076923077,2.1619047619047618
|
||||
63,0.9473684210526315,1.8544061302681993
|
||||
64,0.8387096774193549,1.8846153846153846
|
||||
65,0.8884462151394422,1.9237668161434978
|
||||
66,0.7745098039215687,1.8481012658227849
|
||||
67,0.9206798866855525,1.9230769230769231
|
||||
68,0.889795918367347,1.81651376146789
|
||||
69,0.976706827309237,1.888157894736842
|
||||
70,0.8846153846153846,1.8743961352657006
|
||||
71,0.8153846153846154,1.8396226415094339
|
||||
72,0.7692307692307693,1.925
|
||||
73,0.7946428571428571,1.8089887640449438
|
||||
74,0.7766990291262136,1.8125
|
||||
75,0.9984873695356224,1.588648184618492
|
||||
76,0.8134328358208955,1.7155963302752293
|
||||
77,0.813953488372093,2.0095238095238095
|
||||
78,0.7788461538461539,1.7037037037037037
|
||||
79,0.8345323741007195,2.0
|
||||
80,0.7876106194690266,2.101123595505618
|
||||
81,0.7913043478260869,1.967032967032967
|
||||
82,0.7916666666666666,2.210526315789474
|
||||
83,0.7830188679245284,2.036144578313253
|
||||
84,0.7735849056603774,2.207317073170732
|
||||
85,0.8884297520661157,1.9767441860465116
|
||||
86,0.7745098039215687,2.0126582278481013
|
||||
87,0.78,1.7692307692307692
|
||||
88,0.808,1.8613861386138615
|
||||
89,0.8062015503875969,2.0865384615384617
|
||||
90,0.75,1.9466666666666668
|
||||
91,0.8888888888888888,1.8657407407407407
|
||||
92,0.8016528925619835,1.8144329896907216
|
||||
93,0.9257294429708223,1.9713467048710602
|
||||
94,0.7894736842105263,1.9
|
||||
95,0.8148148148148148,2.227272727272727
|
||||
96,0.7946428571428571,1.9101123595505618
|
||||
97,0.8145161290322581,1.9801980198019802
|
||||
98,0.9810366624525917,2.0219072164948453
|
||||
99,0.986648865153538,1.981957600360848
|
||||
100,0.7899159663865546,1.8829787234042554
|
||||
|
Binary file not shown.
Binary file not shown.
@@ -1,9 +0,0 @@
|
||||
,hit_rate,avg_age
|
||||
count,100.0,100.0
|
||||
mean,0.8461611168860607,1.966244726179581
|
||||
std,0.06904890299740231,0.12918574131498722
|
||||
min,0.75,1.588648184618492
|
||||
25%,0.7946428571428571,1.8798211706342576
|
||||
50%,0.8120158760642724,1.9792294446835987
|
||||
75%,0.8918173495078966,2.054958791208791
|
||||
max,0.9984873695356224,2.2560975609756095
|
||||
|
@@ -1,101 +0,0 @@
|
||||
obj_id,access_count,hits,misses,mu,lambda,hit_rate,avg_age
|
||||
1,136,113,23,0,1,83.09,2.0808823529411766
|
||||
2,139,117,22,0,1,84.17,2.1870503597122304
|
||||
3,151,127,24,0,1,84.11,1.8344370860927153
|
||||
4,385,360,25,0,3,93.51,2.412987012987013
|
||||
5,135,112,23,0,1,82.96,1.8
|
||||
6,130,107,23,0,1,82.31,1.823076923076923
|
||||
7,129,107,22,0,1,82.95,2.1782945736434107
|
||||
8,133,110,23,0,1,82.71,2.075187969924812
|
||||
9,132,110,22,0,1,83.33,2.1136363636363638
|
||||
10,113,92,21,0,1,81.42,2.0707964601769913
|
||||
11,278,253,25,0,2,91.01,2.0755395683453237
|
||||
12,126,103,23,0,1,81.75,2.007936507936508
|
||||
13,128,105,23,0,1,82.03,2.109375
|
||||
14,147,126,21,0,1,85.71,2.183673469387755
|
||||
15,137,113,24,0,1,82.48,2.0072992700729926
|
||||
16,123,100,23,0,1,81.3,1.8048780487804879
|
||||
17,239,215,24,0,2,89.96,2.2677824267782425
|
||||
18,135,113,22,0,1,83.7,2.1481481481481484
|
||||
19,124,102,22,0,1,82.26,2.161290322580645
|
||||
20,264,239,25,0,2,90.53,2.242424242424242
|
||||
21,124,101,23,0,1,81.45,2.1129032258064515
|
||||
22,277,252,25,0,2,90.97,1.963898916967509
|
||||
23,127,105,22,0,1,82.68,2.0078740157480315
|
||||
24,2113,2086,27,0,16,98.72,2.4557501183151915
|
||||
25,271,247,24,0,2,91.14,2.2287822878228782
|
||||
26,126,104,22,0,1,82.54,1.8571428571428572
|
||||
27,160,137,23,0,1,85.62,2.3375
|
||||
28,122,99,23,0,1,81.15,2.0737704918032787
|
||||
29,768,742,26,0,6,96.61,2.5247395833333335
|
||||
30,267,243,24,0,2,91.01,2.4644194756554305
|
||||
31,260,236,24,0,2,90.77,2.326923076923077
|
||||
32,127,105,22,0,1,82.68,1.9448818897637796
|
||||
33,131,109,22,0,1,83.21,1.8931297709923665
|
||||
34,135,111,24,0,1,82.22,2.037037037037037
|
||||
35,378,353,25,0,3,93.39,2.328042328042328
|
||||
36,408,382,26,0,3,93.63,2.2205882352941178
|
||||
37,121,98,23,0,1,80.99,2.024793388429752
|
||||
38,139,116,23,0,1,83.45,2.028776978417266
|
||||
39,279,254,25,0,2,91.04,2.3512544802867383
|
||||
40,580,554,26,0,4,95.52,2.360344827586207
|
||||
41,276,251,25,0,2,90.94,2.25
|
||||
42,131,111,20,0,1,84.73,2.1374045801526718
|
||||
43,385,360,25,0,3,93.51,2.3766233766233764
|
||||
44,690,664,26,0,5,96.23,2.294202898550725
|
||||
45,139,116,23,0,1,83.45,2.014388489208633
|
||||
46,1010,983,27,0,7,97.33,2.488118811881188
|
||||
47,261,237,24,0,2,90.8,2.256704980842912
|
||||
48,158,134,24,0,1,84.81,2.2025316455696204
|
||||
49,121,100,21,0,1,82.64,2.0661157024793386
|
||||
50,125,103,22,0,1,82.4,2.208
|
||||
51,154,131,23,0,1,85.06,2.0259740259740258
|
||||
52,126,103,23,0,1,81.75,2.0952380952380953
|
||||
53,141,118,23,0,1,83.69,2.00709219858156
|
||||
54,153,130,23,0,1,84.97,2.111111111111111
|
||||
55,131,109,22,0,1,83.21,2.16793893129771
|
||||
56,409,383,26,0,3,93.64,2.3056234718826407
|
||||
57,132,110,22,0,1,83.33,1.9166666666666667
|
||||
58,415,390,25,0,3,93.98,2.2409638554216866
|
||||
59,141,118,23,0,1,83.69,1.8794326241134751
|
||||
60,152,128,24,0,1,84.21,2.1052631578947367
|
||||
61,123,100,23,0,1,81.3,1.9024390243902438
|
||||
62,240,216,24,0,2,90.0,2.225
|
||||
63,132,110,22,0,1,83.33,1.9393939393939394
|
||||
64,133,110,23,0,1,82.71,2.045112781954887
|
||||
65,302,276,26,0,2,91.39,2.218543046357616
|
||||
66,127,105,22,0,1,82.68,1.937007874015748
|
||||
67,134,111,23,0,1,82.84,2.1940298507462686
|
||||
68,100,78,22,0,1,78.0,2.08
|
||||
69,151,128,23,0,1,84.77,2.2980132450331126
|
||||
70,133,109,24,0,1,81.95,1.9548872180451127
|
||||
71,139,117,22,0,1,84.17,2.2014388489208634
|
||||
72,108,86,22,0,1,79.63,1.9259259259259258
|
||||
73,140,116,24,0,1,82.86,1.9
|
||||
74,157,133,24,0,1,84.71,2.1656050955414012
|
||||
75,133,110,23,0,1,82.71,2.2706766917293235
|
||||
76,132,110,22,0,1,83.33,2.121212121212121
|
||||
77,380,354,26,0,3,93.16,2.471052631578947
|
||||
78,139,118,21,0,1,84.89,2.035971223021583
|
||||
79,145,122,23,0,1,84.14,2.0827586206896553
|
||||
80,259,234,25,0,2,90.35,2.2664092664092665
|
||||
81,31960,31933,27,0,241,99.92,2.046589486858573
|
||||
82,380,355,25,0,3,93.42,2.305263157894737
|
||||
83,126,104,22,0,1,82.54,1.8968253968253967
|
||||
84,135,113,22,0,1,83.7,2.140740740740741
|
||||
85,249,224,25,0,2,89.96,2.3293172690763053
|
||||
86,519,493,26,0,4,94.99,2.250481695568401
|
||||
87,413,387,26,0,3,93.7,2.1598062953995156
|
||||
88,271,246,25,0,2,90.77,2.1549815498154983
|
||||
89,2027,2000,27,0,15,98.67,2.3739516526887026
|
||||
90,129,107,22,0,1,82.95,2.062015503875969
|
||||
91,406,381,25,0,3,93.84,2.2610837438423643
|
||||
92,139,115,24,0,1,82.73,2.172661870503597
|
||||
93,677,651,26,0,5,96.16,2.3943870014771047
|
||||
94,136,113,23,0,1,83.09,1.9779411764705883
|
||||
95,152,128,24,0,1,84.21,2.210526315789474
|
||||
96,904,877,27,0,7,97.01,2.424778761061947
|
||||
97,392,366,26,0,3,93.37,2.326530612244898
|
||||
98,136,114,22,0,1,83.82,2.1838235294117645
|
||||
99,243,219,24,0,2,90.12,2.1893004115226335
|
||||
100,272,247,25,0,2,90.81,2.1654411764705883
|
||||
|
@@ -1,101 +0,0 @@
|
||||
obj_id,hit_rate,avg_age
|
||||
1,0.8308823529411765,2.504424778761062
|
||||
2,0.841726618705036,2.5982905982905984
|
||||
3,0.8410596026490066,2.1811023622047245
|
||||
4,0.935064935064935,2.5805555555555557
|
||||
5,0.8296296296296296,2.169642857142857
|
||||
6,0.823076923076923,2.2149532710280373
|
||||
7,0.8294573643410853,2.6261682242990654
|
||||
8,0.8270676691729323,2.5090909090909093
|
||||
9,0.8333333333333334,2.536363636363636
|
||||
10,0.8141592920353983,2.5434782608695654
|
||||
11,0.9100719424460432,2.280632411067194
|
||||
12,0.8174603174603174,2.4563106796116503
|
||||
13,0.8203125,2.5714285714285716
|
||||
14,0.8571428571428571,2.5476190476190474
|
||||
15,0.8248175182481752,2.433628318584071
|
||||
16,0.8130081300813008,2.22
|
||||
17,0.899581589958159,2.5209302325581397
|
||||
18,0.837037037037037,2.566371681415929
|
||||
19,0.8225806451612904,2.627450980392157
|
||||
20,0.9053030303030303,2.4769874476987446
|
||||
21,0.8145161290322581,2.594059405940594
|
||||
22,0.9097472924187726,2.1587301587301586
|
||||
23,0.8267716535433071,2.4285714285714284
|
||||
24,0.987221959299574,2.487535953978907
|
||||
25,0.9114391143911439,2.445344129554656
|
||||
26,0.8253968253968254,2.25
|
||||
27,0.85625,2.72992700729927
|
||||
28,0.8114754098360656,2.5555555555555554
|
||||
29,0.9661458333333334,2.6132075471698113
|
||||
30,0.9101123595505618,2.707818930041152
|
||||
31,0.9076923076923077,2.5635593220338984
|
||||
32,0.8267716535433071,2.3523809523809525
|
||||
33,0.8320610687022901,2.2752293577981653
|
||||
34,0.8222222222222222,2.4774774774774775
|
||||
35,0.9338624338624338,2.492917847025496
|
||||
36,0.9362745098039216,2.3717277486910993
|
||||
37,0.8099173553719008,2.5
|
||||
38,0.8345323741007195,2.4310344827586206
|
||||
39,0.910394265232975,2.5826771653543306
|
||||
40,0.9551724137931035,2.4711191335740073
|
||||
41,0.9094202898550725,2.4741035856573705
|
||||
42,0.8473282442748091,2.5225225225225225
|
||||
43,0.935064935064935,2.5416666666666665
|
||||
44,0.9623188405797102,2.3840361445783134
|
||||
45,0.8345323741007195,2.413793103448276
|
||||
46,0.9732673267326732,2.5564598168870805
|
||||
47,0.9080459770114943,2.4852320675105486
|
||||
48,0.8481012658227848,2.5970149253731343
|
||||
49,0.8264462809917356,2.5
|
||||
50,0.824,2.679611650485437
|
||||
51,0.8506493506493507,2.381679389312977
|
||||
52,0.8174603174603174,2.563106796116505
|
||||
53,0.8368794326241135,2.3983050847457625
|
||||
54,0.8496732026143791,2.4846153846153847
|
||||
55,0.8320610687022901,2.6055045871559632
|
||||
56,0.9364303178484108,2.462140992167102
|
||||
57,0.8333333333333334,2.3
|
||||
58,0.9397590361445783,2.3846153846153846
|
||||
59,0.8368794326241135,2.2457627118644066
|
||||
60,0.8421052631578947,2.5
|
||||
61,0.8130081300813008,2.34
|
||||
62,0.9,2.4722222222222223
|
||||
63,0.8333333333333334,2.327272727272727
|
||||
64,0.8270676691729323,2.4727272727272727
|
||||
65,0.9139072847682119,2.427536231884058
|
||||
66,0.8267716535433071,2.342857142857143
|
||||
67,0.8283582089552238,2.6486486486486487
|
||||
68,0.78,2.6666666666666665
|
||||
69,0.847682119205298,2.7109375
|
||||
70,0.8195488721804511,2.385321100917431
|
||||
71,0.841726618705036,2.6153846153846154
|
||||
72,0.7962962962962963,2.4186046511627906
|
||||
73,0.8285714285714286,2.293103448275862
|
||||
74,0.8471337579617835,2.556390977443609
|
||||
75,0.8270676691729323,2.7454545454545456
|
||||
76,0.8333333333333334,2.5454545454545454
|
||||
77,0.9315789473684211,2.652542372881356
|
||||
78,0.8489208633093526,2.3983050847457625
|
||||
79,0.8413793103448276,2.4754098360655736
|
||||
80,0.9034749034749034,2.5085470085470085
|
||||
81,0.9991551939924906,2.0483199198321485
|
||||
82,0.9342105263157895,2.4676056338028167
|
||||
83,0.8253968253968254,2.298076923076923
|
||||
84,0.837037037037037,2.5575221238938055
|
||||
85,0.8995983935742972,2.5892857142857144
|
||||
86,0.9499036608863198,2.369168356997972
|
||||
87,0.937046004842615,2.304909560723514
|
||||
88,0.9077490774907749,2.3739837398373984
|
||||
89,0.986679822397632,2.406
|
||||
90,0.8294573643410853,2.485981308411215
|
||||
91,0.9384236453201971,2.409448818897638
|
||||
92,0.8273381294964028,2.626086956521739
|
||||
93,0.9615952732644018,2.490015360983103
|
||||
94,0.8308823529411765,2.3805309734513274
|
||||
95,0.8421052631578947,2.625
|
||||
96,0.9701327433628318,2.4994298745724057
|
||||
97,0.9336734693877551,2.4918032786885247
|
||||
98,0.8382352941176471,2.6052631578947367
|
||||
99,0.9012345679012346,2.4292237442922375
|
||||
100,0.9080882352941176,2.3846153846153846
|
||||
|
Binary file not shown.
Binary file not shown.
@@ -1,9 +0,0 @@
|
||||
,hit_rate,avg_age
|
||||
count,100.0,100.0
|
||||
mean,0.8689161003980432,2.469801316710304
|
||||
std,0.05362014513420393,0.13549611807744597
|
||||
min,0.78,2.0483199198321485
|
||||
25%,0.8270676691729323,2.3846153846153846
|
||||
50%,0.841726618705036,2.4849237260629664
|
||||
75%,0.9100820467221729,2.5632199275958536
|
||||
max,0.9991551939924906,2.7454545454545456
|
||||
|
@@ -1,17 +0,0 @@
|
||||
# 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.
|
||||
@@ -1,8 +0,0 @@
|
||||
| | avg_ages |
|
||||
|:-----|-----------:|
|
||||
| 0.5s | 0.240582 |
|
||||
| 1.0s | 0.497634 |
|
||||
| 2.0s | 1.00349 |
|
||||
| 3.0s | 1.47952 |
|
||||
| 4.0s | 1.96624 |
|
||||
| 5.0s | 2.4698 |
|
||||
@@ -1,8 +0,0 @@
|
||||
| | hit_rates |
|
||||
|:-----|------------:|
|
||||
| 0.5s | 0.45867 |
|
||||
| 1.0s | 0.619674 |
|
||||
| 2.0s | 0.769815 |
|
||||
| 3.0s | 0.790693 |
|
||||
| 4.0s | 0.846161 |
|
||||
| 5.0s | 0.868916 |
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 38 KiB |
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user