Giter VIP home page Giter VIP logo

Comments (10)

JiayuZzz avatar JiayuZzz commented on August 19, 2024

@yiwu-arbug @Connor1996

from titan.

yiwu-arbug avatar yiwu-arbug commented on August 19, 2024

Interesting finding. I misunderstood what bottom-pri mean. I thought it's kind of a lowest-pri threadpool where bottommost level will use the normal low-pri pool if the bottom-pri pool is fully utilized.

from titan.

Connor1996 avatar Connor1996 commented on August 19, 2024

@yiwu-arbug How about using Priority::USER instead for Titan GC?

from titan.

Connor1996 avatar Connor1996 commented on August 19, 2024

Seems we can leverage the bottom-pri pool to reduce the write stall possibility when level-merge/range-merge enabled. See facebook/rocksdb#3835

Also, I'm curious how you find this problem. As expected, we will disable Titan background GC when level-merge enabled.

from titan.

JiayuZzz avatar JiayuZzz commented on August 19, 2024

Also, I'm curious how you find this problem. As expected, we will disable Titan background GC when level-merge enabled.

Because I found max_background_gc will influence space amplification significanttly (very!) even if BackgroundGCCall is bypassed by level_merge, same as actual size ratio among LSM-Tree levels.

from titan.

JiayuZzz avatar JiayuZzz commented on August 19, 2024

@yiwu-arbug How about using Priority::USER instead for Titan GC?

I have tried, I think it's ok.

from titan.

yiwu-arbug avatar yiwu-arbug commented on August 19, 2024

@yiwu-arbug How about using Priority::USER instead for Titan GC?

Let's do that for now.

from titan.

Connor1996 avatar Connor1996 commented on August 19, 2024

Because I found max_background_gc will influence space amplification significantly (very!) even if BackgroundGCCall is bypassed by level_merge, same as actual size ratio among LSM-Tree levels.

Wait a minute. When Titan background GC is disabled, the BOTTOM is not set no matter what's the value of max_background_gc. why it will influence still?

from titan.

JiayuZzz avatar JiayuZzz commented on August 19, 2024

Because I found max_background_gc will influence space amplification significantly (very!) even if BackgroundGCCall is bypassed by level_merge, same as actual size ratio among LSM-Tree levels.

Wait a minute. When Titan background GC is disabled, the BOTTOM is not set no matter what's the value of max_background_gc. why it will influence still?

we did not disable GC, just bypassed MaybeScheduleGC() call after compactoin.

from titan.

Connor1996 avatar Connor1996 commented on August 19, 2024

oh, so you didn't set disable_background_gc explicitly. got it.

from titan.

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.