facebook / CacheLib

Pluggable in-process caching engine to build and scale high performance services
https://www.cachelib.org
Apache License 2.0
1.18k stars 256 forks source link

Profiling cachelib hotspots #253

Closed anirbannag closed 1 month ago

anirbannag commented 1 year ago

How can we profile cachelib for hotspots? Since the application is spawning both server and client threads, how to know which thread to profile? Some test configs also have multiple reader-writer server threads, so in that case how to know which are server threads?

vinser52 commented 1 year ago

you can try to use Intel VTune. It will provide you with insights about each particular thread.