GithubHelp home page GithubHelp logo

Comments (7)

onlyjob avatar onlyjob commented on July 29, 2024

I only used EnhanceIO for read caching (safe).
For write caching I would use dm-writeboost which is more robust.

from enhanceio.

samuelxhu avatar samuelxhu commented on July 29, 2024

@onlyjob Very interesting information. Just wonder whether or not you still use EnhanceIO for read cache, because AFAIK dm-writeboot can be configured as combined read-and-write cache as well.

Should i focus on dm-writeboost only, or still there is a good reason for EnhanceIO as read cache?

from enhanceio.

onlyjob avatar onlyjob commented on July 29, 2024

I don't use EnhanceIO any more. I found read performance acceptable once write stress is relieved by dm-writeboost or by ext4 external journal. Also in context of distributed parallel storage read caching is not very effective due to highly randomised access...

from enhanceio.

samuelxhu avatar samuelxhu commented on July 29, 2024

@onlyjob I just looked around by googling but not able to find much information on dm-writeboost. Thus i turn to you for further clarification.

  1. In your view, is dm-writeboost stable enough for production? I see it use rambuf to aggregate multiple writes before flushing to SSD, so it relies much on the correctness of barrier/flush commands from the upper software layer, otherwise there may be data loss, right?
  2. Do you use dm-writeboost in production your self? for howlong? It says quite a lot when there are actual use cases.

I have a production of two Gluster nodes with HDDs, now I plan to add SSDs to boost the overall performance.

from enhanceio.

onlyjob avatar onlyjob commented on July 29, 2024
  1. Yes, I believe dm-writeboost is mature enough for production.
    I think author of dm-writeboost is better qualified to answer design questions than me.

  2. It trust dm-writeboost and I use it in production. I could not build enough confidence in (almost) unmaintained EnhanceIO to rely on it. I believe dm-writeboost is more robust and it is well maintained. I've been using dm-writeboost ever since its first release. There were only few issues in earlier versions that appears to be all fixed.

I use dm-writeboost with RAM disk as caching devices.
As for Gluster I do not trust it due to lack of integrity checks...

from enhanceio.

lanconnected avatar lanconnected commented on July 29, 2024

Hi!
We are using enhanceio in writeback mode for more than a year in production. There were some stability issues hopefully resolved now, and we've never lost any data even after power losses/hard resets. We will support this branch and try to address any reported problem, but only for RHEL6/RHEL7 and OpenVZ kernels for now. dm-writeboost vs enhanceio discussion is probably out of topic here, they both have their pros and cons. If you use and enhanceio compiled from this fork and have any problem, please file the issue here, any feedback is welcome.

from enhanceio.

samuelxhu avatar samuelxhu commented on July 29, 2024

@lanconnected This is great. Thanks a lot.

from enhanceio.

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.