Code Monkey home page Code Monkey logo

Comments (2)

zamazan4ik avatar zamazan4ik commented on June 11, 2024 1

Thanks a lot for your comment!

It is fair to say though that having a generalized memtier run on a bunch of different commands might lead to some generalized performance improvements so I will definitely give it a try.

Even if it doesn't bring a "generalized" improvement, it can bring a higher improvement on one specific workload. It's still a good result for some users. E.g. in this case they could estimate that for some specific workload, Cachegrand could be optimized further with PGO. Even if in this case you cannot provide an optimized binary to your users - they would be able to do PGO optimization on their own workload, based on PGO notes from Cachegrand documentation.

from cachegrand.

danielealbano avatar danielealbano commented on June 11, 2024

Hi @zamazan4ik,

Yes, PGO is a very interesting topic, in cachegrand we do a fair amount of manual optimizations unrolling loops and using ad-hoc attributes to optimize the branching of the hot path but of course it can really help a lot to do it.

The issue though is that cachegrand codebase tries to minimize the branching in the hotpath, favouring small hashtables, and most of the time is spent during I/O on the kernel side.

It is fair to say though that having a generalized memtier run on a bunch of different commands might lead to some generalized performance improvements so I will definitely give it a try.

Thanks for bringing it up!

from cachegrand.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.