dasebe / webcachesim

A C++11 simulator for a variety of CDN caching policies.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Not the expected results

nicktgr15 opened this issue · comments

Hi,

I'm using the tool with the same warmup and traceFile with a very big number for the cacheSizeBytes and I would expect to see an object hit ration of 1.0. However I get something around to 0.37. How is this explained? (using LRU)

Cheers,
Nik

Hi Nik,
are you using one of the trace files from webcachesim, or another trace file? If you provide me with a small trace file to reproduce this behavior, I'm happy to find the cause.

While there can be bugs, there can also be other reasons for low hit ratios, e.g., "one-hit-wonders": objects that are only ever requested once and thus lead to cache misses even if the cache size were infinity.

Daniel

Oh and can you post the exact call parameters you are using? It could also be that my documentation is faulty.

Can someone reproduce this issue?