Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Recommended tools for replay #7

Open
ZiyangJiao opened this issue Oct 10, 2022 · 5 comments
Open

Recommended tools for replay #7

ZiyangJiao opened this issue Oct 10, 2022 · 5 comments

Comments

@ZiyangJiao
Copy link

Hi,

Thanks for the exciting work and traces.

I wonder if you can recommend a tool to replay these traces.

Thank you so much for your insights and time!

@Jeongseob
Copy link

Hi,

AFAIK, Segcache can replay the traces for evaluating the caching strategies. However, it doesn't seem like the tool takes into account the inter-arrival rate between requests.

I am wondering whether there is a client-side load generator replaying the traces so that we can mimic the real-world scenarios .

Thanks!

@cristina-abad
Copy link

We needed this functionality in the past (replay of traces with interarrival information) and implemented a tool based on YCSB for this. The fork is a bit old, but a student was able to use it with a more recent version of YCSB with just some minor changes, so this may work for you too. Our tool is called KV-replay and you can find the code here: https://github.com/disel-espol/KV-replay
And the paper is here: https://ieeexplore.ieee.org/document/7923801/

@ZiyangJiao
Copy link
Author

We needed this functionality in the past (replay of traces with interarrival information) and implemented a tool based on YCSB for this. The fork is a bit old, but a student was able to use it with a more recent version of YCSB with just some minor changes, so this may work for you too. Our tool is called KV-replay and you can find the code here: https://github.com/disel-espol/KV-replay And the paper is here: https://ieeexplore.ieee.org/document/7923801/

Thanks a lot. I wonder if there is a sample trace file for KV-replay so users can know the format? It seems that the one used in example is not included in the repository:

(workload-replay_example-tracefile.dat).

Thanks!

@1a1a11a
Copy link
Contributor

1a1a11a commented Oct 11, 2022

Hi,

Thanks for the exciting work and traces.

I wonder if you can recommend a tool to replay these traces.

Thank you so much for your insights and time!

The replay tool varies depends on the use case, as @Jeongseob has pointed out, if you plan to evaluate the efficiency of an eviction algorithm, try libCacheSim (https://github.com/1a1a11a/libCacheSim), if you need to evaluate efficiency and throughput, Segcache is the option, if you need to evaluate tail latency or replay the trace in wall clock time (takes weeks to replay), then you can try the tools recommended by @cristina-abad (I haven't used it so cannot comment on it) or write your own.

@cristina-abad
Copy link

@ZiyangJiao I believe the paper has all the details you need, but we just uploaded a sample trace in our repo (https://github.com/disel-espol/KV-replay/blob/master/workloads/workload-rpYoutube-012908-withTimestamp-withSizes-1000.dat). As @1a1a11a said, our tool may or may not work for you. Each use case is specific. KVreplay is completely based on YCSB, so I suggest reading about YCSB before trying to use KVreplay. Any further questions about our tool are best addressed in our own repo, not here (or by email to cabadr at espol.edu.ec). We have not used KVreplay with the Twitter traces yet, but it is something we'd like to do in the future and this is why I was subscribed/watching this repo.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants