Giter Site home page Giter Site logo

Improve small-file performance about go-fuse HOT 3 CLOSED

hanwen avatar hanwen commented on August 25, 2024
Improve small-file performance

from go-fuse.

Comments (3)

rfjakob avatar rfjakob commented on August 25, 2024

Memory profile: mem.pdf

I will try to implement a sync.Pool for fuse/nodefs.(*Inode).NewChild unless you see another way.

from go-fuse.

hanwen avatar hanwen commented on August 25, 2024

I'm suspicious of this explanation, but if you want to try and benchmark,
be my guest.

On Sun, Jan 10, 2016 at 7:34 PM rfjakob [email protected] wrote:

Memory profile: mem.pdf
https://github.com/hanwen/go-fuse/files/85117/mem.pdf

I will try to implement a sync.Pool fuse/nodefs.(*Inode).NewChild unless
you see another way.


Reply to this email directly or view it on GitHub
#90 (comment).

from go-fuse.

rfjakob avatar rfjakob commented on August 25, 2024

Indeed that was not the reason. It was just a typo that caused half of the read buffers not to be returned to readPool, please check pull request #91.

The memory profile with --alloc_space clearly showed the problem, the earlier memory profile I posted is actually irrelevant.

from go-fuse.

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.